dankink
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Approve PostsWell… I know that when I installed WP on my server, it was set to approve comments by default. Do you have the latest version?
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!
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.
Anybody???