Tagged: ,

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

    Is it possible to put the entire most recent blog post as the home page including share icons and comments (just as it would appear when you click on blog title to see entire post)?

    #116245
    #116246

    Yes, open up wp-contentthemesenfoldincludesloop-index.php and replace:

    $current_post['content'] 	= $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>') : get_the_excerpt();

    with:

    $current_post['content'] 	= $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>') : get_the_excerpt();
    if(is_home() || is_front_page()) $current_post['content'] = get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> &rarr;</span>');

    #116247

    Thanks for this. I replaced as you suggested, but not getting full post with comments and social sharing.

    I’ve tried different combos of settings, and this is what I currently have:

    Enfold Theme Options: Front Page Settings = “Movement of the Week” page, “… display the Blog?” = “Select page”

    WordPress admin Settings > Reading: Front page displays = static page = “Movement of the Week”, posts page= “Select”

    Posts page “Movement of the Week” – used Avia editor and dragged “Blog posts” into content area

    Hope this helps. Again my website is at http://dailyvitamoves.com

    I appreciate your help!

    #116248

    Hey!

    Unfortunately the comment form, etc. is not supported on the blog page. This would require a major rewrite of the blog & post templates. There’s a blog/archive page which lists all entries and a single post page which displays the comment form and all functions which use the is_single() conditional (like your social icons, etc.).

    Regards,

    Peter

    #116249

    Is there a way to make the blog/archive or single post (latest post?) page for the home page?

    Is there someone that I’d be able to hire to rewrite the blog & post templates?

    Angelo

    #116250

    1) Yes, just add a blog element to your home page (you can select your home page on the theme options page):

    2) Tbh I’d really avoid to put the entire content of a post (including comment form, etc.) on the front/home page. It will very likely harm your search ranking/seo and it is very uncommon (thus will probably irritate users). If you still want to hire one you can try: https://codeable.io/ or http://www.freelancer.com/

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Full blog post with comments on home page’ is closed to new replies.