Some Parameters not working
-
Some parameters work some don’t. Only ones that show are Title, URL, Stats.
But {thumb_img} is blank, {id} shows as “{id}” and {excerpt} is blank.The same exact code is working fine on my other WP site.
What am I missing?
Thanks for helphere is code
$args = array( 'post_html' => '<li class="topNewsListItem"> <div class="thumbnailImage"><a href="https://mysite.com/?id={id}" rel="bookmark" title="{text_title}"> <img src="{thumb_img}" /></a></div> <div class="list_desc"><h4 class="list_title"><a class="post-title" href="https://mysite.com/?id={id}" rel="bookmark" title="{text_title}">{text_title}</a></h4><div class="excerpt">{summary}<br /></div> </div><!-- End of description--><div class="actionButtons"><a href="javascript:shareArticle({id});" class="shareArticle" id="shareArticle{id}"><i class="fa fa-share-alt fa-lg"></i><span class="linktext">Share Article</span></a><a href="javascript:addToFavs({id});" class="addFavs" id="addFavs{id}"><i class="fa fa-heart fa-lg"></i><span class="linktext">Add to Favorites</span></a><a href="javascript:saveOffline({id});" class="saveOffline" id="saveOffline{id}"><i class="fa fa-cloud-download fa-lg"></i><span class="linktext">Save Offline</span></a><a href="javascript:readLater({id});" class="readLater" id="readLater{id}"><i class="fa fa-clock-o fa-lg"></i><span class="linktext">Read Later</span></a></div><div class="clear"></div></li>', 'cat' => 158, 'limit' => 6, 'range'=>'all', 'order_by'=>'views', 'post_type' => 'post' ); wpp_get_mostpopular( $args );
https://www.ads-software.com/plugins/wordpress-popular-posts/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Some Parameters not working’ is closed to new replies.