changes to categories
-
Thanks for the plugin. Does exactly what I was after. One thing, looks like changes to wordpress categories make that part no longer work.
I changed this part of the code to fix
$posts = $wpdb->get_results(“SELECT * FROM $wpdb->posts
LEFT JOIN $wpdb->term_relationships ON
($wpdb->posts.ID = $wpdb->term_relationships.object_id)
LEFT JOIN $wpdb->term_taxonomy ON
($wpdb->term_relationships.term_taxonomy_id = $wpdb->term_taxonomy.term_taxonomy_id)
WHERE $wpdb->posts.post_status = ‘publish’
AND $wpdb->term_taxonomy.taxonomy = ‘category’
AND $wpdb->term_taxonomy.term_id = $category_id
ORDER BY post_date DESC $limit”);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘changes to categories’ is closed to new replies.