Admin – no Featured image choice in create new/page|post

Your theme has not registered support for post thumbnails. You need to add one of these as appropriate: add_theme_support( ‘post-thumbnails’ ); add_theme_support( ‘post-thumbnails’, array( ‘post’ ) ); // Posts only add_theme_support( ‘post-thumbnails’, array( ‘page’ ) ); // Pages only add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘movie’ ) ); // Posts and Movies See the Codex (link above) … Read more

WordPress Gallery Thumbnail images look blurry

luckily I found the answer shortly after posting this question. My thumbnail size setting (Settings/Media) was 150 x 150px – cropped. So when I displayed them on my page, desktop size, in a row of 4, the thumbnails were getting stretched to 282 x 282px. I changed it to this new size and used a … Read more

get taxonomy thumbnail and use it as a variable in code

You have ‘taxonomy’ => ‘product_cat’ in your code, so most likely you have Woocommerce, and we need to get a category picture from there. Try this code <?php $args = array( ‘taxonomy’ => ‘product_cat’, ‘title_li’ => ”, ‘hide_empty’ => 0, ‘echo’ => 0, ‘show_count’ => 0, ‘style’ => ”, ‘parent’ => 0 ); $get_cats = … Read more

How can i make this in the_post_thumbnail?

If you want to ensure your image sizes remain available when switching themes, then you should place them into a plugin. Create a .php file (name it what you want) and place it in wp-content/plugins/, then paste the following: <?php /* Plugin Name: My Custom Image Sizes Plugin URI: http://pippinsplugins.com/ Description: Images sizes to be … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)