Create another TAG widget for posts

You’ll need to use register_taxonomy with hierarchical set to false: function add_custom_taxonomies() { // Add new “Locations” taxonomy to Posts register_taxonomy(‘keyword’, ‘post’, array ( ‘hierarchical’ = false )); } add_action( ‘init’, ‘add_custom_taxonomies’, 0 ); For more information: – WordPress API – Tutorial @ Smashing magazine

In the Edit Post page how do I modify with jQuery the status select list?

Your first line works for me when I type it in the console of Chrome: jQuery(‘#post_status option[value=”draft”]’).text(‘Approve’); so I assume your problem may be that the element you want might not be loaded yet from where you run your script. Try wrapping it in this: jQuery(document).ready(function() { (function ($) { $(‘#post_status option[value=”draft”]’).text(‘Approve’); })(jQuery); });

Can’t create posts with WP DB Abstraction Plugin

Finally got it, my problem was in wp-include/post.php, due to bad translations of the queries from MySQL to SQL. I had to replace code in wp_insert_post function with this code: if ( empty($post_date_gmt) || ‘0000-00-00 00:00:00’ == $post_date_gmt ) { if ( !in_array( $post_status, array( ‘draft’, ‘pending’, ‘auto-draft’ ) ) ) $post_date_gmt = get_gmt_from_date($post_date); else … Read more

creating different edit screens for different roles

Solved it for different edit pages for different roles. In my method resposible for rendering the field I have: if ( count( array_intersect( $allowed_editors, $user->roles ) ) < 1 ) $readonly = ‘readonly’; Which I later use to either set the input field as readonly or add/remove classes before rendering it. Still working for the … Read more