[Block: Post Navigation Link] Add the ability to have both the text title and the label be a part of the link #29032
Labels
[Block] Post Navigation Link
Affects the Post Navigation Link Block
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
It is a common pattern on themes to have the Previous/Next links show both a label and the title of the post while both being part of the link to said post. Usually when using get_the_post_navigation() this is a possibility but it's not an option when doing so using this block.
What is your proposed solution?
I'm not sure what the best implementation would be for this, but thinking about how this is done on classic themes I believe if would help if it would be possible to show a placeholder for the title in place with the label when the block has the flag to show the title. Then both the Label and the Title are part of the block and can be positioned using the editor (such as having a line break between the two)
That way we can achieve something like this:
The text was updated successfully, but these errors were encountered: