[Plugin: GD Custom Posts And Taxonomies Tools] More suggestions:
-
Hi Milan,
Got two more suggestions for you:
1. Why not allow the user to specify the icon used by the custom post type? Like, if I created a post type called hotels, I might want to put a nice little icon of a Hotel… Is just eye candy, I know. But what the heck ?? I can see WP 3.0 support this feature ;-P
2. This is a more complex one. but I think it would be VERY handy. Can we have some extended functionality in the widgets to allow taxonomy queries return based on specific post types and vice versa? Say for instance that I want a dropdown menu for my Taxonomy cities. But when selecting an option from it it would return only posts of type partner, based on the city term I selected.
Example. If I selected ROME in the list of cities, and I have configured the widget to work with the post type partners, then it would return only partners in the city of Rome.
Perhaps it would be easier to add a text field where we could add custom query by hand. For instance, in the example I gave, I could add the following in the widget:
/partner/ – the widget would do the rest to add ?city=<selected-city> to the query
Or if I don’t have permaliks, then I would add something like:
/index.php?pagename=partners – again, the widget would do the rest to add ?city=<selected-city> to the query
What do you think? Is this doable? I managed to configure my page-partners.php page to support these two examples above, but for that I had to add some code before the loop:
<?php global $query_string; $paged = get_query_var("paged"); query_posts("&post_type=partner&orderby=title&order=asc&" . "&paged=" . $paged . $query_string); global $more; $more = 0; ?>
Hope you find these ideas useful…
Regards,
P.
- The topic ‘[Plugin: GD Custom Posts And Taxonomies Tools] More suggestions:’ is closed to new replies.