-
AuthorPosts
-
April 29, 2013 at 2:26 am #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)?
April 29, 2013 at 4:43 am #116245BTW, my site: http://dailyvitamoves.com
April 29, 2013 at 5:43 am #116246Yes, 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"> →</span>') : get_the_excerpt();
with:
$current_post['content'] = $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow"> →</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"> →</span>');April 29, 2013 at 6:57 am #116247Thanks 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!
April 29, 2013 at 10:42 am #116248Hey!
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
April 30, 2013 at 3:21 am #116249Is 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
May 1, 2013 at 5:18 am #1162501) 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/
-
AuthorPosts
- The topic ‘Full blog post with comments on home page’ is closed to new replies.