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

Allow customization of post-template block markup #61738

Open
allysonsouza opened this issue May 16, 2024 · 0 comments
Open

Allow customization of post-template block markup #61738

allysonsouza opened this issue May 16, 2024 · 0 comments
Labels
[Block] Post Template Affects the Post Template Block [Feature] Extensibility The ability to extend blocks or the editing experience [Type] Enhancement A suggestion for improvement.

Comments

@allysonsouza
Copy link

What problem does this address?

While developing a custom posts listing section, sometimes we don't want or it's not correct to display it as an unordered list. For example, I'm facing a scenario on a project where I want to display each post entry as a row on a table, and it's not easy to filter/modify the <ul>/<li> markup being generated by post-template block.

What is your proposed solution?

I think some filters to determine wrapper_element/items_element could be helpful into the post-template/index.php

@allysonsouza allysonsouza added the [Type] Enhancement A suggestion for improvement. label May 16, 2024
@jordesign jordesign added the [Block] Post Template Affects the Post Template Block label May 16, 2024
@gziolo gziolo added the [Feature] Extensibility The ability to extend blocks or the editing experience label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Template Affects the Post Template Block [Feature] Extensibility The ability to extend blocks or the editing experience [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants