Include form and scripts only on desired page
-
How can I include simplemodal code only on desired page without modifying a plugin, so it is future proof?
I know I can modify plugin where it adds filters from
if (!is_admin())
toif (is_page(1))
, but I would like to do it via theme functions, so it does not get deleted when plugin updates…Also I know I can deregister scripts, but really looking for a way to just call all filters just for specific page without changing plugin code…
https://www.ads-software.com/extend/plugins/simplemodal-login/
- The topic ‘Include form and scripts only on desired page’ is closed to new replies.