This topic has 6 replies, 3 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow
Hi, I would insert the tagline (site description) under the logo, but seems is not possible.
I tryied to find the theme file that manage this part of the header, but I didn’t find it. I could insert it by code directly.
Could you please help me with this issue?
Thanks
Hello,
You can add the below code to child theme functions.php and create tagline shortcode
/**
* Output site tagline.
* [site_tagline]
*/
function eth_output_site_tagline_func() {
return get_bloginfo( 'description' );
}
add_shortcode( 'site_tagline', 'eth_output_site_tagline_func' );
After that add the shortcode to the header https://prnt.sc/10m921r
Regards
Thanks, but is very difficult manage the block with css.
I prefer put the code I need directly in the file, but I can’t recognize it.
Hello Gabriele
Can you please explain your block issue in more details where you are facing the issue so that we will guide you in best possible way.
Robert Hall
I have to put the tagline under the logo.
Is difficult to manage the block system, because I can’t create another block under the logo for this purpose. I have to manage the other html blocks for this reason, then work hard with css to put the tagline under the logo and also manage better the other blocks.
My need is easy: I wanna put a piece of code under your code that manage the logo, so I don’t have to work so much with blocks and css. I need to know where I have to put my tagline code.
Hello,
Header builder code is located in the XStore core plugin. You won’t be able to overwrite plugin code using child theme.
Could you, please, provide me mockup of the layout you want to implement and WP Dashboard and FTP access to your site? We’ll try to help you using the method I described.
Regards
You must be logged in to reply to this topic.Log in/Sign up