Proper way to use get_the_content() in front-page.php and the content-home.php?
To output your content, It is advised that you pass your content through a filter. get_the_content() does not do this, so it will not for example execute shortcodes or create <p> tags. So, it would be better to use it this way: <?php echo apply_filters( ‘the_content’, wp_trim_words( get_the_content() , 70 ) ); ?> You can … Read more