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

Reply To: [Waiting for user confirmation] Hide empty Taxonomies

$
0
0

I'm not sure I follow. Here's the code for the overarching View that lists the Cities Taxonomy:

[wpv-layout-start]
<!-- wpv-loop-start -->
   <wpv-loop>
      <h2>[wpv-taxonomy-title]</h2>[wpv-view name="List: Podcasts by City"]
   </wpv-loop>
<!-- wpv-loop-end -->
[wpv-no-taxonomy-found][wpml-string context="wpv-views"]<strong>No taxonomy found</strong>[/wpml-string][/wpv-no-taxonomy-found]
[wpv-layout-end]

And here is the code for the child View, which lists the Podcast Episodes from the City of the Parent View:

[wpv-layout-start]
[wpv-posts-found]
<!-- wpv-loop-start -->
   <ul>
      <wpv-loop>
         <li><li>[wpv-post-body view_template="List: Date, Author (for Podcasts)"]</li></li>
      </wpv-loop>
   </ul>
<!-- wpv-loop-end -->
[/wpv-posts-found]
[wpv-no-posts-found][wpml-string context="wpv-views"]<ul><li>Coming soon...</li></ul>
[/wpml-string][/wpv-no-posts-found]
[wpv-layout-end]

What are you suggesting that I do?


Viewing all articles
Browse latest Browse all 20145

Trending Articles