Skip Navigation

[Resolved] Create a URL from custom fields

This support ticket is created 5 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
- 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 2 replies, has 2 voices.

Last updated by Greig Neilson 5 years, 8 months ago.

Assisted by: Waqar.

Author
Posts
#1238856

I have content in fields that live in two different post types. I want to bring the value of one field from each post together to create a URL.

I have used a View to create the text of my URL and I can display this on a webpage.

What I can't do is use this URL within a link to make it into a workable link.

Here's my code:
Alvin

Here's a link to the page: hidden link

#1238927

Hi Greig,

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

You'll see a checkbox for "Disable the wrapping DIV around the View" option, just above the "Output Editor" section on the view's edit screen.
( screenshot: hidden link )

Please check that option and the view's wrapping DIV container will be removed.

Note: To remove the extra empty spaces from your view's output, you can remove the shortcode [wpv-filter-meta-html] from it's "Output Editor" section and also remove all line breaks and empty spaces from the content in "Loop Editor" section, making everything in the same line.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1238928

Worked perfectly, thanks Waqar!