Viewing 11 replies - 61 through 71 (of 71 total)
  • 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: https://preview.tinyurl.com/y8bkm52

    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)?

    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?

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

    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.

    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:

    /wordpress
    /images

    index.php
    style.css

    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(); ?>
    </div>

    <?php endwhile;?>

    Thank you. Hope replies.

    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

    This has happened before, Walter. Don’t worry ??

    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"); ?>

    Hi azurial,

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

    <?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&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.

    nice thx Ikki24

Viewing 11 replies - 61 through 71 (of 71 total)
  • The topic ‘[Plugin: WordPress Popular Posts] Template does not work in v2.0’ is closed to new replies.