As for the section below the featured image, it contains four distinct parts. The first among them is the Tags: label followed by a list of tags, which are separated with commas(,) that the post belongs to. Next, the part that can be directly edited using your page builder/editor of choice is added to the post, using the the_content() function. Then, using the the_post_navigation() function, the default WordPress post navigation for Previous/Next post is added. We also specified the HTML markup of the Previous/Next links. And, if the post has comments enabled, a comment template will be displayed at the end of the post, using the comments_template() function. Finally, according to WordPress standards, we properly sanitized the code in various places throughout it.

Leave a Reply

Your email address will not be published.