Viewing 1 replies (of 1 total)
  • Hello there,

    For design purpose the site title and description are hidden when a logo is enabled. To display the site title below logo image, firstly add this snippet with Code Snippets plugin.

    
    add_action( 'wp_enqueue_scripts', 'hiero_child_site_info', 9999 );
    function hiero_child_site_info() {
    
      $site_info = array(
        'name'        => get_bloginfo('name'),
        'description' => get_bloginfo('description')
      );
    
      wp_localize_script( 'athemes-settings', 'site_info', $site_info );
    
    }
    

    Then do the below steps:

    1. Install and activate the TC Custom JavaScript plugin
    2. Go To Appearance > Custom JavaScript
    3. Paste the following code into the provided box

    
    (function($){
    
      $('.site-header .site-branding').append('<p class="site-description">'+site_info.name+'</p>');
    
    })(jQuery);
    

    4. Update

    Regards,
    Kharis

Viewing 1 replies (of 1 total)
  • The topic ‘Get site Tagline to display in the header’ is closed to new replies.