Problem with custom post type category
-
I am trying to display custom post and categories using my own taxonomy.
I have a own (taxonomy-page.php).
When I try add
echo do_shortcode('[ajax_load_more post_type="projekty"]');
everything is fine but when I trying add
echo do_shortcode('[ajax_load_more post_type="projekty" category="projkat1"]');
I see empty results. Generator showing that structure.I also tried
<?php $cat = get_query_var('cat'); $category = get_category ($cat); echo do_shortcode('[ajax_load_more seo="true" category="'.$category->slug.'"]'); ?>
and nothing.
How to force your plugin to read a specific open category, e.g. taxonomy / projkat1
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Problem with custom post type category’ is closed to new replies.