- This topic has 4 replies, 2 voices, and was terminal updated 3 years, 8 months ago by
Skandha.
-
The site title automatically links to the habitation folio, which is all skilful as expected. Withal I would like the site description/tagline to have a hyperlink to a different page.
I tin do this past editing /inc/construction.php
of the principal theme – however this does not work if I do the edit in the child theme
e.g. parallax-frame-child/inc/construction.php
https://musicasecreta.com
Can someone delight assistance? thanks
@voodoochill: This is not the fashion to practise it. To add together a hyperlink to site-tagline
Go to => Kid Theme Folder => functions.php and add the code in this link.
Replace the link https://wordpress.org
in the code with your URL.
Let me know if this works out!
Kind Regards,
Skandha
Thank you Skandha.
That works but with a couple of issues
1. The link of the tagline shows the hover colour instead of normal state (I tin can fix that with CSS though of course
2. The main navigation moves lower down, with the left nearly nav detail moving down lower than the others
Just discovered information technology does (almost) work if I put the URL outside the h2
so instead of
//Add Tagline $header_text .= '<h2 class="site-clarification' . $tagline_class . '"> <a href="' . esc_url( 'https://wordpress.org' ) . '">' . get_bloginfo( 'description' ) . '</h2>';
I do this:
//Add Tagline $header_text .= '<a href="https://wordpress.org"><h2 class="site-clarification' . $tagline_class . '">' . get_bloginfo( 'clarification' ) . '</h2></a>';
It needs some styling for the link hover but seems to piece of work. Do you think this is OK?
https://musicasecreta.com/
@voodoochill: Yes, that seems to be working fine. Glad you figured information technology out.
Kind Regards,
Skandha
- The topic 'link for site title tagline' is airtight to new replies.

How To Add A Link On A Wordpress Taglne,
Source: https://catchthemes.com/support-forum/topic/link-for-site-title-tagline/
Posted by: bradshawmighthe.blogspot.com
0 Response to "How To Add A Link On A Wordpress Taglne"
Post a Comment