combining codes in sidebar.php
-
Hello
I’m not a php coder, so i’m asking a little help here. I hope you don’t mind.
I have succesfully instaled the folding menu script, which is working fine with the following code:
<?php wp_list_pages(fold_page_menus().’title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>
But now i want the pages to be ordered in page order. So i have to add some more code. The codex suggests:
<?php wp_list_pages(‘sort_column=menu_order&title_li=<h2>’ . __(‘Pages’) . ‘</h2>’ ); ?>
But how to i combine the two? do i seperate them with a specific character? I tried a few things but always get errors.
Any help is welcome!
Thanks in advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘combining codes in sidebar.php’ is closed to new replies.