• How do i make it so when you set/upload a image to be the feature image it dont get stretched ?

    secondly, im using this code for my popular widget

    [Code moderated as per the Forum Rules. Please use the pastebin]

    But its displaying posts with no comments on them, how can i make it so it wont show them?

    and lastly

    i cant get my comment widget to work either :/

    [Code moderated as per the Forum Rules. Please use the pastebin]

    and help will be very appreciated Thanks,

    Renny

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter MasterRenny

    (@masterrenny)

    reposted the whole thing as i cant edit my last post

    How do i make it so when you set/upload a image to be the feature image it dont get stretched ?

    secondly, im using this code for my popular posts

    pasted the code here >>> https://pastebin.com/juE5ASpx

    But its displaying posts with no comments on them, how can i make it so it wont show them?

    and lastly

    i cant get my comments to work either :/

    The code im using is https://pastebin.com/hdq2tGT7

    and help will be very appreciated Thanks,

    Renny

    Can you specify what you mean by ‘stretched’? Do you have a link to an example?

    Thread Starter MasterRenny

    (@masterrenny)

    https://www.masterrenny.com/5/ <<< ignore the content tho and title :L

    As u can see the image is stretched

    Ah yes. It looks like you’re using post thumbnails for this. Have you looked into your functions.php file yet? If you don’t want it to stretch the image, you’ll need to change the size that it has.

    Look for something like this:

    // add post-thumbnail functionality
    if (function_exists('add_theme_support')) { add_theme_support('post-thumbnails'); }

    …and see if there are any sizes specified below it. If the size is set to ‘true’, I believe it’ll stretch any image that you upload any which way to make sure that the image fits the size that you’ve set up.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stopping feature image from stretching PLUS Few Other Problems’ is closed to new replies.