djmccabe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Display Sub-Pages, Sub-Sub-Pages at all times – Please Help Me48 hour bump…please help!
Forum: Plugins
In reply to: Pages & Subpages – Please helpThanks for the plugin Kvnthng!
However I think I must be a bit slow or something, as I just dont get it.
I have installed the plugin, activated it and can see that changing certain things, changes my sider bar, but I dont see anything that makes it work as I was hoping.
Just in case let me explain again:
Siderbar should be like this
Parent Page 1
Parent Page 2
Parent Page 3Then when click in to Parent Page 1 it would look like this:
Parent Page 1
–Child Page 1.1
–Child Page 1.2
–Child Page 1.3
Parent Page 2
Parent Page 3And so on.
Maybe I have something very basic wrong in the config of my wordpress site?
Forum: Plugins
In reply to: Pages & Subpages – Please help8 hour bump
Forum: Plugins
In reply to: Pages & Subpages – Please helpOk so a little more tinkering and I am close…
<?php wp_list_pages('include=18&sort_column=menu_order&depth=0&title_li='); if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children && $post->ID == 18) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?> <!-- Contracts --> <?php wp_list_pages('include=25&sort_column=menu_order&depth=0&title_li='); if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children && $post->ID == 25) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?> <!-- Civil Engineering --> <?php wp_list_pages('include=5&sort_column=menu_order&depth=0&title_li='); if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children && $post->ID == 5) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?> <!-- Rouse Homes --> <?php wp_list_pages('include=8&sort_column=menu_order&depth=0&title_li='); if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children && $post->ID == 8) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?> <!-- Plant Sales --> <?php wp_list_pages('include=10&sort_column=menu_order&depth=0&title_li='); if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children && $post->ID == 10) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?> <!-- Jobs at K Rouse --> <?php wp_list_pages('include=14&sort_column=menu_order&depth=0&title_li='); if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children && $post->ID == 14) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?>
However now the sud pages disappear once you go in to one of the sub pages.
I know it is probably because I have put the “&& $post->ID == XX” in the statement, but this is needed so it only displays the subpage of the current parent page. I cant think of an elegant way round it.
Forum: Plugins
In reply to: Dynamic Sidebar?thanks!
Forum: Plugins
In reply to: Dynamic Sidebar?Anyone?
Forum: Themes and Templates
In reply to: Which file to edit?Thanks for the reply Erik, but I think there is a little more to it than that.
In main index I have this code:
<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> <div class="descr"><?php the_time('F jS, Y') ?> by <?php the_author() ?><br /><br /></div>
Which is obviously the title, date and author. I would need to put a new div in next to the title and have it display the month and day.
Also there is no option within the design for “single post” or at least not in the theme I am using.
Forum: Plugins
In reply to: Google Ajax Search Not functioningAnyone?
Forum: Fixing WordPress
In reply to: Pages showing as “Not Found” in IE6Ok call this one solved.
It appeared to be because the page title had .’s in it.
I deleted the page and re-created it and all was well.