WordPress.org

Forums

Top 10 - Popular posts plugin for WordPress
[Plugin: Top 10] adding top ten plugin on my home page (11 posts)

  1. finesse185
    Member
    Posted 3 years ago #

    love this plugin looks great with my theme one problem i had top 10 plugin on my home page underneath each post thumbnail before then i updated the theme and the theme overwrote the plugin and it does not show up on the home page anymore just on the post page it self how do i get it to show up on the home page. i know its not the plugin problem and the theme developer couldn't find a answer can u help
    me.? (site)
    (Pic)explains
    http://tinypic.com/view.php?pic=hsurdz&s=6

    http://wordpress.org/extend/plugins/top-10/

  2. Ajay
    Member
    Plugin Author

    Posted 3 years ago #

    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?

  3. finesse185
    Member
    Posted 3 years ago #

    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 ?

  4. Ajay
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  5. finesse185
    Member
    Posted 3 years ago #

    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

  6. Ajay
    Member
    Plugin Author

    Posted 3 years ago #

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

    http://ajaydsouza.com/contact/

  7. finesse185
    Member
    Posted 3 years ago #

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

  8. Ajay
    Member
    Plugin Author

    Posted 3 years ago #

    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

  9. finesse185
    Member
    Posted 3 years ago #

    @ajaydsouza.com ??

  10. finesse185
    Member
    Posted 3 years ago #

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

  11. Ajay
    Member
    Plugin Author

    Posted 3 years ago #

    Yup at me AT ajaydsouza DOT com

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic