1. As per other answer, but you need to close PHP before the <a> as well…

    <?php // all your code until logo…

    ?><a href=”/”><?php the_custom_logo();?></a><?php

    // the rest of your code.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here