Admin Media grid view images won’t load

Problem is now solved. Thanks to user “blobfolio” here: It sounds like you may have corrupted the image metadata. Have you tried running a plugin like https://wordpress.org/plugins/force-regenerate-thumbnails/ to regenerate the images/meta? Solution: So the solution is to force regenerate all the thumbnails. For example using the plugin mentioned above in the quote.

Disable sticky posts feature

In addition to CSS you could try to unstick each post as soon as it has been made sticky (untested): add_action( ‘post_stuck’, function( $post_id ) { unstick_post( $post_id ); } ); If you’re looking for another approach, than hiding it from the UI with CSS, then consider using custom post types instead of the post … Read more

Adding Visibility Options

I’ve actually done this before with a custom page template rather than with the visibility options … because both logged in and not logged in users ended up going to the same page. Here’s some pseudo-code (i.e. do not actually use the code, but it will give you an idea) $logged_in = is_user_logged_in(); switch($logged_in) { … Read more

Custom text-only header

File: functions.php It’s as easy as adding this to your functions.php file (of course having $wpse67109 set). add_theme_support( ‘custom-header’, $wpse67109_defaults ); File: index.php or any other template Simply don’t add the whole get_head_image() and get_custom_header()->foo stuff anywhere. Your headline template part could look like the following example: <header> <hgroup> <h1 class=”site-title”> <?php if ( display_header_text() … Read more

Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?

such an answer would likely become unworkable/unusable after a WordPress update, as TinyMCE get updated and APIs change – by @TomJNowell While I agree with Tom, there still an be a general answer that explains the general concept and the parts that aren’t moving. The PHP plugin to set the default content First there has … Read more

Unwanted redirect in admin area

I solved it with the help of a colleagues of mine by adding the following lines into wp-config.php: $_SERVER[‘HTTP_HOST’] = $_SERVER[‘HTTP_X_FORWARDED_HOST’]; $_SERVER[‘REQUEST_URI’] = ‘/stuff/wordpress’ . $_SERVER[‘REQUEST_URI’]; $_SERVER[‘SCRIPT_NAME’] = ‘/stuff/wordpress’ . $_SERVER[‘SCRIPT_NAME’]; $_SERVER[‘PHP_SELF’] = ‘/stuff/wordpress’ . $_SERVER[‘PHP_SELF’]; $_SERVER[‘REMOTE_ADDR’] = $_SERVER[‘HTTP_X_FORWARDED_FOR’];