Mobile Menu broken with Download Manager Plugin
-
Hi
The Graphene Theme is really great but I recently found a problem in the mobile presentation: when displayed on a mobile device, the menu does not expand, only the main menu items are visible.
I checked it with the plugins installed and the result was that the “Download Manager” (https://de.wordpress.org/plugins/download-manager/) is the cause for the broken menu.Is there any chance to fix this bug in the Graphene theme? I have quite a lot of files linked with the Download Manager, would be some kind of pain to transfer them to another plugin.
Btw: the site is https://www.wernetshausen.ch
Thanks
ChrisAdminThanks for the report. We’ll include the fix in the next theme update.
In the mean time, you can apply the fix by replacing all content in the theme’s file
graphene/inc/compat.php
with the following code:<?php if ( ! function_exists( 'the_remaining_content' ) ) : /** * the_remaining_content() added in WP 3.6 * * @package Graphene * @since 1.9 */ function the_remaining_content(){ the_content(); } endif; /** * Bootstrap conflict with other plugins */ function graphene_compat_scripts(){ /* Don't enqueue Bootstrap as we've already included it */ if ( function_exists( 'wpbc_plugin_url' ) ) { wp_dequeue_script( 'wpdevelop-bootstrap' ); wp_dequeue_script( 'wpbc-wpdevelop-bootstrap' ); wp_enqueue_script( 'wpbc-wpdevelop-bootstrap', wpbc_plugin_url( '/js/wpbc_bs_no_conflict.js' ), array( 'bootstrap' ) ); } wp_dequeue_script( 'wpdm-bootstrap' ); } add_action( 'wp_print_scripts', 'graphene_compat_scripts' ); function graphene_compat_styles(){ /* Don't enqueue Bootstrap as we've already included it */ wp_dequeue_style( 'wpdevelop-bts' ); wp_dequeue_style( 'wpdm-bootstrap' ); } add_action( 'wp_print_styles', 'graphene_compat_styles' );
I had a similar problem on my website. I have solved the problem by deleting the bootstrap .js files of the plugin. the code above did not solve the problem. Did your friend solve the problem? I wonder.
AdminThe code I posted above is specific for the WP Download Manager plugin, and the previously reported Booking Calendar plugin. We might be going another route to solve this issue for most of the plugins in the next update.
Thank you for your interest. The name of the app that caused the conflict on my website is Easy Appointments.
http://www.egesumer.comAdmin@raoz, in the next theme update we’ll include a more robust compatibility check for this, so you won’t need to manually delete the plugin’s script after every update.
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.