• This topic has 4 replies, 2 voices, and was terminal updated 3 years, 8 months ago by Skandha.

Viewing 5 posts - 1 through 5 (of 5 total)

  • Author

    Posts

  • #154745

    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

    #154782

    @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

    #154802

    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

    #154806

    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/

    #154808

    @voodoochill: Yes, that seems to be working fine. Glad you figured information technology out.

    Kind Regards,
    Skandha

Viewing five posts - ane through 5 (of five total)

  • The topic 'link for site title tagline' is airtight to new replies.