Featured Image at Full Size in Widget

Support Area Forums Live Featured Image at Full Size in Widget

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question:
  • Author
    Posts
  • #8185
    obcharris
    Participant

    Is there a way to display your featured image at its full size within the Featured Post widget on your home page? Or at least to set the featured image size so that the default size is larger?

    #8196
    Bill Robbins
    Moderator

    It is possible to change the height of the featured image. Here’s how:

    1. Go to the Appearance section of your WordPress control panel and select edit.
    2. From the list of files on your right, choose widget-featured-post.php and look for this spot in line 42:
      
      the_post_thumbnail();
      
      
    3. Replace that with this:
      
      the_post_thumbnail('full');  
      
    4. Save your changes.

    That will cause the full size image to be displayed.

    If you have any questions, just let me know,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Featured Image at Full Size in Widget’ is closed to new replies.