How to toggle custom WP archive list

I know nothing about the theme or plugins you are using. Since your theme isn’t responsive you could get away with the down and dirty approach if you can edit CSS files: /wp-content/themes/mytable/style.css line 262 .content-bar { border-right: none; width: 890px; } /wp-content/themes/mytable/style.css line 181 .right-sidebar { display: none; } Or override by adding your … Read more

jQuery.post() calling function with parameter

You second JS setting is more in the right direction, your biggest failure seems in misunderstanding how ajax requests are handled on the WP PHP/server side. On the PHP side, an action is being triggered based on the action parameter in your AJAX request. Since this is a generic mechanism it doesn’t have any facilities … Read more

jQuery not working for media uploader

Even if this “question” is horrible asked here, i think his problem is that “file_frame.on( ‘select’” seems not to work anymore, at least that’s the issue I’m recently experiencing. This seems to have something todo with an WordPress update, because this code worked in the past.

Add a jQuery snippet for sepcific user role

You should be able to use the admin_enqueue_scripts hook to load your snippet on the edit page as seen in this example from the codex function my_enqueue($hook) { if ( ‘edit.php’ != $hook ) { return; } wp_enqueue_script( ‘my_custom_script’, get_template_directory_uri() . ‘/myscript.js’ ); } add_action( ‘admin_enqueue_scripts’, ‘my_enqueue’ );