WordPress.org

Support

Support » Plugins and Hacks » Exclude categories in front page (ECV doesn´t work in 2.0.2)

Exclude categories in front page (ECV doesn´t work in 2.0.2)

  • I´ve downloaded the latest WordPress to make another blog instead regular mine to test changes. One of the plugins I using, Elegant Category (In)Visibility, doesn´t work properly. When I check categories to exclude them from the front page of the blog, mesh up the database, and doesn´t show the categories excluded when I check them. It give me that DB error:

    WordPress database error: [Not unique table/alias: ‘wp_post2cat’]
    SELECT DISTINCT * FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) LEFT JOIN wp_categories ON (wp_post2cat.category_id = wp_categories.cat_ID) LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) WHERE 1=1 AND (category_id = ‘3’) AND post_date_gmt <= ‘2006-03-13 14:39:59’ AND (post_status = “publish” OR post_author = 1 AND post_status != ‘draft’ AND post_status != ‘static’) AND post_status != “attachment” AND category_id <> 1 AND category_id <> 2 AND category_id <> 3 GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0, 10

    There´s another plugin, or a way via template tags, to get in the frontpage only the posts of a given category ID?.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude categories in front page (ECV doesn´t work in 2.0.2)’ is closed to new replies.