archive

cpt_onomies_post_header

CPT-onomies Update: Version 1.2

By | CPT-onomies, Uncategorized, WordPress | No Comments
Download CPT-onomies CPT-onomies Documentation

To say my life has been crazy the past 6 months would be a very large understatement but CPT-onomies 1.2 is finally here! On top of a few minor bug fixes, here’s what 1.2 brings to the table:

  • Create custom CPT-onomy archive pages with just a few simple lines of code!
  • Added the ability to set a CPT-onomy term description using ‘term_description’ or ‘{$taxonomy}_description’ filter’.
  • Non-public custom post types can now be used as CPT-onomies.
  • Exclude CPT-onomy terms from being listed in the “Assigning CPT-onomy Terms” admin meta box and, therefore, from being assigned to a post.
  • Added numerous filters, allowing you to:
    • Remove “Assigning CPT-onomy Terms” meta boxes from admin
    • Remove CPT-onomy dropdown filters from admin
    • Remove the CPT-onomy column and/or it’s sortability
    • Customize settings by removing options and setting default property values
  • I changed the cpt_onomy.php filename to cpt-onomy.php to match cpt-onomies.php (I’m not really sure why I gave it an underscore to begin with).
  • I, like many others, fixed the $wpdb->prepare() issue.
  • If you use the following CPT-onomy settings, be sure to re-save your settings to fix potential bugs:
    • Capability Type
    • Capabilities -> Read Private Posts

I hope you enjoy the update! And, like always, please let me know if you find any bugs. If you need me anytime soon, I’ll be the one drinking some damn scotch. Until next time, keep up the awesomeness!

Assign your CPT-onomy terms just like any other taxonomy.

CPT-onomies Update: Version 1.1

By | CPT-onomies, WordPress | 4 Comments
Download CPT-onomies CPT-onomies Documentation

It took me long enough but the next version of CPT-onomies has finally shipped out! And, with it, some pretty cool new features:

  • Programmatically register your CPT-onomies
    • Much kudos and thanks to Travis Smith for the assist with this one!
  • When assigning CPT-onomy terms on the “edit post” page, choose from three different formats:
    • a checklist (same ole, same ole),
    • an autocomplete box (a pretty cool one, I might add),
    • and a select dropdown (for when you only want to select one term)
  • Customize the CPT-onomy archive page slug
    • Before, you were pretty much stuck with “{post type}/tax/{term slug}” (which is still the default) but now, via the settings panel, you can use your own keywords with a little help from the variables $post_type, $term_slug and $term_id. Don’t forget to flush/reset your rewrite rules once you’re finished!
  • Tell the CPT-onomy tag cloud widget whether you want the terms to link to their archive page or to their custom post type post page
  • When you’re using wp_get_object_terms() to request term information, you can now specify term ids to exclude from your results
  • The CPT-onomy class has a new function! Introducing get_term_ancestors(). I think it’s a little self-explanatory =)
  • CPT-onomies now supports Internationalization (can’t believe it took me so long!)
  • I also tweaked the UI and fixed a few bugs

I hope everyone enjoys the update as much as I do. Sorry it took me so long. My life has been a little crazy but I’m glad to be on the other side of the hiatus!

Please let me know if you have any questions or find any bugs! Thanks for being such awesome users!!

Want to give a little love and support my work? Donate