Support » Fixing WordPress » site description in 2010 theme

  • Resolved oldunclechalex

    (@oldunclechalex)


    Hi!
    I use 2010 theme. There is the so named site description in it. Can in be not the plain text, but a link?
    When I simply write <a>text</a> in this field it does not help.
    Kindly advise!

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

    Forum Moderator

    It can’t be a link without modifying the header.php template file. But as any changes will be over-written the next time you upgrade WordPress or the theme, it is recommended that you consider creating a child theme for your customisations.

    Thanks a lot! I managed to create a child theme with another style.css file.

    But this problem can be solved not with help of css. I guess I need to change the data in my database. Please,advise how to proceed!

    esmi

    (@esmi)

    Forum Moderator

    You now need to create a modified header.php file in your child theme.

    I modified header.php like this <div id="site-description"><a href="http://www.mysite.com"><?php bloginfo( 'description' ); ?></a></div>
    It works both in main and in child theme. Now I need to copy the modified file to child theme catalogue?

    esmi

    (@esmi)

    Forum Moderator

    Now I need to copy the modified file to child theme catalogue?

    To the child theme folder? Yes.

    Thank you very much, it works!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘site description in 2010 theme’ is closed to new replies.