How to show the featured image only, not the whole gallery?

Support Area Forums Photobug How to show the featured image only, not the whole gallery?

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question:
  • Author
    Posts
  • #10200
    axier lopez
    Participant

    Hello,
    I would like to show only the “featured image” instead of all pics from that gallery, in my post pages. This is an example: http://www.argia.com/blogak/begizta/?p=207
    That post gots 10 pictures and one of them is the “featured image”. The problem is that the “Gallery On Single View” option is set to yes, that page shows all the pics before the content. And I would like to show just the featured one and show the rest of the gallery’s pics as now, after the first paragrafe or wherever: http://www.argia.com/blogak/begizta/?p=207

    Thanks and regards
    Axier

    #10201
    Bill Robbins
    Moderator

    Axier,

    You can edit the theme so it will display the featured image on individual posts. Here’s how:

    1. Go to the Appearance section and select Edit.
    2. From the list of files on your right, choose single.php and find this spot:
      
      <h1><?php the_title(); ?></h1>
      
    3. Right above that paste this:

    4. Save your changes.

    That will cause the featured image to be displayed at the top of the post, just above the title.

    If you have any trouble, let me know,
    Bill

    #10222
    axier lopez
    Participant

    Great, that’s exactly what i needed.

    Thank you very much!
    Axier

    #10225
    Bill Robbins
    Moderator

    Fantastic. If you need anything else, let me know.

    Have a great weekend,
    Bill

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to show the featured image only, not the whole gallery?’ is closed to new replies.