• Resolved aylon

    (@aylon)


    Hello,

    I’m looking to show full posts on the index page. at the moment i just see excerpts and no idea how to change it.

    im not sure if this is a simple or complicated fix.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • open content_home.php and find

    <?php the_excerpt(); ?>

    replace with

    <?php the_post(); ?>

    Theme Author Brian Harris

    (@zgani)

    @aaron – Please don’t do that!

    @aylon – To change the index page to show full content rather than the excerpt please create a child theme first: https://codex.wordpress.org/Child_Themes

    Then copy content-home.php in to your child theme folder and proceed to make your edits – you’ll need to change line 20 from <?php the_excerpt(); ?>
    to <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'itek' ) ); ?>

    There are few other things that will need adjusting in that file i.e removing the read more button.

    For your convenience you can grab the ready made child theme here: http://www.wpstrapcode.com/free-downloads (iTek Base Child Theme)

    Regards,
    Zulf

    Thread Starter aylon

    (@aylon)

    Thank you so much,

    That worked like a charm!

    Thanks for the quick reply!

    Theme Author Brian Harris

    (@zgani)

    You are most welcome.

    Marking thread as resolved.

    Zulf

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show full post on home page’ is closed to new replies.