WordPress.org

Support

Support » Plugins and Hacks » Problem with wp_list_pages

Problem with wp_list_pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Academy

    @wpacademy

    sorry about the delay.. haven’t seen this one before so I’m not sure what’s going on,do you see any errors related to wp_list_pages in the php error log? would it be possible to take a look at your backup?

    Hi, thank so much for following up on this! I just can’t figure out why this is happening.

    I don’t see any related errors in the php error_log.

    I’d be happy to give you a link to the cloned version of the site, but I can’t publish it here in a public forum. If you’d like to take a look, I can email you the link to my clone, as well as the url of my full backup-zip (from the original site). If you want to see, let me know what email address to send it to.

    Other things i now see about the problem:
    – In addition to the URL being missing, the linked text (between the opening and closing A tags) is also omitted.
    – A couple of my LI elements are actually ok – they have normal links. So not all LI’s are bad, but most are.
    – In the LI’s that are bad, the source code has an EXTRA SPACE between the two css classes listsed. There are two spaces, instead of just one space.

    Below is a larger code snippet (some LI’s are removed so it’s not too long). Note the extra space in the LI classes.

    <ul>
    	<li class="pagenav">Pages
    		<ul>
    			<li class="page_item page-item-20"><a href="http://test.mysite.org/about/">About the Alliance</a>
    				<ul class="children">
    					<li class="page_item  page-item-69"><a href=""></a></li>
    					<li class="page_item  page-item-460"><a href=""></a>
    						<ul class="children">
    							<li class="page_item  page-item-446"><a href=""></a></li>
    						</ul>
    					</li>
    					<li class="page_item  page-item-429"><a href=""></a></li>
    				</ul>
    			</li>
    			<li class="page_item  page-item-22"><a href=""></a>
    				<ul class="children">
    					<li class="page_item  page-item-116"><a href=""></a></li>
    				</ul>
    			</li>
    			<li class="page_item  page-item-6"><a href=""></a></li>
    			<li class="page_item page-item-8"><a href="http://test.mysite.org/events/">Events</a>
    				<ul class="children">
    					<li class="page_item  page-item-280"><a href=""></a></li>
    				</ul>
    			</li>
    			<li class="page_item  page-item-11"><a href=""></a></li>
    		</ul>
    	</li>
    </ul>
    Plugin Author WP Academy

    @wpacademy

    awesome,thanks.. please send the link to support@wpacademy.com (mention this thread) and it’d be great if you could include the link to the full backup as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with wp_list_pages’ is closed to new replies.