Support » Theme: Airi » Logo and Site Title/Description

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Can you please provide a link to your website in order to let me check it?

    Kind Regards, Roman.

    Thread Starter sprockettechweb

    (@sprockettechweb)

    muzeframe.com

    Hello, thank you for the link.

    You can try to add this function to your child theme functions.php file:

    function airi_site_branding() {
    	the_custom_logo();
    
    	if ( is_front_page() && is_home() ) : ?>
    		<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    	<?php else : ?>
    		<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
    	<?php
    	endif;
    
    	$description = get_bloginfo( 'description', 'display' );
    	if ( $description || is_customize_preview() ) : ?>
    		<p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>
    	<?php
    	endif;
    }

    You might want to check this topic if you don’t know how to do it:
    https://forums.athemes.com/t/display-post-time/35078

    Please feel free to ask any other questions that you might have.

    Kind Regards, Roman.

    Thread Starter sprockettechweb

    (@sprockettechweb)

    Thanks

    You are welcome!

    Kind Regards, Roman.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Logo and Site Title/Description’ is closed to new replies.