• Resolved frank2300

    (@frank2300)


    Hello, I have made a code in a custom template page to get my popular post to display a numbered list of my post. when i implemented the code, the numbers show, but in a staircase form, which drifts to the right. I have spent 2 days trying to figure this out. please check out my code and help if you can.

    <?php /* Template Name: iye page template */ ?>
    
    <?php get_header(); ?>
    
    <div id="primary" class="content-area">
    
    <main id="main" class="td-main-content-wrap td-main-page-wrap">
    
    	<div id="primary" class="content-area">	
    
    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("header=Top50&limit=50&range=weekly&order_by=views&thumbnail_width=65&title_length=10&thumbnail_height=65&stats_views=0&cat=2"); ?>
    
    if (function_exists('wpp_get_mostpopular')) { wpp_get_mostpopular('wpp_start=
    <ol>&wpp_end=</ol>
    "); }
    
    <article id="post-3803" class="large-12 clearfix" style="padding-top:10px;padding-bottom:10px;border-bottom:1px solid #eee;background-color:#fff;">
    
    	</main><!-- .site-main -->
    
    </div><!-- .content-area -->
    <?php get_footer(); ?>

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter frank2300

    (@frank2300)

    I apologize this is the code i’m using

    <?php if (function_exists('wpp_get_mostpopular')) wpp_get_mostpopular("header=Top50&limit=50&range=weekly&order_by=views&thumbnail_width=65&title_length=10&thumbnail_height=65&stats_views=0&cat=2&wpp_start=
    <ol>&wpp_end=</ol>
    ); ?>
    Thread Starter frank2300

    (@frank2300)

    For more help on this here is also the link to the screenshot of the problem i am having http://tinypic.com/view.php?pic=10x6c9k&s=9

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there!

    This is more a CSS styling issue related to your theme than a problem caused by the code you posted here (although it got messed up by the forum since you didn’t use the code button to wrap it).

    If you share your site’s URL I could take a look at the CSS and provide a few suggestions.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Since it’s been a while since OP’s last response I’m assuming he’s managed to solve the issue and so I’m marking this topic as resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I need serious help with wordpress popular plugin’ is closed to new replies.