Newbie, please help (2 posts)

  1. Dee2007
    Posted 8 years ago #

    Hi All, I have just started using WordPress and am really impressed. I just have one problem, I am using my own header, so removed the title and tag line (so they didn't show up on top of the header) but I believe they should be there for the search engines, but I can't see anywhere in the code to put them.

    Can someone please advise :)

    Many Thanks


  2. fool4Christ
    Posted 8 years ago #

    Place them back in the header, but style them in a manner that will still allow them to be read by speech readers & picked up by search engines, but will be invisible to visual users. For example:

    <h1 style="left-margin:-9999px;"><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <p style="left-margin:-9999px;><?php bloginfo('description'); ?></p>

Topic Closed

This topic has been closed to new replies.

About this Topic