-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Enhancement
Copy link
Labels
[Block] Terms QueryAffects the Terms Query BlockAffects the Terms Query Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
Description
When using the Terms Query block, there doesn’t seem to be a way to use a Read More block or a Button block inside the term template that links to the current term’s permalink.
In a regular Query Loop for posts, the Read More block automatically links to the post permalink (or can be set to “Post link”). Inside a Terms Query → Term Template, the same pattern doesn’t seem possible: the Read More block doesn’t expose a way to use the term permalink, and the Button block also doesn’t have a dynamic “term link” option.
So at the moment I can show Term Name and Term Description, but I can’t add a CTA inside the loop that links to the term archive page.
Step-by-step reproduction instructions
- Start a new site (tested with WordPress Playground).
- Make sure you have some taxonomy terms, e.g. Categories with descriptions.
- Create a new page.
- Add a Terms Query block and configure it to show taxonomy terms (e.g. Categories).
- Inside Term Template, add:
- Term Name
- Term Description
- A Read More block or a Button block for a “Read More” CTA.
- View the page on the front end.
Screenshots, screen recording, code snippet
No response
Environment info
- WordPress 6.9
- Google Chrome
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Block] Terms QueryAffects the Terms Query BlockAffects the Terms Query Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.