Skip to main content

Questions tagged [wp-list-pages]

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
654 views

horizontal menu / 4-level depth

I need a 4-level horizontal menu. which is the best way to build, organize and style it? "Active" tabs should be highlighted. <?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?&...
user8514's user avatar
1 vote
1 answer
128 views

I need ideas for a complicated menu

I have a slightly complicated menu to code from PSD document and integrate into wordpress. this is how it looks: (link in the comment bellow) The result of my work is this: http://slavisaperisic....
SlavisaPerisic's user avatar
0 votes
1 answer
392 views

active parent page when clicked on childpage

Hi there Wordpress guru's, i running up against a problem. I've my parent pages in the header.php and childpages in page.php. when i clicked on one of the subpages in a parent page i want that my ...
Navid's user avatar
  • 117
1 vote
1 answer
237 views

List pages within a certain parent and show published month

How can I list all pages within a certain parent (ID=917) and show the month and year they were published in this format: Aug 2011 This is a page (link to page) This is another page (link) Jul 2011 ...
Rob's user avatar
  • 1,406
0 votes
1 answer
1k views

Adding custom class names to anchor in wp_list_pages

I've the following navigation: (example) <ul id="mainNav"> <li><a href="#" class="watishet">Wat is het</a></li> <li><a href="#" class="hoewerkthet">...
Navid's user avatar
  • 117
0 votes
2 answers
1k views

How should I set up a Tumblr blog at a WordPress Page?

I am developing a site for a client, let's call it whatever.com. He wants to have his Tumblr blog at whatever.com/blog. (Tumblr lets you name the URL at which your Tumblr page will be served, and if ...
Isaac Lubow's user avatar
1 vote
1 answer
2k views

wordpress wp_list_pages help

In my wordpress enviroment, I have a number of pages, and I also have a custom post type called casestudy. I have setup a page-clients.php that has some of it's own content on, I then use the ...
sico87's user avatar
  • 209
0 votes
1 answer
664 views

add slug of child(ren) to li using wp_list_pages

For a page template I am trying to include the 3 children of each page. That works fine. However as I want to include a different image for each of the children, I would like to add the slug of each ...
user avatar
0 votes
2 answers
428 views

Disable the link on certain pages

I currently have a site with two levels of navigation. I am styling the wp_list_pages() list to act as my navigation. I would like to disable the link on some pages which have children (not exclude) ...
GaryDevenay's user avatar
2 votes
1 answer
2k views

how to properly list child pages in sidebar?

My pages menu is maximum 3 levels deep and I am having a hard time figuring out how to properly list the child pages in the sidebar. If a page is a parent I want to list it's direct child pages and ...
user avatar

1 2 3 4
5