Skip to content

Read More and/or Button blocks inside Terms Query template can’t link to term permalink #73798

@g-dom3

Description

@g-dom3

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.
Image Image

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions