Support » Plugin: Custom Post Type UI » Feature requests

Viewing 15 replies - 46 through 60 (of 76 total)
  • When selecting the menu location as a submenu of something else, it would be nice if that part of the code was exported as well.

    Plugin Author Michael Beckwith

    (@tw2113)

    @dnavarrojr I’d actually call that a bug/missed detail more than a feature request. Investigating.

    Plugin Author Michael Beckwith

    (@tw2113)

    Edit: may need to click on some to see the larger size.

    @dnavarrojr I’m not managing to reproduce that. See screenshots below:

    Screen Shot

    Screen Shot

    Screen Shot

    Screen Shot

    Odd, but I think you are correct. It must have been an older version where I didn’t see it. I’ve got the latest version installed on my dev site and I’m seeing the same thing as you.

    My apologies.

    Plugin Author Michael Beckwith

    (@tw2113)

    No worries, and thanks for checking in with it, just in case 🙂

    What do you think about adding an option to standardly sort a CPT by title in admin dashboard instead of date? I’m sure there are many use cases where this makes more sense and saves an extra click every time.

    Peter

    Plugin Author Michael Beckwith

    (@tw2113)

    Are you referring to how they appear in the admin menu? or how the posts are actually ordered in the list table? They’re already sortable, to a certain degree, by clicking the “Title” heading at the top and bottom of title columns. Doesn’t look permanent though.

    I meant the list table ordering. Clicking on the title heading every time is a bit annoying. I think it should be a trifle using the pre_get_posts filter and it would be a very helpful enhancement.

    Plugin Author Michael Beckwith

    (@tw2113)

    That one is probably not one I’m going to add to the plugin, as I’ve never seen much demand for that. However, I would be more than willing to add a quick tutorial to our documentation at http://docs.pluginize.com/category/126-custom-post-type-ui

    Early version that is working, but would be refined a bit more at time of tutorial writing.

    function michael_order_cpt_by_title( $query ) {
    	if ( ! is_admin() ) {
    		return;
    	}
    
    	if ( ! $query->is_main_query() ) {
    		return;
    	}
    
    	$screen = get_current_screen();
    	if ( ! is_object( $screen ) ) {
    		return;
    	}
    
    	if ( 'movie' === $screen->post_type ) {
    		$query->set( 'orderby', 'title' );
    		$query->set( 'order', 'ASC' );
    	}
    }
    add_action( 'pre_get_posts', 'michael_order_cpt_by_title' );
    

    Thanks for your answer. Personally, I do not need a tutorial, I know how to do it. I just wanted to make a suggestion because I came across it.

    Peter

    Plugin Author Michael Beckwith

    (@tw2113)

    In case someone else looking for the same thing wanted it, now they have a quick snippet to work with 😀

    tgiokdi

    (@tgiokdi)

    I’d love to be able to add custom fields to the custom taxonomies that CPT-UI adds.

    Example:
    taxonomy of “author” would have a “website” field on it.

    I’ve found plenty of tutorials of how to do this myself, but would greatly appreciate being able to manage those values from the dashboard instead of editing code every time I want to add a new random field and CPT-UI is already installed and working well…

    Garrett Hyder

    (@garrett-eclipse)

    @tgiokdi, take a look at advanced custom fields it’s what we use in tandem with CPT-UI for our Custom Fields.
    Cheers

    Plugin Author Michael Beckwith

    (@tw2113)

    Details around post/term/user meta are probably going to be better left to other existing plugins that are well established already.

    I do appreciate the interest and suggestion, though.

    thomaskdev

    (@thomaskdev)

    Hi,

    In plugin Custom Post Type IU,
    I would like add a new image field in Supports with Custom Fields.

    Is it possible ?
    I need a solution…..

    Thanks all !

    Thomas

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