Hello there,
We are using the Layout Builder to build a custom single post template.
We would like to be able to link to an accompanying category specific post using the same button. Each category has the same titled post available but with different content for each.
The button will be situated at the top of every post but not the accompanying posts. Please see the following URL and accompanying image - the buttons are indicated by the green arrow.
https://bswcarehomeplus.org.uk/respect/care-home-staff/
At the moment I am using Dynamic Content
in Image > Setup > Link
to link to the category, which I know is incorrect because this only links to the category itself and not the relevant post within that category.
For example, the button for Residents and Families
in any post within the category respect
should link to https://bswcarehomeplus.org.uk/respect/residents-and-families-respect/. In the category ehch
the same button should link to https://bswcarehomeplus.org.uk/ehch/residents-and-families-ehch/. Is there a Dynamic Content
option which will point to the correct version of the post based on the category being viewed?
Please note the category name at the end of the title - do I need this detail?
Also, are images the correct thing to use here? I had a menu set up originally but was not sure how to link that either!
I hope all of this makes sense!
Kind Regards,
Spencer