[Plugin: Custom Content Type Manager] Looping query and grouping by custom field?
My old website was in drupal, you can see my “tech article” list here http://4x4mecca.com/tech-articles. I’m trying to recreated this in wordpress. I have your plugin installed, and I’ve imported all my content. I’ve spent the last 4-5 hours working with [summarize-posts] to try and get it working.
Using this code
[summarize-posts post_type="tech_article" orderby="post_title" order="ASC" omit_post_type="revision" post_status="publish" taxonomy_depth="1" search_columns="post_title,post_content" join_rule="AND" match_rule="contains" date_column="post_modified"]<li>([+categories+]) <A href="[+permalink+]" title="[+post_title+]">[+post_title+]</a>([+post_tag+])</li>[/summarize-posts]
I get this page as a result http://wp.4x4mecca.com/tech_article_list/ which is a start.
The problem is that I want it to list the Category above the posts, not next to each one, so I need to do a while loop, but I don’t know if I can via short code. If you look closely, you can see that your custom field is storing it as
[“Misc, Things Not In Other Categories”]
when I believe it would work better as
Misc, Things Not In Other Categories
. I realize the quotes are because of the comma, but they should be stripped out on display. I also can’t filter by the category if it contains quotes in it.
Can you help me with the proper code to recreate my old page? Should I move away from using your custom field for Category and use the built in Category function?
- The topic ‘[Plugin: Custom Content Type Manager] Looping query and grouping by custom field?’ is closed to new replies.