Skip Navigation

[Resolved] Cannot see posts in view

This support ticket is created 5 years, 7 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by alanS3341 5 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1240954

Tell us what you are trying to do?
Display posts in a view, I have a view and a content template. The content is within the view on the "edit view page"
Templates for this View
Loop item in News View 1

I have a template with html and containing toolset post fields. I am loading bootstrap 4 in a custom wordpress template that I am trying to develop.

<div class="col-lg-4 col-md-12 mb-2">
[wpv-post-body view_template="news-view-1"]

I am not seeing any posts...

This is my content template

<!--Main layout-->
<main>
<div class="container">

<!--Grid row-->
<div class="row wow fadeIn">

<!--Grid column-->

<!--Featured image-->
<div class="view overlay hm-white-slight rounded z-depth-2 mb-4">
<img src="[types field='news-article-image' output='raw' resize='proportional'][/types]" class="img-fluid" alt="First sample image">
<a>
<div class="mask"></div>

</div>

<!--Excerpt-->


Web Push Notifications
</h6>


<h4 class="mb-3 font-weight-bold dark-grey-text">
[wpv-post-title]
</h4>
<p>by
[wpv-post-author], [wpv-post-date format="d/m/y"]</p>
<p class="grey-text">[wpv-post-excerpt]</p>
Read more
</div>
<!--Grid column-->

</div>
<!--Grid row-->

</main>

<!--Main layout-->

Is there any documentation that you are following?
No

Is there a similar example that we can see?
hidden link

What is the link to your site?

hidden link

#1240955

Hi, can you take some pictures of the View editor screen so I can see your configurations? If you have added any filters in the Query Filter section, open those up so I can see the details. If you cannot see the Query Filter section, scroll to the top right and click "Screen Options" to activate it.

#1240965
2019-05-08_14-40-18.jpg
2019-05-08_14-44-01.jpg
2019-05-08_14-42-49.jpg
2019-05-08_14-41-42.jpg
2019-05-08_14-41-03.jpg

here they are...

#1240996

I don't see anything obviously wrong here, but I can't see the Query Filter settings in any of these shots.

What is the slug of the Content Template? It looks like the slug of the View is news-view-1, which is the same as the slug in your wpv-post-body shortcode. Just confirming, those are identical? If so, I'll need to take a closer look in your wp-admin area to see what's going on. If that's okay with you, please provide login credentials here in the private reply fields.

#1240998

The Content Template slug is actually "loop-item-in-news-view-1", so I modified the loop of your View to use the correct template slug. Check now, I think it's working more like you would expect.

#1241005

My issue is resolved now. Thank you!