Support » Plugin: Top 10 - Popular posts plugin for WordPress » [Plugin: Top 10] adding top ten plugin on my home page

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ajay

    (@ajay)

    You will need to edit your theme files to add the code <?php if(function_exists('echo_tptn_post_count')) echo_tptn_post_count(); ?> at the section where it used to be earlier.

    Can you give this a try?

    finesse185

    (@finesse185)

    thanks ajay so to make things clear im adding this code

    <?php if(function_exists(‘echo_tptn_post_count’)) echo_tptn_post_count(); ?>

    to one of my theme files to make it work ?

    Plugin Author Ajay

    (@ajay)

    Ideally to the home.php or whichever file is being used in your theme to generate the homepage.

    You’ll need to check with your theme designer about this.

    finesse185

    (@finesse185)

    they don”t understand this is my home page php

    <?php
     /* Template Name: Widgetized Page */get_header();
    global $post;
    $widgetpage = $post->post_title;?>
    <?php dynamic_sidebar($widgetpage." Slider Widget"); ?>
    	<div id="widget-block" class="clearfix">
    		<ul class="widget-list">
    			<?php dynamic_sidebar($widgetpage." Body"); ?>
    
    	</div>
    <?php  get_footer(); ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

    can i put it in there somewhere

    Plugin Author Ajay

    (@ajay)

    Can you please email me your theme php files for me to take a look.

    http://ajaydsouza.com/contact/

    finesse185

    (@finesse185)

    do u have a direct email because its not letting me send u anything on your site

    Plugin Author Ajay

    (@ajay)

    Apologies. I had a configuration incorrect.

    You can send me jpg, png, zip and gif files upto a total of 1MB

    If this is larger, please email me AT ajaydsouza DOT com

    finesse185

    (@finesse185)

    @ajaydsouza.com ??

    finesse185

    (@finesse185)

    and its still telling me email fail it wont allow me to upload anything on your site

    Plugin Author Ajay

    (@ajay)

    Yup at me AT ajaydsouza DOT com

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Top 10] adding top ten plugin on my home page’ is closed to new replies.