How to show posts with custom post types on profile post tab
-
Hello Support,
Ultimate Member plug-in looks great plug-in with many features.
I need to customize member’s profile Posts tab. Currently it’s showing posts with default post type. In my site, 3 custom post types are there. So I want to show all the posts from these 3 custom post types. I checked the posts.php template file of the plugin. there is one line of code:
<?php $query_posts = $ultimatemember->query->make(‘post_type=post&posts_per_page=10&offset=0&author=’ . um_user(‘ID’) ); ?>
I see I can replace this with my custom post type : ‘post_type=post’ . BUT, this will be for only one custom post type. I have 3 custom post types in my site. So how can I do that?
Could you please let us know if there is any quick solution to this?
Looking forward to your reply!
Thanks
- The topic ‘How to show posts with custom post types on profile post tab’ is closed to new replies.