WordPress.org

Ready to get started?Download WordPress

Forums

remove gallery preview from index (5 posts)

  1. mjoanaribeiro
    Member
    Posted 1 year ago #

    Hello,
    Can anyone point me what file and how should I edit it so I can remove the code that is calling gallery previews for the posts on the index page?

    I don´t want my index posts do show the galleries. I prefer to have the galleries only shown when you get to the single page.

    Thank you!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You will probably need to start customising your theme's index.php template file - possibly via a child theme. What theme are you using? Where did you download it from?

  3. mjoanaribeiro
    Member
    Posted 1 year ago #

    I am using the The HTML5 Reset Theme.
    I already started costumising index.php, style.css, header.php, footer.php, etc.

    But now I got to the point where I want to edit how the single.php would look like and tried to put in a gallery. but it appears on the index article and I wish it didn't

    Galleries will be an important part of this website but should show up until you get to the single.php

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but as you are using a commercially supported theme, you need to seek support from the theme's developers - paid or otherwise. We only support themes downloaded from wordpress.org here.

  5. mjoanaribeiro
    Member
    Posted 1 year ago #

    Ok! I'm so sorry...this is all new to me, I didn´t know.
    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic