I have a “showcase” page that has a Masonry Galery with a Load More function. When clicking on that, new images are loaded.
The initial ones have the wp-content info hidden by the plugin, but the new ones loaded don’t.
Is there a way to keep hidding the links accordingly ?
Hi, I checked it and that’s because the images are loaded later via Ajax, and in such case HMWP cannot rename the default WP path. The only way you could rename such paths is by manually renaming the path in the code that loads these images.
thank you for your prompt reply.
i ended up checking the template and doing a hardcoded “str_replace” of wp-content by the path i setup, it seems to works for now.
ideally i would prefere to make it better by doing something like :
would you happen to know if the two variables HYDEMYWP_PLUGIN_is_active and HYDEMYWP_CONFIG_MEDIAS_PATH are something easy to find and to use in a theme like hooks, or it doesnt really work like that ?