Hi Brajesh,
I’m struggling to display group posts in the Blog page. In BCG Settings I’ve selected posts as the post-type and category as the taxonomy, in the group I’ve selected categories that are selected in a post I’ve created but the Blog page remains empty. I’m not getting any errors so am wondering if I’m missing something?
Hi George,
My apologies for the inconvenience.In the last update, we forced the query to show posts which were published from current group only.
We did it to resolve the issue when 2 groups share same terms.
Is there a chance that the posts were not published from group screen?
You can disable the meta query to get it working. The following code should do it.
/** * Disable meta filtering for group id and published fro m front. */ add_filter( 'bcg_get_query', function ( $query_args ) { unset( $query_args['meta_query'] ); return $query_args; } );
Regards
Brajesh
The topic ‘ [Resolved] Blog Categories for Groups not showing posts in Blog page’ is closed to new replies.