Title: Customization Issue
Last modified: March 6, 2020

---

# Customization Issue

 *  Resolved [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/)
 * Hello, the plugin was working fine but I noticed that the gallery is not working
   well now.
 * I noticed the data-foogallery is being written incorrectly by the plugin now.
   Here is a screenshot of what the inspector shows: [https://i.imgur.com/HWZxcaO.png](https://i.imgur.com/HWZxcaO.png)
 * Any idea on how to fix it? I’ve uninstalled the plugin, deleted caches, etc. 
   and it still has the issue.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/customization-issue-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/customization-issue-2/page/2/?output_format=md)

 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12519806)
 * Hi [@davidmendesgd](https://wordpress.org/support/users/davidmendesgd/),
 * Are you able to provide a direct link to your website so that we can take a look
   at the page?
 * Would you also please try fully deactivating your caching plugins and testing
   the site in an incognito / secure browser? We have had issues in the past with
   caching plugins changing html parameters without warning and causing things to
   break.
 * If we can have a direct look at your site that would be really helpful in order
   to figure out what’s going on.
 * Thanks in advance,
 * Phill
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12520379)
 * > Would you also please try fully deactivating your caching plugins and testing
   > the site in an incognito / secure browser? We have had issues in the past with
   > caching plugins changing html parameters without warning and causing things
   > to break.
   > > I’ve tried all of those options and none seem to help.
   > > You can view the site here: [https://www.nestapple.com/gallery](https://www.nestapple.com/gallery)
 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12521581)
 * Hi [@davidmendesgd](https://wordpress.org/support/users/davidmendesgd/),
 * Thank you for the link. Looking at your source code there is some significant
   CSS minification / combination going on. This may be interfering with the data-
   foogallery attribute.
 * Would you please temporarily disable CSS minification / combination, clear any
   existing caches and test again to see if this is the cause?
 * Thanks in advance,
 * Phill
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12522466)
 * Hi, thanks for the reply. I’ve done that before and I just did it again however
   it did not fix anything. Any other possible solution?
 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12525840)
 * Hi [@davidmendesgd](https://wordpress.org/support/users/davidmendesgd/),
 * I can still see an active “fvm” cache in your website page source. When you deactivated
   the caching plugins did you check the page source to see if any caching was still
   activate? Did you check your theme to see if it has any built in caching?
 * Do you know which plugin “fvm” relates to? Or if it’s a component of your currently
   installed theme?
 * Thanks in advance,
 * Phill
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12525867)
 * Yes I reactivated after deactivating it proved to not help. FVM stands for the
   Fast Velocity Minify plugin. I have disabled / purged the cache, etc. Nothing
   seems to affect this issue.
 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12529367)
 * Hi [@davidmendesgd](https://wordpress.org/support/users/davidmendesgd/),
 * I’m going to ask our front end expert [@steveush](https://wordpress.org/support/users/steveush/)
   to jump in and take a look at this for you.
 * Steve – are you able to review and comment on this please?
 *  Plugin Author [steveush](https://wordpress.org/support/users/steveush/)
 * (@steveush)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12529477)
 * Hi [@davidmendesgd](https://wordpress.org/support/users/davidmendesgd/) & [@phillcoxon](https://wordpress.org/support/users/phillcoxon/),
 * Although this seems to be a front end issue it actually stems from the PHP code.
   However while I do not do very much PHP development if I remember right this 
   has been caused by a couple things in the past:
 * 1. Themes/plugins override the default output of the [esc_attr](https://developer.wordpress.org/reference/functions/esc_attr/)
   method by hooking into the [attribute_escape](https://developer.wordpress.org/reference/hooks/attribute_escape/)
   filter and then they do not handle the JSON encoding correctly of the `data-foogallery`
   attribute.
    2. Caching/minifying plugins that store and alter the page output
   not correctly handling the JSON encoding of the `data-foogallery` attribute during
   minification of the page HTML.
 * I’ll tag in [@bradvin](https://wordpress.org/support/users/bradvin/) though as
   he is our PHP developer and should be able to help you out with this issue better
   than I can.
 * Thanks
    Steve
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12529676)
 * Thanks for the responses, I appreciate it.
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12533952)
 * hi [@davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * Steve was correct, when we have seen these encoding issues in the past, it has
   been a plugin or theme that is interfering with the way WP outputs/renders.
 * Can you try to deactivate the FVM plugin and see if that solves the problem. 
   If so, then at least we know where the conflict is and I can investigate further
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12533973)
 * Okay, I have disabled the plugin.
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12534035)
 * Did the gallery show correctly after you disabled the FVM plugin?
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12534049)
 * Sorry but no it is still the same.
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12534069)
 * I had a look at your gallery in Chrome on windows and it is showing correctly:
   [https://www.nestapple.com/gallery/](https://www.nestapple.com/gallery/)
 * What is the problem you are seeing?
 *  Thread Starter [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * (@davidmendesgd)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/#post-12534113)
 * The pagination and other settings in the foo data dont work.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/customization-issue-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/customization-issue-2/page/2/?output_format=md)

The topic ‘Customization Issue’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 19 replies
 * 4 participants
 * Last reply from: [davidmendesgd](https://wordpress.org/support/users/davidmendesgd/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/customization-issue-2/page/2/#post-12542268)
 * Status: resolved