Title: Activating custom post type
Last modified: August 20, 2016

---

# Activating custom post type

 *  Resolved [Carmdq](https://wordpress.org/support/users/carmdq/)
 * (@carmdq)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/activating-custom-post-type/)
 * Hi mitcho,
 * I have a portfolio theme using custom posts called projects and I want to display
   three custom related posts thumbnails below each project. The theme is using 
   it’s own single-projects.php file.
 * I think I need to activate custom posts in YARPP so it recognizes this posts.
 * 1.Can you tell me how to activate this setting and where does that code belong?
 * 2.Will it be able to display the custom posts based on each posts tags?
 * Thanks
 * [http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/)

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

 *  [becca37](https://wordpress.org/support/users/becca37/)
 * (@becca37)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/activating-custom-post-type/#post-3524328)
 * When you’re in the dashboard, on the YARP settings page click Help and go to 
   the Developing With Yarpp section, it discusses custom post types.
 *  [MrMatt537](https://wordpress.org/support/users/mrmatt537/)
 * (@mrmatt537)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/activating-custom-post-type/#post-3524365)
 * Hey there,
 * I apologize for my newbie ways here…but i have to ask the same question as above
   member Carmdq … I looked at the “developing with yarpp” help section…and it does
   mention them – but I have no idea how to implement that. What code do I enter
   into my custom post types .php file? and where?
    i looked through that .php file,
   but theres nothing from yarpp….so how can i set it to true?
 * in my case the custom post type is “single-reviews.php” .. please help? thank
   you for any effort here 🙂
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/activating-custom-post-type/#post-3524372)
 * Thanks [@becca37](https://wordpress.org/support/users/becca37/) for the pointer!
   Indeed, the custom post type support is described there, though maybe it’s a 
   little dense…
 * The first step is to find where your custom post type (for [@mrmatt537](https://wordpress.org/support/users/mrmatt537/),
   looks like “reviews”) is defined. If you’re using a custom plugin or someone 
   else wrote some code for you to define this custom post type, you’ll have to 
   contact that author or modify their code. Otherwise, you should have a `register_post_type`
   call in your own call (maybe in `functions.php`) and that’s where you’ll want
   to make sure `'yarpp_support' => true`. I hope that helps.

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

The topic ‘Activating custom post type’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-related-posts-plugin/assets/icon-256x256.png?
   rev=2549977)
 * [YARPP - Yet Another Related Posts Plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/activating-custom-post-type/#post-3524372)
 * Status: resolved