Plugin Directory

Changeset 474158


Ignore:
Timestamp:
12/12/2011 07:28:27 PM (14 years ago)
Author:
mattrude
Message:

Use 'post_id' instead of 'post_title' to find Home Page, fixes #1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • top-posts-pages-widget/trunk/top_posts_n_pages.php

    r474151 r474158  
    7575 
    7676          if ( $tpp_show_home == "off" ) {
    77             if( $top_post['post_title'] == "Home page" ) continue;
     77           // if( $top_post['post_title'] == "Home page" ) continue;
     78            if( $top_post['post_id'] == false ) continue;
    7879          } ?>
    7980
Note: See TracChangeset for help on using the changeset viewer.