How to filter by post-format in admin?

Try this plugin i cooked up: <?php ! defined( ‘ABSPATH’ ) AND exit; /** * Plugin Name: (#26032) WP_List_Table Post Format filter extension * Plugin URI: http://wordpress.stackexchange.com/questions/26032/how-to-filter-by-post-format-in-admin * Description: Filters the admin WP_List_Table by post format * Author: Bainternet * Author URI: http://en.bainternet.info */ function wpse26032_admin_posts_filter( &$query ) { if ( is_admin() AND ‘edit.php’ === … Read more

Use a different domain for SSL

Just to keep things nice & clear, I’ve posted this as a new answer. Let’s reset the playing field & follow the below instructions as if it were a shiny new install (ignore all code & suggestions in previous answers). In your wp-config.php define( ‘WP_SITEURL’, ‘http://www.realdomain.com/blog’ ); define( ‘SSL_DOMAIN_ALIAS’, ‘realdomain.maindomain.net’ ); define( ‘FORCE_SSL_LOGIN’, true ); … Read more

Using TinyMce with textareas in meta boxes on custom post types

Here’s a pastebin with your code included. Get the old value of the tinyMCE $meta_biography = get_post_meta( $post->ID, ‘meta_biography’, true ); Call the TinyMCE Editor wp_editor( $meta_biography, ‘biography’, array( ‘wpautop’ => true, ‘media_buttons’ => false, ‘textarea_name’ => ‘meta_biography’, ‘textarea_rows’ => 10, ‘teeny’ => true ) ); Save The Editor Value or if nothing is there … Read more

Check if user is admin by user ID

You worded it as you want to check if user has administrator role. It is considered more proper to check for capability, relevant to specific action. In practice this is usually expressed as current_user_can( ‘manage_options’ ) for current user. For arbitrary user it would be user_can( $user_id, ‘manage_options’ ). Of course this is capability that … Read more

How can I uninstall a language?

I hope you have FTP access or some alike, so you can follow path as shown below. Use any FTP tool (FileZilla or some) and enter your website. 1) Go to the wp-content folder There you will see a folder named languages. 2) Go into the languages folder There you will find a folder called … Read more