Title: Include different post-types to Profile tap &#8220;posts&#8221;
Last modified: November 20, 2019

---

# Include different post-types to Profile tap “posts”

 *  Resolved [mrcm](https://wordpress.org/support/users/mrcm/)
 * (@mrcm)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/include-different-post-types-to-profile-tap-posts/)
 * Where to add the given code?
    It is badly explained on that page, where the custom_um_profile_query_make_posts
   function has to be added.
 * Can you please explain in which file?
 * function custom_um_profile_query_make_posts( $args = array() ) {
 *  // Change the post type to our liking.
 *  $args[‘post_type’] = ‘page’;
 *  return $args;
 * }
 * add_filter( ‘um_profile_query_make_posts’, ‘custom_um_profile_query_make_posts’,
   12, 1 );
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finclude-different-post-types-to-profile-tap-posts%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/include-different-post-types-to-profile-tap-posts/#post-12157747)
 * Hi [@mrcm](https://wordpress.org/support/users/mrcm/)
 * You can add the code in your theme’s function.php file.
 * Please ensure that you’ve created a full backup of your site before you update
   the file.
 * Regards,
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/include-different-post-types-to-profile-tap-posts/#post-12181715)
 * Hi [@mrcm](https://wordpress.org/support/users/mrcm/)
 *  This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Include different post-types to Profile tap “posts”’ is closed to new
replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [profile](https://wordpress.org/support/topic-tag/profile/)

 * 2 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/include-different-post-types-to-profile-tap-posts/#post-12181715)
 * Status: resolved