Support » Plugins and Hacks » CPT-onomies: Using Custom Post Types as Taxonomies » [Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Quick Edit Menus

[Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Quick Edit Menus

  • Two questions:

    1. I noticed an absence of “quick edit” (and thus, batch edit) functionality for this plugin. Any chance this is coming soon?
    2. I’m having a heck of a time trying to figure out a way to get my navigation menu to automatically populate with the CPT posts as subnav… does anyone know of a way to do this?


Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Rachel Carden



    1. I have added “quick edit” functionality to the list. I can’t promise it will be out in the next version (which will be out later this week) but I’ll try to get it up and running soon!
    2. I’m experience-less in automatically populating subnavs with custom post types but if I find anything, I’ll let you know.

    Awesome! Thanks for the prompt response 🙂

    Plugin Author Rachel Carden


    Hey! I just released 1.0.3 which includes Bulk and Quick Edit support.

    When you get a chance to test it out, I’d love to know what you think!

    Works great! This is quickly becoming my favourite plugin. In fact, I dare say it should be core functionality 😉

    Plugin Author Rachel Carden


    You flatter me, sir. Glad you like it. =)

    The project I’m working on is a fairly daunting proprietary CMS -> WordPress migration, and your plugin has saved me many hours of attempting to get Taxonomies and Custom Post Types to jive nicely. You’ve helped save what little sanity I have left at the moment 😉

    Rachel, I’m having another issue now… when I use get_terms, the “count” value is not being returned in my term objects. Is this something I’m doing wrong?

    Plugin Author Rachel Carden


    What’s your code look like?

    	//List terms in a given taxonomy
    	$taxonomy = 'solutions';
    	  'hide_empty' => false,
    	  'orderby' => 'count',
    	  'order' => 'ASC'
    	$tax_terms = get_terms($taxonomy,$term_args);
    	foreach ($tax_terms as $tax_term) {
            var_dump ($tax_term);
    	echo '<li>' . '<a href="' . esc_attr(get_term_link($tax_term, $taxonomy)) . '" title="' . sprintf( __( "View all vendors in the %s industry" ), $tax_term->name ) . '" ' . '>' . $tax_term->name . '<span class="count">' . $tax_term->count . '</span></a>'.($tax_term->count).'</li>';

    This is just quick and dirty debug code…. but var_dump isn’t showing the ‘count’ key … and $tax_term->count isn’t showing anything either.

    Plugin Author Rachel Carden


    It’s an error on my part that will be fixed in the next version.

    For now, just add ‘pad_counts’ => true to the arguments and it will include the count.

    You mean ‘show_count’, right? 😉

    Got it working btw… show_count was the parameter I needed to set to true. It turns out without show_count, it wasn’t even allowing me to sort the results by count. All’s good now though 🙂

    Plugin Author Rachel Carden


    Ah! You are correct. I must have had ‘pad_counts’ on the brain from looking at the code.

    Glad it’s working. I’ve fixed the code for the next version.

    Just an aside, I’m using the All-in-one Event Calendar plugin, and I get this error when I land on the “settings” page of that plugin:

    Warning: Missing argument 2 for CPT_ONOMIES_ADMIN::add_cpt_onomy_meta_boxes() in ./wp-content/plugins/cpt-onomies/admin.php on line 1886

    I do believe it’s related to the way you’re hooking in to the admin panel, but I’m not sure if it’s possible for you to trap that particular error… of it it’s something the event plugin should be responsible for. Just thought I’d bring it to your attention in case it’s indicative of a deeper problem with CPTonomies.

    Plugin Author Rachel Carden


    Hey… thanks for letting me know. I could be mistaken but I believe this is a problem with the All-In-One plugin.

    They are using meta boxes on their settings page, which is fine, but they are using the ‘add_meta_boxes’ action hook to add their meta boxes, which is also fine, BUT this is a core WordPress hook that should pass 2 parameters: the page and the object ($post, $link, $comment, etc) being edited.

    Since they are using it on a settings page, they don’t have an object to edit so they didn’t pass a second parameter. If they are going to use this hook, they should include a second parameter, even if it’s a blank one, so everyone else who uses the hook will not get errors.

    Like I said, I could be mistaken and perhaps it is all my fault but I’m pretty sure this is an All-In-One issue.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: CPT-onomies: Using Custom Post Types as Taxonomies] Quick Edit Menus’ is closed to new replies.
Skip to toolbar