[Plugin: WordPress MU Sitewide Tags Pages] Grabbing Custom Post Type Posts
-
I’m using this tutorial to try to do the filter thing to pull posts from a custom post type into my SWT blog:
http://wpmututorials.com/plugins/sitewide-tags-update/
I placed the following in the functions.php of the theme of the child blog using the custom post type “auctions”, but the SWT blog (my main site) still is not importing the “auction” posts:
function my_swt_post_type_filter( $auction ) { $auction[] = array( 'auctions' => true ); return $auction; } add_filter( 'sitewide_tags_allowed_post_types', 'my_swt_post_type_filter' );
I just used the code from THIS support forum topic and modified it as I thought correct, as suggested by someone in the comments of the tutorial I linked at the beginning of this post. I’m sure my code is incorrect, but figured I should give it a go and have a jumping off point before asking for help (help? Please?)
ETA: I also created the “auctions” post type on my SWT blog, and added the above code snippet to the tags blog’s functions.php as well. No joy.
http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/
- The topic ‘[Plugin: WordPress MU Sitewide Tags Pages] Grabbing Custom Post Type Posts’ is closed to new replies.