Skip Navigation

[Resolved] Showing the current post through a view inserted in a content template

This support ticket is created 3 years, 11 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 katjaL 3 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#1879003

Hi there,

I would like to import to content template a view that is created of custom fields. Usually you would add them as custom fields into content template, but in this case I would like to use a separate view. I just don't know how to filter the view.

#1879095

Hi,

Thank you for waiting.

During troubleshooting, I noticed that the view was showing correctly in the content template, but as the posts that we were looking at didn't have any values stored for the custom fields shown through the view, nothing was coming from the view.

I've added some field label text in the view and they're showing correctly, which means that when those fields will have some values, they'll show correctly too.

regards,
Waqar

#1879103

Hi Waqar, thank you! This was very confusing - it seems there are now duplicate posts and I was checking the empty duplicate. I don't understand how and why these duplicates exist. But if necessary I will create another ticket of that issue. Thank you so much!