0
votes
1answer
13 views

Creating a page that does not show up in the frontend navigation bar

My plugin needs to add a few screens to the frontend of the site, eg. a history overview (http://www.site.com/history?event=X). At first, I implemented this by programmatically adding a page with a ...
0
votes
2answers
74 views

How to get main menu only with wp_nav_menu

I have created one menu and have some sub-menu but I don't want to display any sub-menu from my template. My Menu code: <?php wp_nav_menu( array('menu' => 'header-uk', 'menu_id' => 'nav', ...
1
vote
1answer
127 views

Set if condition with wp_nav_menu

I have created one new menu and add bellow code in footer.php to display my menu wp_nav_menu( array('menu' => 'footer-cn', 'menu_id' => 'nav', 'menu_class' => 'ft-nav' )); Currently I did ...
0
votes
1answer
97 views

Auto add pages to primary menu with functions.php

Is it possible to have new pages automatically added to the primary menu via functions.php? This particular theme will be deployed on a special version of multisite, so the checkbox which is ...
0
votes
0answers
123 views

Programmatically Split A Post Into Multiple Pages

We all know that when you're creating a standard post in WordPress you can split the post into multiple pages by adding this code into the text body: <!--nextpage--> Is it possible to split a ...
0
votes
0answers
33 views

How to make page navigation just below the content?

I use the P2 theme, and find that the page navigation is not right blow the content, how make it correct? You can refer my site here.
0
votes
0answers
187 views

displaying child pages in columns when on a parent page

I would like to display sub pages in columns. Some parent pages have a lot of sub pages and the scroll is very long. I am currently using the below code to display sub pages. ...
0
votes
1answer
39 views

Add pages content to startpage through custom menu

I would like to be able to add page content onto the startpage (index.php). But only the pages that i've added in custom menu, and in that order too. I've been searching for a while now, but can't ...
1
vote
0answers
66 views

Removing Parent Page URL While Keeping the Navigation Intact

So here is the current format: site.com/parent-page/child-page/ - example 0 Child-page is ranking higher than parent-page, which is not what I want. So, I have a solution. site.com/parent-page/ - ...
0
votes
3answers
596 views

Does is_child() exist in wp 3.5.1?

I'm trying to figure out how to get to a is_child() equivalent; I'd like to be able to target the parent page and it's children. How can this be achieved? My pseudo-code is... if ...
1
vote
2answers
140 views

Two Search pages, One search form

I have a search form that I want to place in multiple pages (it will be in different header types) I do this by using the 'get search form' function. On my Search form I have radio sections listing ...
0
votes
1answer
240 views

Listing all child-pages of a parent-page on the parent-page and each child-page?

I have a parent page called "About". This page has three child pages "Members", "Information", "Contact". I want to list all the child-pages on all four pages, also the parent-page. So right now I ...
0
votes
1answer
34 views

Ordering Pages and Increasing Navigation

Is there a way of ordering my pages on my WordPress site so they appear in the navigation bar of the order i choose? ALSO: When i have too many wordpress pages for the navigation, it hides some pages. ...
0
votes
2answers
251 views

Displaying Current Page Number Conditionally

I want to display the current page number in the site. I want it to be conditional though so that it doesn't show up on the home/front page. Using the code below, the page number is being displayed at ...
0
votes
1answer
139 views

Adding a pagenavi to function for displaying bookmarks

I have a plugin user bookmarks - see here - and I'm trying to add a to it so the bookmark posts don't pile up like crazy. How can I do it? This is the function that displays the bookmarked posts. ...
3
votes
1answer
166 views

Assign title-specific class to list items in menu based on WP pages

I'm currently using a WP-generated list of pages for my site navigation - this is using the method wp_page_menu. I'd like to add custom styling to specfic list items in the menu, and I was wondering ...
1
vote
1answer
583 views

Is there a wordpress plugin enabling an autocomplete search box, then jump to page?

I have very little experience with WordPress. I am exploring it as a potential solution for our needs. I would like to implement an autocomplete search box (a bit like jQuery's) where users could ...
0
votes
1answer
132 views

Advanced Multi Tier Navigation across columns

I've been struggling with this for a while now and need some help. I'm trying to create a quite specific navigation setup for a client. I have a top level navigation which is hard coded and not a ...
0
votes
1answer
622 views

How to show next/prev link, when it's not active?

When on the first page of blog wordpress shows only "older posts" link because there are no newer posts, but i would like to show also the "newer posts" link but style it as inactive. i need to do ...
0
votes
1answer
109 views

Static Website No Titles But Still Nav

So I have a static paged website and I want to make pages without title, but I still need the titles for the navigation to pick it up. How can I get rid of the Page.php (the_post()) from displaying ...
0
votes
1answer
139 views

Auto Changing Text Case

So I'm using all static pages and I specify that in my WP settings. When I specify what the 'Front Page' should be it turns my link in to Title Case instead of all Capital Letters like I would prefer. ...
1
vote
1answer
60 views

Blank Pages with # URL & Google

I'm using some blank pages that have a title only and a URL set to '#' for my navigation. (So, that the item appears in the dropdown menu, but when it's clicked a page doesn't open). Do I need to ...
1
vote
1answer
536 views

Displaying Subpages while on Parent page?

I would like to create a navigation menu where I will be displaying two level pages. To illustrate that: Parent 1 Parent 2 Parent 3 (current) Child 1 Child 2 Child 3 Parent 4 So I would like ...
0
votes
1answer
556 views

WP-navi plugin and post sorted alphabetically

I've got an issue with using the WP-Navi plugin and posts sorted alphabetically. The first page of posts (5 - set in the plugin settings) appearing properly, but when one navigates to subsequent ...
0
votes
2answers
1k views

confused about wp_list_pages() function - how to display selected top pages with all their subpages

I'm a bit confused about wp_list_pages() function. Lets say I have 3 top level pages (with no parent) and each of them have some sub-pages: page 1 [sub-pages: 1.1, 1.2, 1.3]; page 2 [sub-pages: ...
0
votes
1answer
553 views

Hoe to add rel=“nofollow” to wp_list_pages

I'd like to use the wp_list_pages as a navigation bar, but I don't want the links to be followed. This is the simple version of the code I'm using <?php ...