• Resolved Dinh??

    (@dinhcode)


    Hello,

    i had add code in index.php show top post by range:

    <?php wpp_get_mostpopular("
    post_type='post'
    &cat='-63'
    &limit=8
    &rating='1'
    &thumbnail_width=300&thumbnail_height=200
    &wpp_start='
    	<div class=\"films_solike\">'
    &wpp_end='
    	</div>'
    &post_html='
    		<div class=\"films8_item\"><a href=\"{url}\" title=\"{text_title}\">
    			{thumb_img}
    			<h4>{text_title}</h4>
    			<button class=\"films8_item_play\"><i class=\"fa fa-play-circle-o\"></i></button>
    			<span class=\"films_views\"><i class=\"fa fa-eye\"></i> {views} views</span>
    			<div class=\"post_ratings\">{rating}</div>
    		</a></div>'
    "); ?>

    but my echo as post range:

    My code is error?
    Give me and idea show List post rating
    Thanks!

    https://www.ads-software.com/plugins/wordpress-popular-posts/

Viewing 1 replies (of 1 total)
  • Thread Starter Dinh??

    (@dinhcode)

    !Resolved topic

    i had user wp-postratting shordcode

    <?php query_posts( array( 'meta_key' => 'ratings_users', 'orderby' => 'meta_value_num', 'order' => 'DESC' ) ); ?>

    Thanks for Plugins

Viewing 1 replies (of 1 total)
  • The topic ‘Post rating not true/ show as post range’ is closed to new replies.