• The plugin should conditionally load css and javascript based on the options selected in the admin.

    For example:

    Show in Home:Displays related post in the home? Off

    If this is turned off, the css/js should not load on the homepage. It also should not load on any post types that aren’t selected in the admin.

    https://ww.wp.xz.cn/plugins/yuzo-related-post/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor ilenstudio

    (@ilenstudio)

    Hi , ok we will improve this option in the PRO version of the plugin, will soon be released

    Plugin Contributor ilenstudio

    (@ilenstudio)

    Hi, I was more carefully reviewing this request, there are people put Yuzo Widget to be displayed on the homepage, then would have to load the js and css to avoid problems.

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

The topic ‘Conditionally loading scripts /css’ is closed to new replies.