Skip Navigation

[Resolved] How to create a simple navigation button

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Jay 1 year, 11 months ago.

Assisted by: Minesh.



I have 2 CPTs Parent Locations and Child Locations.
There is an existing relationship Parent ONE to Child MANY. so a one to many relationship.
I want a simple button on the child CPT that takes a viewer to the parent location.
Adding button is easy.

Do I need to build a second one to many relationship backwards from child to parent, or should the relationship I've got give me the options on the template?

hidden link



Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To display the title as button, you should display the title as link using the shortcode [wpv-post-link] and to target the parent you should use the "item" attribute.

For example:

[wpv-post-link item="@relationship-slug.parent"]

- replace "relationship-slug" with your original post relationship slug.

More info:

Then, you customize this link using CSS as required.



My issue is resolved now. Thank you!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.