Display Posts filtered by checkbox values
-
I’m trying to get a page to display custom posts I created but only showing ones that contain a value from a checkbox field. The values are 1,2,or3. I’ve tried many variations of the loop short code and can’t seem to figure it out. Here are a few that I’ve tried:
(4marks-product is the slugname of the custom posts type)
[loop type=”4marks-product” value=”first”]
[loop type=”4marks-product” value=”1″]
also tried replacing the word value with the slug name of the checkbox field, ie:
[loop type=”4marks-product” column-display=”1″]
[loop type=”4marks-product” column-display=”first”]
also tried
[loop type=”4marks-product” field=”column-display” value=”1″]Nothing seems to get only the posts with the checbox of value 1 checked to display, rather all posts will display.
Would very much appreciate your help and furthermore appreciate the work you’ve done building this great plugin.Thanks,
Blake
https://www.ads-software.com/plugins/custom-content-shortcode/
- The topic ‘Display Posts filtered by checkbox values’ is closed to new replies.