Forums

[resolved] Help - "Home" Button does not point to homepage (3 posts)

  1. bellarosephotograhs
    Member
    Posted 2 weeks ago #

    A few weeks ago I found a way to edit my CSS code to change the name of my "Home" button. I changed it to "The Blog". Now this button points to whatever page you are currently browsing and it does not always point "home" which is what I would like it to do. Can anyone figure out what is wrong with my code? Or what could be wrong? Here is the code from the "Header" portion of my CSS editor.

    <div id="header">
    	<h1><a href="<?php echo get_settings('The Blog'); ?>"><?php bloginfo('name'); ?></a></h1>
    	<p class="description"><?php bloginfo('description'); ?></p>
    </div><!--end header-->
    
    <div id="navbar">
    	<ul>
    <li><a href="<?php echo get_settings('The Blog'); ?>"><?php _e("The Blog"); ?></a></li>
    		<?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
    </div><!--end navbar-->
  2. jrav001
    Member
    Posted 2 weeks ago #

    Instead of:
    <?php echo get_settings('The Blog'); ?>

    Use:
    <?php bloginfo('url'); ?>

  3. bellarosephotograhs
    Member
    Posted 2 weeks ago #

    Thank you so much! Worked like a charm. :)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.