Post thumbnail is not shown in wp-admin

I figured out it was because of an script that was delivered with the Options Framework. There was a little piece of code in my functions.php which caused wrong javascript to be loaded. When you are having the same problem, be sure to search for something like wp_enqueue_media(); or something of the following script, comment … Read more

How can I make thumbnails a display different size/position if the blog post was posted before a specific date?

In what way is it affecting your post thumbnails? I cleaned up your code a bit. If you can show me the output you’re getting I’ll be able to help you further. <?php global $post; $compare_date = strtotime( “2018-03-01” ); $post_date = strtotime( $post->post_date ); if ( has_post_thumbnail() ) { if ( $compare_date < $post_date … Read more

Display featured image as post thumbnail

Try this code. Then temporarily set permissions to the cache folder to 774 and the timthumb.php file to 750, you can increase or decrease the permissions as you see fit (or aslong as it stops working, then it’ll be time to loosen up the permissions). <?php // If there are images get them if ( … Read more