Hi,
I don’t see anything at pastebin.com.
I’ll look at your source code.
**Edit**
I have to go now – if no one helps you in the next few hours, email me and I’ll work it out.
samboll at yahoo dot com
Thanks for the offer, Samboll. I’ll certainly email you. I’m not sure what’s going on with pastebin. I’d assumed that it would save my code but it doesn’t seem to “stick”. I’ve never used it before so I may be missing something. Anyway, the email will be on the way in a couple of minutes.
If you emailed me, it must have went in the junk folder.
Try pastebin again or use the contact form on my website. It’s just a test blog for a customer, but it’s fully functional.
Boy! Okay, I used the contact form on comeuphither and hopefully that’ll get to you. I mistyped my email address, which should end wildmind.org.
Merci!
Thanks Ajay. The problem is I can’t find what in the php code is causing that <ul>. I think I now have pastebin working, and the URL is http://pastebin.com/659257.
Hi,
Sorry I haven’t gotten back sooner.
I can’t find anything wrong with your sidebar.php. Do you have a plugin or something else adding code?
I’ll be gone for the weekend. Sorry I couldn’t help you.
The only active plugins I have are Kimili flash plugin and Akismet. Neither of those should do anything to the sidebar.
Anyone else have any ideas?
The problem is around the code at background. I don’t know what is generating it, but the background sections is getting enclosed in the <ul>
Interesting. That part of the sidebar code isn’t in
<ul> or <li> tags at all for some reason. I’ll try playing around with it and see what happens. Many thanks.
Open up all the files in your theme and find out where it is.
It could be in index.php or home.php if it is not in the sidebar.php
What I meant is that the code is in the sidebar, but it’s not in list tags.
Anyway, I changed <?php wp_list_pages('title_li=<h2>Background</h2>' ); ?>
to
<li><h2>Background</h2></li>
<ul>
<?php wp_list_pages('title_li=' ); ?>
</ul>
It renders fine on the page and gives the following html:
<li><h2>Background</h2></li>
<ul>
<li class="page_item"><a href="http://www.bodhipaksa.com/blog/about/" title="About Bodhipaksa">About Bodhipaksa</a></li>
</ul>
However, this makes no difference to the number of validation errors.
Ha! Got it fixed. I’d misplaced a </li> tag.
I also hadn’t made the code for an image self-closing. The sucker now validates!