• Resolved danahendrickson

    (@danahendrickson)


    Lester, I would like to use your plug-in as follows:

    1. Multiple categories.
    2. Each category displays posts according to scores, highest listed first
    3. Each category has a set of selectable time periods, e.g, past week, past 30 days, past year, and all time
    4. Display posts on home page in chronological order.

    Is this possible?

    Configuration guidance?

    Thank you.

    https://wordpress.org/plugins/wp-postratings/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Sorry, I don’t think this plugin will fit your requirements.

    Thread Starter danahendrickson

    (@danahendrickson)

    So your plug-in cannot do post rankings within individual categories?
    I an NOT ranking categories.

    Thread Starter danahendrickson

    (@danahendrickson)

    Plugin Author Lester Chan

    (@gamerz)

    What I mean was it doesn’t meet all your requirements.

    1. It has nothing to do with the plugin, this is your how your theme is coded as long as the ratings code is within the WordPress loop, it can be rated
    2. See the last of the two FAQ http://wordpress.org/plugins/wp-postratings/faq/
    3. It does not support this.
    4. See 1.

    Thread Starter danahendrickson

    (@danahendrickson)

    I did what you recommended (#2 above) and my website is now not working, and I can not de-activate this plug-in with out admin access to wordpress.

    Can I simply remove your plug-in from the WP plug-in directory?

    Thanks.

    Dana

    Thread Starter danahendrickson

    (@danahendrickson)

    I have fixed my website and re-activated your plug-in.

    Here is my index.php page. Where can I install your

    <?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>

    code???

    Thanks

    my index.php file

    <?php get_header(); ?>

    <div id=”page”>
    <div id=”main”>
    <div id=”box-container”>
    <div id=”entry-list” class=”row”>

    <?php
    global $paged;

    $max_page = (int) $wp_query->max_num_pages;
    if ( $max_page > (int) 1 )
    $paged = $wp_query->query_vars[‘paged’]<=1 ? (int)1 : $wp_query->query_vars[‘paged’];
    ?>

    <?php // Show this widget area only on the first page and only if its populated with widgets ?>
    <?php if ( $paged < 2 and is_active_sidebar(‘first-box’) ): ?>
    <article class=”widget-box entry box-item <?php ci_e_setting(‘listing_columns’); ?> columns”>
    <div class=”box-wrap”>
    <?php dynamic_sidebar(‘first-box’); ?>
    </div>
    </article>
    <?php endif; ?>

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

    <?php
    $format = get_post_format($post->ID);
    if ( !$format ) {
    $format = ‘standard’;
    }
    ?>
    <article id=”post-<?php the_ID();?>” <?php post_class(‘entry box-item ‘.ci_setting(‘listing_columns’).’ columns format-‘.$format); ?>>
    <div class=”box-wrap”>
    <?php include(locate_template(‘format-‘.$format.’.php’)); ?>
    </div>
    </article>

    <?php endwhile; ?>

    <?php if( is_active_sidebar(‘last-box-repeat’) and (is_front_page() ) ): ?>
    <article class=”widget-box entry box-item <?php ci_e_setting(‘listing_columns’); ?> columns”>
    <div class=”box-wrap”>
    <?php dynamic_sidebar(‘last-box-repeat’); ?>
    </div>
    </article>
    <?php endif; ?>
    <?php endif; // have_posts() ?>

    </div> <!– .entry-list –>
    </div>

    <?php if ( ci_setting(‘disable_infinitescroll’) == ‘enabled’ ) : ?>
    <?php _e(‘Load More’, ‘ci_theme’); ?>
    <?php else: ?>
    <?php _e(‘Load More’, ‘ci_theme’); ?>
    <?php endif; ?>

    <div class=”row pagination-row”>
    <?php ci_pagination(); ?>
    </div>
    </div> <!– #main –>
    </div> <!– #page –>

    <?php get_footer(); ?>

    Plugin Author Lester Chan

    (@gamerz)

    Contact your theme author on where to insert the plugin code because I will not know how your theme is coded.

    But based on the coded you pasted. You have to insert into the format-*.php file.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Category-Specific Rankings’ is closed to new replies.