Loop not filtering properly
-
Hi there,
I really like your plugin, but I’m having a little issue getting it set up.
<h1>Our Products</h1> [loop type="product" product_cat="planning" orderby="rand" columns="3" pad="0px 10px" count="3"] <a href="[content field="url"]"><h3>[content field="title"]</h3></a> [content field="excerpt" more="true"] [/loop] <h1>Recent Projects</h1> [loop type="project" project-category="housing-plans" orderby="rand" columns="3" pad="0px 10px" count="3"] <a href="[content field="url"]"><h3>[content field="title"]</h3></a> [content field="excerpt" more="true"] [/loop]The first loop runs perfectly correctly. I copied and pasted, then changed the post type and taxonomy for the second one. The second works fine EXCEPT that it doesn’t filter by taxonomy at all (currently the output is all projects, well 3 of them anyways).
My content page says:
Project Categories – project-category
Housing Plans – housing-plans
Our Planning & Policy Products – planning
Our Tools You Can Use – tools
Plans to End Homelessness – plans-to-end-homelessness
Point in Time Homeless Counts – point-in-time-homeless-counts
Professional Development & Coaching – project-training
Program Development – program-development
Program Evaluation – program-evaluation
Research & Evaluation – project-research
The topic ‘Loop not filtering properly’ is closed to new replies.