Forum Replies Created

Viewing 16 replies (of 16 total)
  • Thread Starter martensen

    (@martensen)

    Well, i saw that there are some solutions already whipped up by Code Overlord Kafkaesqui, but since i don’t speak fluent php, i kinda need my own code modified and ready to be pasted, since i have no clue where to start and end my copy/paste process.

    So a big SORRY for that in advance.

    Here is my complete left sidebar code:

    <div id="sidebar_left">
    		<ul>
    			<?php
    			if($post->post_parent)
    			$children = wp_list_pages("title_li=<h2>Extra Seiten</h2>&child_of=".$post->post_parent."&echo=0"); else
    			$children = wp_list_pages("title_li=<h2>Extra Seiten</h2>&child_of=".$post->ID."&echo=0");
    			if ($children) { ?>
    			<ul>
    			<?php echo $children; ?>
    			</ul>
    			<?php } ?>
    			<?php wp_list_pages('exclude=51,64,67&sort_column=ID&depth=1&title_li=<h2>Seiten</h2>' ); ?>
    		</ul>
    </div>

    Site url again: http://ads-rantum.beachlevel.com/unser-haus/

Viewing 16 replies (of 16 total)