(shared solution) load scripts and styles only if there is shortcode dopts Status:

Home Forums Thumbnail Scroller (WordPress Plugin) (shared solution) load scripts and styles only if there is shortcode dopts

This topic is: not a support question

This topic contains 1 reply, has 2 voices, and was last updated by  Oana 3 years, 2 months ago.

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

  • I don’t know if this solution is perfect, but it works for me like a charme

    Dopts needs many scripts and styles and this is slowing down sites so I figured out to load scripts and styles only if there is a shortcode at content
    Attention: if you are using a widget or the function “do shortcode” my solution can’t work..

    in your theme function or use a module for the plugin Toolbox ( or similiar plugins)

    folks are welcome

    kindly regards
    Monika



    Oana Support Team #11388

    Hello,

    I’m glad you found the solution and shared it with us. If you have any other questions don’t hesitate to contact us.

    Thank you.


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

The topic (shared solution) load scripts and styles only if there is shortcode dopts is closed to new replies.