dmiyares
Member
Posted 3 months ago #
Hi:
Question... Is there a way to create index pages (like archive.php) of custom content that would update automatically? I'm trying to create a directory of sort for print service bureaus... and I've got about 100 entered in so far and would like to slice and dice based on various services each offers. I've categorized each company using the categories option. Anyhow... any pointers would help.
Thanks
http://wordpress.org/extend/plugins/custom-content-type-manager/
Yes: what you're describing is essentially a search controller, and unfortunately (or fortunately, depending on who you ask), WordPress builds this part of the application into its themes, forcing you to customize them.... and WP's built-in functions here are lacking. So what I do in this situation is I use the GetPostsQuery() class from Summarize Posts -- it's included in the CCTM, and it offers very flexible search capabilities.
See some examples here: http://code.google.com/p/wordpress-summarize-posts/wiki/Examples_get_posts
I'm working on some enhancements here on the current dev branch of the CCTM. See issue 53: http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=53