Skip Navigation

[Resolved] Want a view of custom post types in which the title links to external url's

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.

Our next available supporter will start replying to tickets in about 6.69 hours from now. Thank you for your understanding.

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)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 10 months, 2 weeks ago.

Assisted by: Waqar.

Author
Posts
#2676819

Tell us what you are trying to do?
I am working on a directory site that will allow users to post a link directly to their website. My plan is to allow them to create a post but only grab details from two fields. Title of the post would be the text in the link, and URL in a custom URL field would be the link link location. By doing this I am allowing user submitted posts to be displayed as standard text links. Is this possible to do? When I create a view and display the post title, I see the option for a dynamic link but my custom URL field is not an option. Thanks

Is there any documentation that you are following?
No

Is there a similar example that we can see?
No

What is the link to your site?
Currently in development

#2676826

Hi,

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

To create a dynamic link like this, you can use the Toolset's 'Button' block in the view's loop.

It will allow you to select the post's title for the 'Dynamic Button Text' and the URL type custom field value for the 'Dynamic Button URL'.

Using the block's style settings, you can make it appear like a regular link rather than a button.

regards,
Waqar