Tag Info

Hot answers tagged

4

You are calling .pointer( 'open' ); javascript function on all the pointers objects, so is not a surprise that all pointers appear on same time... That said, I don't understand why do you returns all pointers (even non-active ones) from custom_admin_pointers() and then add an additional function to check if there are some active pointers and a check inside ...


3

Ahhh.. yes. WordPress pointers. You know, there are quite a lot of mixed feelings when it comes to using pointers ;) You were on the right track with your code above. But there are a couple issues. @G.M. is correct about the pointer('open') command opening all your pointers at once. Furthermore, you are not providing a method to advance through ...


3

Found it! The post_type_labels_{$post_type} filter does the job beautifully. (Documented here.)


2

Yes, you need to write code to populate it. This is untested but should work. add_filter('manage_edit-cpt_roundtable_columns', 'init_roundtable_custom_columns'); function init_roundtable_custom_columns($columns) { return array( 'cb' => '<input type="checkbox" />', 'title' => __('Title'), 'taxonomy-sessions' => ...


2

You probably have an action to 'pre_get_posts' that it's excluding the page post-type. Paste that code here, so we can help you.


2

This is actaully a naming clash. Wordpress uses the word order in its core as a sorting function, and is also a reserved name that should not be used by themes or plugins Changing your custom post type name to orders will fix your problem


2

order is a reserved term, the best - I know of - overview over those can be found here: Codex: register_taxonomy() - Reserved Terms. The list is in it's relevance not restricted to taxonomies. The introduction to it does make it clear(er) why: Avoiding the following reserved terms is particularly important if you are passing the term through the $_GET or ...


1

Yes we can achieve it by following . add_filter( 'user_row_actions', 'custom_action_function', 1, 2 ); function custom_action_function($actions, $user_object) { if ( 1 >= count( $user_object->roles ) && 'subscriber' !== $user_object->roles[0] ) { unset( $actions['delete'] ); } return $actions; }


1

eSo the plugin mishaps are blocking you from signing into the dash? You will likely need server access or someone who has this access if you're not using version control. You can just rename the folder for the plugin that you want to de-activate (BBPress Like Button). That will force it to de-activate since the dashboard will lose track of it. Then log into ...



Only top voted, non community-wiki answers of a minimum length are eligible