Good way to store content and settings for an RSS plugin

Add a Custom Post Type called ‘feed’ Add a Custom Taxonomy for ‘feed’ called ‘feed_category’ As you mentioned, use a Custom Post Type for your feed items, for example ‘feed_item’ When adding an ‘feed_item’, add post_meta which makes the link between ‘feed’ and ‘feed_item’. For example update_post_meta( $item_id, ‘feed’, $feed_id ); Your loop can be … Read more

Custom Taxonomy Not Showing in Menu

As seen in the Codex: http://codex.wordpress.org/Function_Reference/register_taxonomy <?php add_action( ‘init’, ‘create_book_tax’ ); function create_book_tax() { register_taxonomy( ‘genre’, ‘book’, array( ‘label’ => __( ‘Genre’ ), ‘rewrite’ => array( ‘slug’ => ‘genre’ ), ‘hierarchical’ => true, ) ); } ?> From what I see in your code, you are not linking the taxonomy to your post-type. Try changing … Read more

flush_rewrite_rules on every register_post_type?

Don’t call flush_rewrite_rules. It’s a super expensive call to make and slows everything down. Also the order matters, but the correct thing to do is register all your content types, then re-save permalinks in WP Admin, and then… nothing, you’ve done everything. Only flush permalinks when things have changed, not on every page load. Visiting … Read more