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
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.
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.
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.
My issue is resolved now. Thank you!