You’ve borked your sidebar and don’t validate xhtml any longer.
In your sidebar.php, remove the first <li><h2>Pages</h2>
. Then, if you want quick and dirty, place the <h2>
tags around the second instance of the word pages.
Also, if you’re going to have hierachical list items, you need to begin the sub-list with a <ul>
. That’s why you’re not validating at present. If you make the change above you should be ok.
Does it matter that I don’t validate?
I have put the
<ul>
in. I cannot find the word “pages” anywhere else in the sidebar.php file.
Any other ideas?
Untried.
template-functions-post.php
Line 126
if (!isset($r['before'])) $r['before'] = '<p>' . __('Pages:');
Change that word to Banana and see what happens.
If good, edit to what you want.
If not, change it back and post again.
Careful ! Edit that file in a text-editor and be very very sure not to include whitespace at the end. If you get a Headers already sent error after doing this, head over to codex.
Or line 316
if ( !isset($r['title_li']) ) $r['title_li'] = __('Pages');
Change only one at a time !
WOW, you must be a genious!! Thanks very much. I appreciate it
LOL – not even close 🙂
http://www.mythicsoft.com/agentransack/
Agent Ransack
Freeware and a very fast search tool – I just asked it to search 1.5 for “pages”. It’s a damn good program and unlike Google’s Desktop search and the others, is not spyware 😉
podz is a certified genius. No doubt.