• Resolved Stephen

    (@stephenk96)


    Hello,

    I am trying to conditionally load the YMC scripts/styles so that they only load on pages where the filter and grids are being used.

    I didn’t see a setting for this, but I did find the script handles. I noticed that the handles include numbers and letters at the end. Will these handles ever change?

    Any guidance or clarification would be appreciated. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YMC

    (@wssoffice21)

    Hello!
    Installing the plugin includes the necessary scripts and styles for the plugin to function. These resources are included globally and are used on all pages of the site. The plugin does not allow individual resource inclusion on a specific page of the site.

    • This reply was modified 1 month, 2 weeks ago by YMC.
    Thread Starter Stephen

    (@stephenk96)

    I was wondering, if I try to conditionally load the scripts myself using “wp_dequeue_script(”);”, would the name of the handle ever change? Is that a good idea?

    Plugin Author YMC

    (@wssoffice21)

    You are free to use different implementation methods for including scripts. However, please note that if you attempt to modify the code within the plugin’s core, subsequent updates will overwrite all your changes. Therefore, we do not recommend doing this.

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

You must be logged in to reply to this topic.