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

Remove conditional_template_part function #289

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

ryelle
Copy link
Contributor

@ryelle ryelle commented Feb 4, 2022

This was added in #88, but I don't think it was ever used. I checked through all the slugs in templates and I don't see anything using this format.

I think it's an attempt to have dynamic template parts, but it would be better to wait for native gutenberg support, see WordPress/gutenberg#32939 (and now I see @tellyworth commented with this exact function).

@ryelle ryelle self-assigned this Feb 4, 2022
@ryelle ryelle merged commit cee7862 into trunk Feb 7, 2022
@ryelle ryelle deleted the remove/conditional-template-part branch February 7, 2022 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants