Custom post filter not working
-
I am using the yarpp plugin with custom posts types. I want to display 2 related post segments, 1. related products, 2. related reviews
however when i use below, it will not filter only reviews
related_posts(array( 'post_type' => array('review'), ));
Same goes for the related products, it just shows two times the same related products
I am using CPT UI for creating the the custom posts, and i have added “yarpp” as custom support as per their documentation. What am i missing?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom post filter not working’ is closed to new replies.