• Resolved bikebogota

    (@bikebogota)


    Hello. My goal is to show all my posts with an image thumbnail and a text preview, but there is no guide how to do this.

    I installed and activated. I have experience with wordpress and PHP, still, I find it dificult to use this plugin. I want to use the widget or the shortcode, no the php.

    There is no help about how to use the shortcodes, only 2 examples and a link to the PARAMETERS page in the settings, but this examples are PHP oriented, no shortcode oriented.

    For example, I added the widget, set time=all time, and I get “Sorry. No data so far”.
    Then noticed there is a category id field to fill, added the ID and no results.

    I also tried with [WPP] and I get only 1 post and no thumbnail or details.

    https://wordpress.org/plugins/wordpress-popular-posts/

Viewing 6 replies - 1 through 6 (of 6 total)
  • this link. is pretty helpful. also if you click on settings \ wordpress popular posts \ parameters it will show you available options to use in the shortcode.

    Thread Starter bikebogota

    (@bikebogota)

    cam’on, it is the same 2 examples from the plugin page. and pointing to the parameters page I am saying is PHP oriented.

    if you want something in [shortcode] format that isn’t available you could always do something like

    function display_views() {
    
     echo wpp_get_views( get_the_ID() );
    
    }
    add_shortcode ('get_view_count', 'display_views');

    then use the short code [get_view_count] to output the views for the current post.

    Thread Starter bikebogota

    (@bikebogota)

    Hi, I dont want something that is not done. I just want to use this plugin. But there is no starting guide.

    I just want to show my top posts or all my posts.

    – The widget does not work, should I use the category ID? is not clear
    – The shortcode shows incomplete lists
    – The plugin assumes people know where to put the PHP code, like the code you post above.

    the code above would go in functions.php.
    try this
    add the widget, sort post by views, set time range to all time, select show post thumbnails. on the stat tag setting select display comment count, display views. it should look like the screenshot demo but also have thumbnails.

    Thread Starter bikebogota

    (@bikebogota)

    Hi, I made it work. Thanks for the help, and I think other popular-post-plugins were affecting. I disabled that now.

    I created a page, used the widget with blank category id, and set all_data. Also set show thumbnail in the settings. The Shortcode works too but I havent played too much, and I learned how to map the PHP parameters into the shortcodes.

    It took me 2 days to set this plugin! With a good guide, it could have taken 2 minutes.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘How to use this plugin? I cant find clear tutorial.’ is closed to new replies.