• Resolved markrean1

    (@markrean1)


    Hi,

    In my template (based on Salient) I have a custom post type, called Portfolio.
    To the post type custom categories are added.

    register_taxonomy("project-type",
    	array("portfolio"),
    	array("hierarchical" => true,
    		'labels' => $category_labels,
    		'show_ui' => true,
    		'query_var' => true,
    		'rewrite' => array( 'slug' => 'recipe_categories' )
    ));

    I need the Recipe only to show the related from the same category it is in. Currently have CRP and CRP Taxonomy activated, and no luck.
    I also tried editing the crp-taxonomy.php file, line 85:
    $taxonomies[] = 'recipe-type';
    But still the CRP shows the related from any category.

    Any suggestions on the subject?

    A working sample can be seen here:
    The category page:
    Category Page
    The Recipe page (CRP are on the left sidebar, beneath the first title):
    Single Page

    https://wordpress.org/plugins/crp-taxonomy/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ajay

    (@ajay)

    Hi,

    I checked the site, but the best way to figure out if the right query is being created.

    Are you in a position to install Query Monitor and use that on the single page to see what the full query is?

    https://wordpress.org/plugins/query-monitor/

    Plugin Author Ajay

    (@ajay)

    Hi,

    I’ve uploaded a new version (1.1.0) that enables support for custom taxonomies. Do check it out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CRP doesn't work with custom post type’ is closed to new replies.