Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
List of child pages in a template
#2
Hi Andy,

we did it like this in the sidebar of get-simple.de:

If there are sub-pages, then they will be listed. It is done with the i18N-plugin which allows to create a menue with a defined starting depht:

PHP Code:
<?php
if (count(return_i18n_menu_data(return_page_slug(),1,10)) > 0) {
            echo 
'<div class="section">';
            echo 
'<h2>Unterseiten</h2><ul>';
            
get_i18n_navigation(return_page_slug(),1,10);
            echo 
'</ul></div>';
        }
    
?>

test it, I am sure you can use it!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply


Messages In This Thread
RE: List of child pages in a template - by Connie - 2013-01-09, 01:04:47
RE: List of child pages in a template - by Carlos - 2013-01-09, 17:20:13
RE: List of child pages in a template - by Connie - 2013-01-10, 03:43:21
RE: List of child pages in a template - by Carlos - 2013-01-10, 04:22:40
RE: List of child pages in a template - by Connie - 2013-01-10, 04:57:10
RE: List of child pages in a template - by D.O. - 2013-01-10, 23:23:05
RE: List of child pages in a template - by Connie - 2013-01-11, 18:03:45
RE: List of child pages in a template - by D.O. - 2013-01-12, 18:32:48
RE: List of child pages in a template - by Carlos - 2013-01-17, 05:20:09
RE: List of child pages in a template - by D.O. - 2013-01-17, 05:47:49
RE: List of child pages in a template - by Carlos - 2013-01-17, 05:55:02
RE: List of child pages in a template - by D.O. - 2013-01-17, 06:07:35
RE: List of child pages in a template - by Carlos - 2013-01-17, 07:01:02
RE: List of child pages in a template - by D.O. - 2013-01-17, 19:17:26



Users browsing this thread: 1 Guest(s)