Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Reply To: [Waiting for user feedback] [wpv-post-body] does not render post content using template on WPViews 1.3.0.1

$
0
0

Dear Andriano,

I have reproduced this issue in a clean wordpress 3.6 install and WP Views 1.3.0.1.

1. You neet to create new content template with the following content:

<div class="featured_image">
  [wpv-post-featured-image]
  [wpv-post-body]
  <div class="edit_link">
  [wpv-post-edit-link]
  </div>
</div>

2. Assign this template to a post and assign this post a featured image.

3. Create a new view of posts and on Layout HTML use :

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
          [wpv-post-body]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]

4. use the newly created view in a page to display it

You should be presented with a view of posts that renders only the post bodies and the content template assigned to the post is ignored.


Viewing all articles
Browse latest Browse all 20145

Trending Articles