WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] Displaying full post on front page Issues (6 posts)

  1. viola777
    Member
    Posted 10 months ago #

    > Subject: Displaying full post on front page Issues
    >
    > Message Body:
    > Hi,
    > I want to display full posts on front page. Theme settings does not
    > work for this option.

    If you can provide a code snippet to replace and solve the issue that would be enough.

    Thanks

  2. Themonic
    Member
    Theme Author

    Posted 10 months ago #

    Hi,

    Remove || is_home() from the following line

    <?php if ( is_search() || is_home() || is_category() || is_tag() ) : // Display Excerpts for Search, home, category and tag pages ?>

    It would become

    <?php if ( is_search() || is_category() || is_tag() ) : // Display Excerpts for Search, home, category and tag pages ?>

    it is line 44 of content.php

    After doing this you can use the <!--more--> tag in articles to break your posts for home page.

    If you are modifying php files, it's better to use child theme and copy the content.php to child theme so that you can easily upgrade to new versions without loosing customizations.

  3. trailsnet
    Member
    Posted 8 months ago #

    Thanks for that information. The initial edit worked like a charm.
    I'm still confused about the "If you are modifying php files, it's better to use child theme and copy the content.php to child theme so that you can easily upgrade to new versions without loosing customizations."
    I understand why that has to be done, but not exactly how to do it.
    Any help would be appreciated.
    Thanks again.

  4. MelanieR
    Member
    Posted 2 weeks ago #

    I want to do the same thing as the author of the post, but where do I find the content.php?
    Thanks

  5. Themonic
    Member
    Theme Author

    Posted 2 weeks ago #

    @MelanieR

    Appearance -> Editor -> Content.php (right side under templates)

  6. MelanieR
    Member
    Posted 2 weeks ago #

    Thank you so much!!!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.