CoursePress theme: Logo not clickable.

There is a Site Brand logo on this page, my client wishes to have this logo clickable and it should go to the same page https://k******o.hu/nek-tek/

  • Ari

    Hi Bela, Hope you are well today!

    I see that you are using custom template on https://...zo.hu/nek-tek/ page. And this page requires "header nektek.php" file to show the header on /nek-tek/ page. In this file some code is missing like: link tag for linking and width height attribute for image.

    The code in on your site looks like:

    if ( function_exists( 'the_custom_logo' ) && get_custom_logo() ) :?>
    
    	<img src="https://www.keziedzo.hu/wp-content/uploads/2017/08/NEKTEK_logoBIG2-1024x750.jpg" alt="NEK-TEK" width="" height="110px">
    
    <?php else :

    But it should looks like:

    if ( function_exists( 'the_custom_logo' ) && get_custom_logo() ) :?>
    
    	<a href="<?php echo esc_url( home_url( '/nek-tek' ) ); ?>" rel="home">
    
    		<img src="https://www.keziedzo.hu/wp-content/uploads/2017/08/NEKTEK_logoBIG2-1024x750.jpg" alt="NEK-TEK" width="142" height="104">
    
    	</a>
    
    <?php else :

    I have added these code in the "header nektek.php" file. Now it looks fine.

    If you need any further help let me know here.

    Cheers, Ari

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.