Integration with Ultimate Member not showing co-author posts
-
Hi guys someone used co-author plus with Ultimate Member?
posts just shown on first author and not co-author.
I think the retrieve posts for UM is here:
/*** *** @dynamic load of posts ***/ function load_posts( $args ) { global $ultimatemember; $array = explode(',', $args ); $post_type = $array[0]; $posts_per_page = $array[1]; $offset = $array[2]; $author = $array[3]; $offset_n = $posts_per_page + $offset; $ultimatemember->shortcodes->modified_args = "$post_type,$posts_per_page,$offset_n,$author"; $ultimatemember->shortcodes->loop = $ultimatemember->query->make("post_type=$post_type&posts_per_page=$posts_per_page&offset=$offset&author=$author"); $ultimatemember->shortcodes->load_template('profile/posts-single'); }
- The topic ‘Integration with Ultimate Member not showing co-author posts’ is closed to new replies.