Global Gallery conflict

Hi,

I was using the Be theme with the plugin called Global Gallery. There is an option in Global Gallery to override the standard WP galleries. A few Be versions before this was working - having this option turned on all the standard galleries across the site were using the global gallery layout.

I'm not sure if it's because of an update, but this is not working anymore. The author of Global Gallery wrote the following:

"it might be caused by the theme overriding my system. After all to manage WP galleries developers must use a single filter.

If you are able to edit a simple line of php, give a try

wp_gallery_manag.php file - change line 306

add_filter('post_gallery', 'gg_wp_gallery_manag_frontend', 9999, 2);

If doesn't solve, you should ask about it to the theme developer,"


It did not solve my issue. I'd like to have your input as well on this problem of mine. Do you happen to know what is causing this behavior? What could I test further?

I tend to think that the problem appeared after an upgrade of the Be theme.


Thank you for the assistance,

-Balazs

Comments

  • Hi,

    this happen because we added styles for galleries. Since last update you can use galleries with grey scale effect and that`s why after this modifications, it does not work. However if you want to go back to previous settings, you must follow steps below but also must know that you won`t be able to use our built-in styles for galleries.

    To go back to previous gallery settings, in functions/theme-shortcodes.php file, please remove below code:
    // replace WP shortcode --------------------
    remove_shortcode( 'gallery' );
    add_shortcode( 'gallery' , 'sc_gallery' );
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.