Problem:
I create a View, and added a ShortCode for the Post title and a custom field to the loop.
When I insert this view and look at the results, I see the Title and fields repeating many times.
I want it just for one post.
Solution:
Views is used to create lists and hence as an offset and limit setting in the View's settings, where you can control how many items to output.
But, a View basically is a Loop, where you go over all posts and display for EACH post the contents.
If you want to display Title and Fields just once, you should consider using a Content Template instead of a View.
Relevant Documentation:
https://toolset.com/faq/whats-the-difference-between-a-view-and-a-view-template/
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)