Display Custom Post Type in Output
-
Is there a way to display the Custom Post Type in the actual output?
Here’s my code but it doesn’t work:
<?php $most_popular_args = array( 'post_type' => 'tl-article, video, press-release, press-mention, white-papers, analyst-report, fact-sheet, case-study, customer-quotes, infographics, partnerships, on_demand_webcasts, quarterly_release, integrations, podcasts', 'limit' => 3, 'range' => 'last30days', 'stats_views' => 0, 'stats_taxonomy' => 1, 'post_html' => '<li><h3 class="mt-0"><a href="{url}">{text_title}</a><br>{post_type}</li></h3>' ); wpp_get_mostpopular( $most_popular_args ); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Display Custom Post Type in Output’ is closed to new replies.