Support » Plugin: Custom Post Type UI » Feature requests

Viewing 11 replies - 76 through 86 (of 86 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    Honestly probably under-documented, but it’s not required to set the association on both sides of this proverbial coin. Either setting the post type when editing the taxonomy, or setting the taxonomy when editing the post type, should suffice.

    I believe I’ve considered trying to programmatically do something here before, but decided against it because they’re each their own settings group, and I think it’d be overreaching to try and unset something in a completely different location.

    I would probably make the associations on the taxonomy side, and leave the post type side alone. This is because a post type/object type is a required parameter for register_taxonomy, and it’s not required for register_post_type.

    olegburakov

    (@olegburakov)

    Hi guys, great plugin!

    I think it will be more user-friendly if dashicons field would consist two fields
    – first a <input type='url'> for custom icon, exactly like it is now https://i.imgur.com/VMbmuvD.png
    – second a <select> input for dashicons list. Maybe even it will group icons with <optgroup> tag, and after user select one of them, it will be cool if there would be some kink of possibility to preview icon before save.

    Sorry for my English, I hope you can understand me 🙂

    Plugin Author Michael Beckwith

    (@tw2113)

    Very interesting idea and we’ll add it to our enhancements list for review and consideration.

    Thanks @olegburakov

    Hi Michael, I added a feature request here – https://github.com/WebDevStudios/custom-post-type-ui/issues/687

    A shortcode to display custom taxonomies for current post. (The way the theme displays meta data such as categories by default).

    For example if i create a custom taxonomy called “Destinations”, then I could use a shortcode in the post to show what destinations it belongs to.

    EG shortcode:
    [ custom_taxonomy slug=”destinations” showfor=”current-post” ]

    Would display as:
    Destinations: Africa, South Africa

    Bulk import/export taxonomies via CSV

    Plugin Author Michael Beckwith

    (@tw2113)

    We’ll consider doing something for the first one with shortcodes somehow. Regarding the csv importing, I’m thinking we will likely defer that item to other plugins that already handle the topic and are already a lot more well tested than what we could achieve.

    Thank you for the ideas and feedback nonetheless, we appreciate it.

    Filling in basic three fields auto populates the rest of the fields as well, so one does not need to fill them out. One can adjust when needed. Thanks.

    Plugin Author Michael Beckwith

    (@tw2113)

    I’ve considered it, but at the same time, WordPress defaults to the Singular/Plural label if none of the rest are filled in. So to a degree, it’s saving bits that don’t necessarily need to be.

    Joy

    (@joyously)

    You have to dig deep in the code, but back 7 years ago, they added the term_order column to the relationships table, but there is not a good way to use it in core. In this ticket https://core.trac.wordpress.org/ticket/5857#comment:4 it shows simple code to enable the ordering of the terms assigned to a post. Could you add an option for that?
    I don’t think the plugin would need to do the filter for get_the_terms because in the wp_set_object_terms function, there is this check for the sort parameter of the taxonomy:

      $t = get_taxonomy($taxonomy);
       if ( ! $append && isset($t->sort) && $t->sort )

    where it loops through, incrementing term_order. But I haven’t tested it, so I’m not sure.

    To be clear: I want to be able to determine the order of the terms per post, which is what that field is for. There are other plugins that allow me to change the order of the terms when listing them all (like days of the week), but those are adding a different term_order column to the terms table.

    • This reply was modified 2 weeks, 5 days ago by  Joy. Reason: clarification

    Selecting which template to pull from. Like single.php vs page.php

Viewing 11 replies - 76 through 86 (of 86 total)
  • You must be logged in to reply to this topic.