Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 112964

This function displays a list of WordPress Pages as links. It is often used to customize the Sidebar or Header, but may be used in other Templates as well.

0 votes
1 answer
616 views

Renaming wp_list_pages class

I am currently trying to change the outputted class that wp_list_pages is outputting. However, I don't wish to conduct a global change hence a simple filter is not an option i.e. Only this menu when g …
Colin's user avatar
  • 113
0 votes
Accepted

Renaming wp_list_pages class

Working solution: /* Call using: [top_main_menu] */ add_shortcode( 'top_main_menu', 'echo_top_main_menu' ); function echo_top_main_menu() { $lookfor = array('page_item'); $replacewith = arra …
Colin's user avatar
  • 113