Update add_image_size

@WisdmLabs is right. For old images you will have to use that plugin to regenerate thumbnails. For new images which you will upload it will respect the 600 height mentioned in child theme’s functions.php file.

Problem with add_rewrite_tag

cat is a reserved query variable used for the ID of a post category. To avoid conflicts with WordPress and/or other plugins and themes I’d recommend you ‘namespace’ your query variables eg eddh_cat instead of cat

Hide certain post types from editors

Here a little function which takes care to hide (In admin) Custom Post Types. function remove_from_admin_menu(){ // Check capability (admin) if( current_user_can( ‘edit_dashboard’ )){ //Do nothing } elseif ( current_user_can( ‘moderate_comments’ ) ) { // editor capability remove_menu_page( ‘edit.php?post_type=cpt01’ ); // add here your cpt name remove_menu_page( ‘edit.php?post_type=cpt02’ ); remove_menu_page( ‘edit.php?post_type=cpt03’ ); // for submenu … Read more

functions.php filters not applied in AJAX call

It turns out that some themes disable functions.php for the backend, in order to prevent a complete lockout. The way they do this, is by simply doing an is_admin() check. However, since all AJAX is ran through admin-ajax.php, this returns true, and the theme functions are not loaded. In this particular case (Genesis Framework (theme) … Read more