Skip Navigation

[Gelöst] Adding A Button To A Content Template For Unique URL Links

This support ticket is created vor 1 Jahr, 1 Monat. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Waqar vor 1 Jahr, 1 Monat.

Assistiert von: Waqar.

Author
Artikel
#2655337
Screenshot_159.jpg
Screenshot_158b.jpg
Screenshot_157.jpg

Hello,

I created a site with Toolset several years ago that my client loves. However, at the time he was not interested in eCommerce at that time so his single-item pages were not originally created as product pages.

He now has 628 single-item pages and growing - and I have been asked to transfer them into product pages.

I am attempting to resolve the problem by creating WooCommerce product pages - that I would like to link to each unique single-item page by adding a Button to the Post Field Group. However, I do not see a "Button" option among the New Field options.

I tried the URL field that would allow the client to add a Unique URL address to single-item pages from the Content template. The problem here is that with the URL custom field - the URL address is visible on the front end of the page.

Is there a way to place a button there for single item page URL redirect?

If not a button, is there a way to use a text-like instead of the URL being visible on the page?

I attached screenshots that I hope will help explain the objective.

Thank you

#2655641
single-field-block-URL.png

Hi,

Thank you for contacting us and I'd be happy to assist.

In the 'Single Field' block's field settings tab, you'll find an option to set the link label text.
( example screenshot attached )

You can use this field to set the link label text and it will be used instead of the full URL.

Alternatively, to make the link look like a button you can replace the 'Single Field' block with a 'Button' block too. It will also have the option to link the URL to the custom field dynamically.

regards,
Waqar

#2656067

Hello,

The information provided was very helpful and I was able to successfully embed a button with dynamic link in the content template as directed.

Thank you.

#2656077

Thanks for the update and glad I could help.

You're welcome to mark this ticket as resolved and start a new one for each new question or concern.