Archived topic
the site-description tagline -> header.php
3 replies · Started by Alfons on April 16, 2021
Hello,
I would like to have two times the following code in the header.php, normally you have it for one time. But also possible to build in a text-widget under the description tagline. I need it to include there a second text. Who knows that how to do?
greetings
$tagline = get_bloginfo( 'description' );
// Build our tagline.
$site_tagline = apply_filters(
'generate_site_description_output',
sprintf(
'<p class="site-description"%2$s>
%1$s
</p>',
html_entity_decode( get_bloginfo( 'description', 'display' ) ), // phpcs:ignore
'microdata' === generate_get_schema_type() ? ' itemprop="description"' : ''
)
);
Hi there,
are you simply wanting to add some static text below the Site Description ? Or does this text have to be dynamic ?
Hi David,
thanks for your response. What I don't want is to include a static text in the source code, would be better a dynamic code or to include a simple text-widget that I can change the content how I want.
Thanks getting again an answer of you.
greetings
Alfons / Germany
Do you have a site where i can see the design ? It may help me provide some alternative options