• Hi,

    I am new to wp cloudy and wordpress.
    I use wp cloudy on 1 page on my site but the javascript /wp-content/plugins/wp-cloudy/js/wp-cloudy-ajax.js?ver=4.7.3 and the css file /wp-content/plugins/wp-cloudy/css/wpcloudy.min.css?ver=4.7.3 is loaded on every page.

    I guess this is not needed ?
    Where in WordPress can I configure it only to loadd the files on the page where the plugin is used ?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    if you find a way to properly detect the use of the WPCloudy shortcode in your page, I’ll really appreciate it if you can communicate it to me.

    Else, I need to load these files everywhere.

    Thanks!

    Thread Starter hugowachters

    (@hugowachters)

    Thanks for your message.

    I was just wondering because I see several plugins where the css and/or javascript is only loaded on pages where the plugin is loaded.

    Like I mentioned, I am onfurtantely new to WOrdpress so I am not at the level of developing.

    Is there another way, by example to edit the code of your plugin on my site only so I can check if the page is my specific page and then only load tte css and javascript ?
    If yes, what code will I need to add ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘css and javascript loaded on every page’ is closed to new replies.