title: Wordpress Custom Post Type + (YARPP)
body: <p>I am looking to add (YARPP) to my custom post types pages.</p>
  
  <p>The custom post type I am looking to add it to is quite complex and I am looking for where I place the provided code from YARPP.</p>
  
  <p>This is the support I found for placing the code into the custom post type:</p>
  
  <p><a href="http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-making-yarpp-caching-feature-work-for-custom-post-types" rel="nofollow">http://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-making-yarpp-caching-feature-work-for-custom-post-types</a></p>
  
  <p>This is my code:</p>
  
  <pre><code>function property_listing() {
  $args = array(
      'description' =&gt; 'Property Post Type',
      'show_ui' =&gt; true,
      'menu_position' =&gt; 4,
      'exclude_from_search' =&gt; true,
      'labels' =&gt; array(
          'name'=&gt; 'Property Listings',
          'singular_name' =&gt; 'Property Listings',
          'add_new' =&gt; 'Add New Property', 
          'add_new_item' =&gt; 'Add New Property',
          'edit' =&gt; 'Edit Properties',
          'edit_item' =&gt; 'Edit Property',
          'new-item' =&gt; 'New Property',
          'view' =&gt; 'View Property',
          'view_item' =&gt; 'View Property',
          'search_items' =&gt; 'Search Properties',
          'not_found' =&gt; 'No Properties Found',
          'not_found_in_trash' =&gt; 'No Properties Found in Trash',
          'parent' =&gt; 'Parent Property'
      ),
      'public' =&gt; true,
      'capability_type' =&gt; 'post',
      'hierarchical' =&gt; false,
      'rewrite' =&gt; true,
      'query_var' =&gt; true,
      'supports' =&gt; array('title', 'editor', 'thumbnail', 'author', 'comments')
  );
  register_post_type( 'property' , $args );
  flush_rewrite_rules();
  </code></pre>
  
  <p>}</p>
  
  <p>Any idea?</p>