Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: Approve Posts
    dankink

    (@dankink)

    Well… I know that when I installed WP on my server, it was set to approve comments by default. Do you have the latest version?

    Thread Starter dankink

    (@dankink)

    Actually, it couldn’t have been simpler. All I had to do was add the <li>...</li> tags around the wp_loginout tag and it fixed it. I thought that since it already had some <li> tags within the php tag, it was enough and didnt need more. Guess I was wrong.

    Thanks jabecker!

    Thread Starter dankink

    (@dankink)

    Hmm… that’s interesting that it removes it from the list when it publishes it, I hadn’t noticed that.
    I’m not sure where I would fix that then, because in the header.php file, it looks like the tags are in the correct place.

    This is the code where I added the loginout command:

    <div align="center"><div id="header">
    
    <ul class="menu">
    <li class="<?php if (((is_home()) && !(is_paged())) or (is_archive()) or (is_single()) or (is_paged()) or (is_search())) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    
    <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    <?php wp_register('<li class="admintab">','</li>'); ?>
    <?php wp_loginout('<li class="login">','</li>'); ?> 
    
    </ul>
    
    </div></div>

    Thanks for pointing that out though. It’s a step in the right direction.

    Thread Starter dankink

    (@dankink)

    Anybody???

Viewing 4 replies - 1 through 4 (of 4 total)