• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • First one I want to do, but the problem is the stupid format for icon specification requires that icon is specified with the full path to it. Much better solution would be to specify the custom class and this class to load the icon, because right now plugin would need to provide upload of image to be used. Maybe I will add this, but only in Pro version.

    The second one will be added.

    Milan

    Thread Starter pmdci

    (@pmdci)

    Hi Milan,

    Great stuff! I am glad you liked the idea of the second idea.

    So I guess one could use the widget logic plugin, so we could add a logic to the dropdown widgets so they only appear in the pages we need.

    For example, I wouldn’t like to display a widget that queries the post type “partners” by the taxonomy city in any other place than the page I created for Partners.

    I am currently using the widget logic plug-in to select where I want my widgets to be displayed. It works fine with your widgets, so I guess it would still work fine if you implement this idea.

    Cheers,
    P.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: GD Custom Posts And Taxonomies Tools] More suggestions:’ is closed to new replies.