[SOLVED] Page Template Footer showing incorrectly
I am starting a new Page template to add thumbnails of all child pages on a page with this template. I got the thumbnails showing up properly, but the Footer on the page is left-aligned and incorrect. I looked at it and it has colspan="1" instead of the usual colspan="2". Can someone tell me why it is doing this when I'm simply using the same <?php get_footer(); ?> at the end of the template that is identical to index.php's Footer?
Full template (Work in progress): Quote:
|
disable all your plugins and see what happens
|
Just disabled all plugins and it's the same.
I noticed it's very similar to what this guy was getting: http://forum.bytesforall.com/showthread.php?t=15624 |
try starting your code with th efollowing - which is the begining lines of index.php
HTML Code:
<?php |
That fixed it, thanks a lot for your help as always juggledad.
|
Can I ask a followup question about this Template?
I ended up with the Template code below, but the subpages show up in alphabetical order. Usually you could add "<?php wp_list_pages('sort_column=menu_order'); ?>", but I'm a bit lost about where to add the argument: PHP Code:
|
I would see if you could pass the sort to the get_pages() function
|
Got it:
<?php $pages = get_pages(array('child_of'=>164, 'sort_column'=>'menu_order')); ?> Thanks! This can be closed. |
All times are GMT -6. The time now is 04:09 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.