Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Help with blog, twenty seventeen theme

Discussion in 'Misc WordPress Requests' started by David Sword, Nov 6, 2017.

  1. David Sword

    Guest

    Reply To: Help with blog, twenty seventeen theme, by David Sword

    The home page Blog section is showing Recent Posts, the theme is written to show the excerpt of the post, not full posts.

    The code for this is in wp-content/themes/twentyseventeen/template-parts/page/content-front-page-panels.php:68

    Changing

    get_template_part( 'template-parts/post/content', 'excerpt' );

    to

    get_template_part( 'template-parts/post/content', 'content' );

    will reveal the entire post (videos and images, full text) instead of just the excerpt.

    However, it’s not good practice to edit this file directly because twenty seventeen is regularly updated and your changes will be overwritten. You may need to explore creating a child theme out of it.



    An alternative to above would be to find a different way to show recent posts in full (like a custom shortcode), set a page to do so, and set the theme’s home page section to show that page instead.

    Reply To: Help with blog, twenty seventeen theme
     
    #1

Share This Page

Web Hosting