Support » Theme: Ephemeris » Add site description / tagline

  • Resolved RDesign

    (@rdesign)


    Because I have added a logo image, the site title is not publishing. That is fine, but I would still like the site description/tagline beneath the image. I have tried editing the functions.php file myself, but haven’t been able to figure out how to have the ‘description’ value show under the logo.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Anthony Hortin

    (@ahortin)

    Try adding the following function to your child theme. This should override the function in Ephemeris with the same name. It will add a new div with the description. You can obviously style it as needed using the logo-description class.

    
    function ephemeris_the_custom_logo() {
    	$logo_title = '';
    
    	if ( function_exists( 'the_custom_logo' ) && has_custom_logo() ) {
    		$logo_title .= get_custom_logo();
    		$logo_title .= '<div class="logo-description">';
    		$logo_title .= get_bloginfo( ‘description’ );
    		$logo_title .= '</div>';
    	}
    	else {
    		$logo_title .= '<a href="' . esc_url( home_url( '/' ) ) . '" title="' . esc_attr( get_bloginfo( 'name' ) ) . '" rel="home">';
    		$logo_title .= get_bloginfo( 'name' );
    		$logo_title .= '</a>';
    	}
    
    	return $logo_title;
    }
    
    freelance123

    (@freelance123)

    Hi guys,

    I have a similar issue,
    My title and tagline, does not appear in the search console google.

    Even if I added it inside the WP in setting – general.

    my webste is http://www.nu3o.com you can have a look in google when you just put nu3o

    thank in advance

    Theme Author Anthony Hortin

    (@ahortin)

    @freelance123

    Your site isn’t using the Ephemeris theme. It doesn’t look like it’s using any theme from the Theme Directory here on WordPress.org.

    If you’ve got an issue, I would suggest raising it in the this forum. Also, make sure you create a new issue rather than posting in one that’s been raised by someone else, or one that’s been been marked as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.