WordPress.org

Ready to get started?Download WordPress

Forums

Just One Category
No posts displayed in 3.3 (3 posts)

  1. andrevdh
    Member
    Posted 2 years ago #

    This plugin does not allow any posts to be displayed if you try view them by category. Needs fixing please :)

    http://wordpress.org/extend/plugins/just-one-category/

  2. RichH
    Member
    Posted 2 years ago #

    In ver. 1.1 Change just_one_cat.php, approx line 39, reads:


    $just_one = $wpdb->prepare( " AND $wpdb->term_taxonomy.term_id = %d ", $cat );

    Change to:


    $just_one = $wpdb->prepare( " AND $wpdb->term_relationships.term_taxonomy_id = %d ", $cat );

  3. RichH
    Member
    Posted 2 years ago #

    I put the fix in a file as a temporary replacement. You can download it at http://ryowebsite.com/wp-plugins/nosubcats/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic