Remove dimensions from filename featured image

In addition to creating additional dimension, WordPress does keep your original image. Your original image is in this link http://whatweblog.com/wp-content/uploads/2015/05/hue.gif So, instead of stopping WordPress from creating additional dimension, you should retrieve the full image when displaying the featured image. You can get the full image with this – the_post_thumbnail(‘full’); In your case, change <?php … Read more

how to set featured image as facebook post thumbnail

To get the desired image while sharing or posting post to facebook you have to add og:image tag inside your <head> tag. And for twitter you have > to use twitter card //Adding the Open Graph in the Language Attributes function add_opengraph_doctype($output) { return $output . ‘ xmlns:og=”http://opengraphprotocol.org/schema/” xmlns:fb=”http://www.facebook.com/2008/fbml”‘; } add_filter(‘language_attributes’, ‘add_opengraph_doctype’); //add Open Graph … Read more

The Thumbnail aspect Ratio Issue

If you want to remove the height value from your img URL, you can use this function: add_filter( ‘post_thumbnail_html’, ‘remove_thumbnail_height’, 10, 5 ); function remove_thumbnail_height( $html, $post_id, $post_thumbnail_id, $size, $attr ) { $html = preg_replace( ‘/height=\”\d*\”https://wordpress.stackexchange.com/”, “”, $html ); return $html; } This will replace the height with an empty value. Note that you can’t … Read more

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