[resolved] [Plugin: WordPress Popular Posts] Template does not work in v2.0 (72 posts)

  1. Tim Moss
    Posted 6 years ago #

    Hi Hector

    Just wanted to say a big thank you for logging into my site and fixing the problem (which was entirely at my end rather than yours!). It works a treat now.

    Thank you.


  2. enquirer32
    Posted 6 years ago #

    This plugin seems to have stopped working for about a month or more... what have I done in that time.. not sure... maybe upgraded to latest WP... installed another plugin...? Anyway, it's definitely not working... any ideas? See my site at: http://preview.tinyurl.com/y8bkm52

  3. Héctor Cabrera
    Posted 6 years ago #

    Hi enquirer32,

    Checked your site and while it appears to be working alright, WordPress Popular Posts seems to be unable to update the cache for some reason.

    Can you please list what changes have you applied on your blog since WordPress Popular Posts stopped working? Any new plugins installed since then? Changed your permalink structure? Applied htaccess protection to your wp-admin folder (or any folder above it)?

  4. enquirer32
    Posted 6 years ago #

    Thks for looking but actually it's not just one site either - for any of my sites the cache is not updating... not sure where to begin because I have rather a lot of plugins which I regularly update. Any idea what could be causing this or a test I could make?

  5. enquirer32
    Posted 6 years ago #

    Could it be a write problem to one of the plugin folders?

  6. Héctor Cabrera
    Posted 6 years ago #

    Nop, my plugin doesn require writing permissions in order to update the cache. Please try disabling all plugins and enable back WordPress Popular Posts to see if it works.

  7. WalterSolano
    Posted 6 years ago #

    How to make this work:
    <!--most popular path-->
    <?php require('/wordpress/wp-blog-header.php'); ?>

    <!--gets most popular posts-->
    <?php if (function_exists('wpp_get_mostpopular'))
    wpp_get_mostpopular("range=weekly&order_by=comments"); ?>

    I have it in my index.php out the wordpress root, like:



    I also have this but working well:

    <!--last news path-->
    <?php require('/wordpress/wp-blog-header.php'); ?>

    <!--gets last news posts-->
    <?php query_posts('showposts=5'); ?>

    <?php while (have_posts()) : the_post(); ?>

    <div><?php the_date('','<h4>','</h4>'); ?> /

    " rel="bookmark" title="Go to: <?php the_title(); ?>"><?php the_title(); ?>

    <?php endwhile;?>

    Thank you. Hope replies.

  8. WalterSolano
    Posted 6 years ago #

    Never mind just made it work!

    I confuse i were using the plugin called Most-Popular-Post istead the WordPress-Popular-Posts maybe many people have did the same so make sure you are using the one you have installed! ...or install both lol

  9. Héctor Cabrera
    Posted 6 years ago #

    This has happened before, Walter. Don't worry ;)

  10. azurial
    Posted 6 years ago #

    Hey Ikki24 i want to ask how on this code i will exclude a category or categories

    <?php if (function_exists("get_mostpopular")) get_mostpopular("header='Popular Posts'&header_start='<h4>'&header_end='</h4>'&range=all&order_by=views&limit=8&stats_comments=0&stats_views=0&wpp_start='<ul>'&wpp_end='</ul>'&post_start='<li>'&post_end='</li>'&pages=0"); ?>

  11. Héctor Cabrera
    Posted 6 years ago #

    Hi azurial,

    You can do so using the cats_to_exclude attribute. For example:

    if (function_exists("get_mostpopular"))
    get_mostpopular("header='Popular Posts'&header_start='<h4>'&header_end='</h4>'&range=all&order_by=views&limit=8&stats_comments=0&stats_views=0&wpp_start='<ul>'&wpp_end='</ul>'&post_start='<li>'&post_end='</li>'&pages=0&cats_to_exclude='1,5,7'");

    Where cats_to_exclude='1,5,7' lists the categories you wish to have excluded (comma separated).

    You can find out more about it and other attributes as well on your wp-admin > Settings > WordPress Popular Posts page.

  12. azurial
    Posted 6 years ago #

    nice thx Ikki24

Topic Closed

This topic has been closed to new replies.

About this Topic