• Resolved melwp

    (@melwordpress)


    Hi, thanks again for this great theme. I’ve been using it for almost six months now on my blog thelandinbetween.com I like having full posts displayed on the front page. However, I’d like it if when pages 2, 3, etc… as well as other category pages are viewed, only a snippet is shown. Is that possible?

    Thank you

Viewing 12 replies - 1 through 12 (of 12 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    Hi Mel,

    an adorable blog! You see, if you wound not have questions, I would not know about it – that’s not fair 😉

    I will try to look for the solution this evening.

    Theme Author Tomas Mackevicius

    (@tomasm)

    Hi, Mel, here’s the solution (but you will have to start using a child theme):

    copy to your child theme content.php and change this line:

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>

    to:

    <?php if ( is_search() || is_paged() || is_archive() ) : // Display Excerpts for Search, Archives and additional pages of Index view ?>

    If you want to add “…continue reading” link after the excerpt, please use this function in functions.php (it is temporarily because I will include it in the next version):

    function tinyforge_new_excerpt_more( $more ) {
    	return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '">' . __('...continue reading <span class="meta-nav">→</span>', 'tinyforge') . '</a>';
    }
    add_filter( 'excerpt_more', 'tinyforge_new_excerpt_more' );

    You can see example: http://mtomas.com/?s=theme

    Thread Starter melwp

    (@melwordpress)

    Thanks for the instructions, and the compliments on my blog as well. 🙂 I will give it a try once I figure out how to use a child theme.

    Thanks!

    Theme Author Tomas Mackevicius

    (@tomasm)

    Mel,

    you could have it as a parent theme by renaming the theme in style.css, but you would lose the capability to update the theme, when new version would arrive.

    Another way would be to always have modified version of content.php as a backup and after every theme update, when all files would be replaced, you would reinstate your modified version.

    In any case having your own child theme is the preferred way 😉

    Just wait about a week and I will push new child theme version with the v1.5.8.

    Thread Starter melwp

    (@melwordpress)

    Ok, I figured out how to install the child theme, but I’ll go ahead and wait for the new version. Thanks!

    Theme Author Tomas Mackevicius

    (@tomasm)

    Thread Starter melwp

    (@melwordpress)

    Thanks! Should I still use a child theme?

    Theme Author Tomas Mackevicius

    (@tomasm)

    Yes, when you will download zip file, look under INC folder for another zip that will have to be extracted and uploaded separately, then copy content.php to to child from main theme and make that change.

    Thread Starter melwp

    (@melwordpress)

    Ok, I have the child theme installed. Can you tell me how to copy the content.php? I found it in the main theme, but don’t know how to copy it. Just select it all and then paste it where? Sorry, I’m very new to this. Thanks for all your help!

    Theme Author Tomas Mackevicius

    (@tomasm)

    copy whole file from main to child (and FTP from your PC), then open it and do changes.

    Theme Author Tomas Mackevicius

    (@tomasm)

    Or perhaps WP editor under appearance has the capability to upload new file or create one?

    Thread Starter melwp

    (@melwordpress)

    Got it! Thank you. Next I’ll work on getting the featured image to display.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘full posts on front page only’ is closed to new replies.