Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5743

    Hi,

    I am placing one Full sized entry blog post underneath my main Featured posts slider on my homepage. The post displays the first two lines and then has a “read more” button.

    How can I make the FULL post display on the homepage?

    Thanks!

    #51605

    I’d like to know as well! Or at least how to increase the number of text lines (number of words) in the post excerpt.

    Thanks.

    #51606

    Hey,

    in includes/loop-index.php replace:

    if(!is_single())

    with:

    if(!is_single() && !is_home() && !is_front_page())

    #51607

    How do you make this work for a full sized blog post that is just on a regular page (one using a template with a blog component in it)?

    Thanks!

    #51608

    A conditional statement for a regular page doesn’t make much sense (because you’d need to hardcode each page id). You can include another template for the blog element though. Open up includes/helper-templates.php and replace:

    get_template_part( 'includes/loop', 'index' );
    echo "</div>";

    with:

    get_template_part( 'includes/loop', 'index2' );
    echo "</div>";

    Then make a copy of includes/loop-index.php, call it loop-index2.php and replace:

    if(!is_single())
    {
    echo avia_excerpt($excerpt);
    }
    else
    {
    the_content();
    }

    with:

    the_content();

    #51609

    Actually, you might be right. I forgot that you can add widgets to specific pages – I could maybe do it that way instead of using the Blog post/sidebar method.

    I was up late last night, my brain had gone runny! :O)

    Well, I also have this option now too, so thanks again!

    You are the man!

    #51610

    Happy to see you figured it out :)

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Blog Post on Front Page’ is closed to new replies.