sitewide tags grabbing Custom post type post
-
Hello Ron and Team,
Thank you for the great plugin.Here is a small issue i am facing please have a look.
I am trying to gather the CPT ‘listings’ from my sub sites.
I am using single theme for all the sites including tag site.
My blog posts are shown in the tag site.
My listing post are not shown in the tag site.
I referred http://wordpress.org/support/topic/plugin-wordpress-mu-sitewide-tags-pages-grabbing-custom-post-type-posts also
created a mu-pluign with following contents<?php
function my_swt_post_type_filter( $listings ) {
$auction[‘listings’] = true;
return $listings;
}
add_filter( ‘sitewide_tags_allowed_post_types’, ‘my_swt_post_type_filter’ );
?>
created a new listing post and updated an old listing post.
Both the posts are not shown in the admin and front end of the tag site.
please advice me if am missing any thing from my side.
- The topic ‘sitewide tags grabbing Custom post type post’ is closed to new replies.