WordPress.org

Ready to get started?Download WordPress

Forums

Text in my header I cant get rid of? (9 posts)

  1. section30
    Member
    Posted 8 years ago #

    this is my blog:
    http://www.insidethemonster.com/section30
    For some reason there is some mystery text "TagLine Here" in my header. I went into the header.php and erased that code out but its still there?
    Anyone have any ideas?
    I am using the mapleleaf template.
    Thanks you

  2. moshu
    Member
    Posted 8 years ago #

    Obviously you didn't delete the right thing, becasue in the source it still shows up this:
    <div id="masthead">
    <h2 id="tagline">TagLine Here</h2>
    </div>

    Try to empty/delete the cache folder under the wp-content/

  3. section30
    Member
    Posted 8 years ago #

    That worked great! Thank you!
    One more question (sorry). I can't seem to figure out how to make my link work.
    Here is the code I am using:

    <ul id="navlist">
    <li><a>">ITM Homepage</a></li>

    Is this incorrect?
    Thanks again for all your help

  4. section30
    Member
    Posted 8 years ago #

    I mean

    <ul id="navlist">
    then...

  5. <a href="<?php bloginfo('http://www.insidethemonster.com');
    then..
    ?>">ITM Homepage
  • moshu
    Member
    Posted 8 years ago #

    Absolutely incorrect :)
    Go back to the Codex and copy those template tags as they are there.
    <?php bloginfo('url'); ?> will do just as it says: showing the URL of the blog - the one that you put in admin > Options > General.
    You don't have to mess around with the template tags! Just always read carefully the Parameters section - that will tell you what you can put inside those ().

  • section30
    Member
    Posted 8 years ago #

    Moshu, thanks so much you are a great great help. I however am really dumb at this stuff. Where is the "codex" and what "template tags"?
    Sorry to be such a pain, I know nothing about PHP. I am just trying to link to my homepage http://www.insidethemonster.com
    I wish I was better at this.

  • moshu
    Member
    Posted 8 years ago #

    All those little "gizmos" that you use to do something in WP are called Template_Tags. The one that you broke is in the General Tags section and is called bloginfo.

    What it does: depending on what parameter you use (see their list on the page linked above) ==> it will show it.
    So, if you want the URL of your blog, you use this:
    <?php bloginfo('url'); ?> - DON'T change anything, this little thingy is smarter than you think :) it knows exactly what to do...

    The above little code you can also use like
    <?php bloginfo('url'); ?>/about - and will provide a link to my about Page.

  • section30
    Member
    Posted 8 years ago #

    OK thank you. I went back and I think I was able to fix the template tag I brok (I hope).
    So is it possbiel to link outside of the blog. I do not have any pages inside my blod other than the main page. the full web adress is:
    http://www.insidethemonster.com/section30
    Will I be able to make a link to the main (non blog) blog page:
    http://www.insidethemonster.com
    Sorry to be so slow with this

  • moshu
    Member
    Posted 8 years ago #

    No, not with a WP tag. Just manually create a normal anchor tag as you'd do on any html site and point it to your main page.

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags

    No tags yet.