• Resolved gnujach

    (@gnujach)


    !!Hi, Excelent plugins.
    How can load script.js and css of the plugins only when my page is any category?
    functions.php not support (is_category)
    Thank advance!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @gnujach,
    Thank! The JS is only loaded when the shortcode is present on a page and the CSS can be disabled on the plugin settings screen. You can then just include the script in your own enqueue function or directly in your site styles.

    Hope that helps.

    Thread Starter gnujach

    (@gnujach)

    @dcooney, very thank!!

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

The topic ‘Load script only in category’ is closed to new replies.