Skip to content
New issue

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

Add support for conditional tags #135

Open
sheabunge opened this issue Jul 5, 2022 · 1 comment
Open

Add support for conditional tags #135

sheabunge opened this issue Jul 5, 2022 · 1 comment

Comments

@sheabunge
Copy link
Member

sheabunge commented Jul 5, 2022

One feature we have requested pretty often is the ability to choose exactly when a snippet is evaluated. This could encompass both where (i.e., post type, page type, etc) and when (logged in, administrator, specific users, etc).

While this can be easily achieved by including conditional tags in Functions snippets, it seems that people would find an interface control helpful, and it would be especially useful for snippets that don't allow for PHP code (CSS/JS snippets).

Originally raised here: #95

@nowrds
Copy link

nowrds commented Oct 16, 2022

It's really annoying to add code snippets to individual pages, posts, etc. because you always have to edit them there and have no overview or control in the plugin itself. Conditionally adding snippets within the plugin in a clear interface is a must.

@sheabunge sheabunge self-assigned this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants