Support » Plugin: Genesis Simple Share » Show on post only, still loads on nearly all pages

  • inkbiegel

    (@inkbiegel)


    Hi,

    In the settings I’ve only enabled Simple Share for posts. My expectation was that the plugin would only load on single blog posts to show the share buttons.
    While the share buttons do, in fact, only show up on single blog posts, your plugin CSS and JS files are loaded on every page except the front and posts page.

    That can’t be right, can it?

    Edit: Ok, I’ve found the is_archive() filter and it’s easy enough to return true if is_single() is false, but it still doesn’t make much sense to me..

    • This topic was modified 5 years ago by inkbiegel.
  • The topic ‘Show on post only, still loads on nearly all pages’ is closed to new replies.