dwmingos
Forum Replies Created
-
Same problem here. The admin works fine via https and so do the static readme.html and license.txt files. I was hoping to find a workaround, plugin, or even a code hack but all my searching hasn’t turned up anything. I’m going through the WP source now to try to find the source of the problem…
I’m having the same issue…
Has anyone come up with a solution yet?
Forum: Fixing WordPress
In reply to: Cannot Validate Post PageThe problem seems to be just before your Archives section in your sidebar. In the HTML that WordPress finally sends to client browsers, you’ve got:
<ul></ul>
with no list items. This is probably because you’ve got a UL for Pages but you don’t actually have any Pages so it’s putting out an empty list. You can either remove that code (if you’re sure you won’t have any Pages in the future) or first check to see if there are any Pages and then write out the UL only if there are.
There are several ways to do this but a quick ‘n dirty way is to do the following;
<?php
$pageitems = wp_list_pages('title_li=<h2>' . __('Pages') . '</h2>'&echo=false );
if (strlen($pageitems) {
echo "<ul>{$pageitems}</ul>";
}
?>