Extra title output with this function wp_list_pages

ok, found the answer here : http://codex.wordpress.org/Function_Reference/wp_list_pages#Exclude_Pages_from_List here is the core of the answer : Markup and styling of page items By default, wp_list_pages() generates a nested, unordered list of WordPress Pages created with the Write > Page admin panel. You can remove the outermost item (li.pagenav) and list (ul) by setting the title_li parameter … Read more

Setting multiple values to as sort_column

get_pages explodes sort_column on the comma (,) character. Just check the source: foreach ( explode( ‘,’, $sort_column ) as $orderby ) { So the correct format should be the first one you posted: $args = array( ‘sort_order’ => ‘ASC’, ‘sort_column’ => ‘menu_order, post_title’ ); $children = get_pages($args); If you are not seeing the ordering you … Read more

How to echo excerpts with wp_list_pages?

If you want to make use of all the nifty filters for the title and excerpt/content (and why would you not want that?) you should loop through a custom query instead of using get_pages and the pages’ plain contents: <?php $args = array( ‘post_type’ => ‘page’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => -1, ‘post_parent’ => $post->ID, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)