We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems like the plugin only loads on the main index template. It would be great to have it load on all templates with matching selectors.
The text was updated successfully, but these errors were encountered:
The only check which is done when starting the plugin is the "is_single()" return value (to not load the plugin on "single post" pages)
Have you more information about that? On which page do you want to load the plugin?
Sorry, something went wrong.
That's the culprit. It's actually is_singular() which prevents it loading on pages as well. I've changed it to is_single() to fix my problem. Thanks!
I'm not sure to understand. Do I need to change something on the plugin ? Or is it ok ?
If you want the plugin to load on normal pages, you need to change is_singular() to is_single(). The latter will prevent loading only on single posts.
is_singular()
is_single()
http://codex.wordpress.org/Function_Reference/is_singular http://codex.wordpress.org/Function_Reference/is_single
No branches or pull requests
It seems like the plugin only loads on the main index template. It would be great to have it load on all templates with matching selectors.
The text was updated successfully, but these errors were encountered: