{summary}
Liên hệ
Đặt mua
Ngoài ra có thể sử dụng widget ngoài để hiển thị popular posts. Đặt đoạn code này vào nơi muốn hiển thị
the_widget['WordpressPopularPosts',array[ 'thumbnail'=>array[ 'active'=>'1', 'width'=>'150', 'height'=>'150', 'class'=>'', 'link_class'=>'product-image' ], 'markup'=>array[ 'custom_html'=>'on', 'post-html-callback'=>'hw_popular_post_cb', //'template'=>'' //'post_html'=>'', //'title_length'=>50, 'order_by'=>'views', 'limit'=>get_option['posts_per_page'], 'post-start'=>'',// 'post-end'=>'',// 'wpp-start'=>'', 'wpp-end'=>'', 'title-start'=>'', 'title-end'=>'' ]]];{thumb}{text_title}
Ok, vậy là đã xong. Chúc bạn thành công.
Để nhận được bài viết mới vui lòng đăng ký kênh kiến thức WordPress từ A-Z ở Form bên dưới. Bạn cũng có thể nhận được sự trợ giúp trên Twitter và Facebook