Skip Navigation

[Resolved] Display [wpv-post-link] as a button with my text

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to build link using bootstrap buttons

Solution:
You can use [wpv-post-url] shortcode to get the URL of post and try to create a button using anchor tag.

For example:

<a href="[wpv-post-url]" class="w3-button">View Product</a>

You can find proposed solution, in this case, with the following reply:
=> https://toolset.com/forums/topic/display-wpv-post-link-as-a-button-with-my-text/#post-629065

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-url
=> https://www.w3schools.com/w3css/w3css_buttons.asp

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

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 1 reply, has 2 voices.

Last updated by Minesh 6 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#628964

Tell us what you are trying to do?
I am build a custom shop page. I am using the [wpv-post-link] which will display as a product link to link to single product page. But my client with to view [wpv-post-link] as simply "View Product" button which will have the same function. just the display, instead of showing the product title, it shows "view Product"

#629065

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

You can use [wpv-post-url] shortcode to get the URL of post and try to create a button using anchor tag.

For example:

<a href="[wpv-post-url]" class="w3-button">View Product</a>

More info:
=> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-url
=> hidden link