The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
10 views

Redirection problem in my wordpress website [on hold]

I made a website in Wordpress, But suddenly yesterday whenever i click on any link on my site or menu it opens homepage only. The URL in the browser is changing according to the link but visible page ...
0
votes
0answers
11 views

One pager, automatic scroll [on hold]

I am currently busy with a one pager website. If you are at the top and click on one of the page of the navigation it scrolls down, but as you can see it doesn't stop at the title but under it, the ...
0
votes
2answers
42 views

Edit HTML of Wordpress navigation bar

Is there a way to change the html of my wordpress page's navigation bar? (I'd like to add in several divs that will be controlled with media queries.) Thanks for reading!
-2
votes
0answers
8 views

How can I put the navigation bar behind a popup? [closed]

I have created a popup registration form on one of my pages. However, when the popup is opened, the top navigation bar remains in front of the form. Any ideas on how to bring the popup to the front ...
0
votes
0answers
13 views

How do I remove first-child and last-child class from <li> in wordpress? [closed]

How can I remove the class first-child and last-childfrom my li tag, which are dynamically generated when I add items to my navigation menu? I searched in functions.php, nav-menu-template.php, ...
0
votes
1answer
12 views

How to add drop symbol to parent nav items which have child

I have a navigation system like this: As you can see I have two Parent Menus as "Projects" and Plans which they have some sub menus. Now when the result rendered I am getting a navbar like this: ...
0
votes
0answers
19 views

Grouping parent categories into sections

I have the following post categories: Personal Care Jewelry Health & Fitness Automotive Gadgets Health & Fitness and have two sections: Men and Women, what I'm trying to do is to group the ...
0
votes
0answers
15 views

Get link to top-level parent category of post

I am trying to create a link to the top-level parent of a given post. Many of my posts are in sub-categories. I intend to place a 'root category' image that links to the root category. I have tried ...
0
votes
1answer
48 views

Problem when I try to insert pagination

All the website are building in Wordpress but I need a new section called "News", like as a blog. I try to show 2 post and insert the pagination in my website, but when I try to view the next page, ...
0
votes
0answers
15 views

Can't get nav_walker class to recognize pages with children

I've built a walker class and I've got it doing everything I need except inserting a single div tag. In the start_el there is an $args>has-children that works and adds a div tag before top level ...
0
votes
1answer
38 views

Active page link not getting class assigned

I'm having problems with one of my menu items on http://itsnwa.com/ - When you enter the site, 'Work' should be bold and underlined, the same happens if you go to '50mm', but on 'Findings' this ...
0
votes
0answers
24 views

Fixed Menu and Submenu Position and Label

I'm creating a wordpress site based on PSD submitted by my client. The client requested to keep the clickable menu at the selected page with the current position. Examples in the images: ...
0
votes
0answers
27 views

Custom Gallery With Pagination/Navigation

With the help of someone I have created a custom gallery script, which picks all images with the slug x and presents them just fine, e.g. "people" (custom taxonomy). My problem is now, that I do not ...
0
votes
0answers
7 views

How assgin a new class to parent page in WP_nav_menu?

How to assign a parent class and the class child pages?
0
votes
0answers
24 views

Horizontal Navigation/Menu

New here, searched a few times, can't quite find the answer. Trying to insert a nav menu in a random location. I want to call a special menu (titled "custom-menu") but style it differently. My ...
0
votes
2answers
89 views

Add dynamic content block to nav section generated by custom walker

I am working on a theme that requires a piece of dynamic content nested in the navigation. I'm using a custom walker to generate the menu. I need a way to add markup to the code that will be editable ...
0
votes
1answer
46 views

How to make menu items active based on hash

I'm creating a Wordpress portfolio site using the Simone theme. I have three menu items that link to the same page but with different hashes: tovly.com/work/#work-all-work ...
0
votes
1answer
48 views

get adjacent post by meta key and meta value

I'm trying to limit previous/next navigation to posts that have the same meta_value on a certain meta_key. I know this was asked before, but I couldn't pick a working answer. And all that I could come ...
0
votes
1answer
39 views

A simple question regarding tags and categories

I was wondering if there was an easy way to display posts from a tag from a specific category. In other words, if I have Category1, Category2, and Category3, and these all have posts with a tag ...
0
votes
0answers
79 views

How to get the Next & Previous Post Opening in Zurb's Reveal Modal Lightbox

I have set up a loop that has my posts opening successfully in a reveal modal lightbox but I'm having difficulty getting the next and previous posts to open in the lightbox. The previous_post_link() ...
0
votes
0answers
20 views

Posts of Certain Category as Menu

I want to retrieve posts by certain category dynamically as a menu. What I need is: On the left-side of the page I want to display a menu as following | Category Name | | Post of This | | ...
0
votes
0answers
15 views

Wordpress Multisite Naviagtion, child and grandchild pages [duplicate]

I have a Wordpress multisite that contains 3 sites - site-1, site-2 and site-3. site-1 and site-2 are sigle page sites. site-3 contains child and grandchild pages. I want the same nav to appear on ...
0
votes
0answers
50 views

Custom menu walker: Repeating a menu item when it has children

I am trying to repeat a menu item when it has children. To better understand, maybe take a look at this example markup: <ul id="main-nav"> <li>Item 1</li> <li ...
0
votes
0answers
26 views

Multisite navigation with site pages [duplicate]

I have a WP multisite set up that contains 3 sites. Every page has a central navigation that links to each site. I'm using this code to create the nav linking each site: <div ...
0
votes
0answers
15 views

How to create new options within the menu?

I have created a custom menu using the walker class which was fairly simple but for the life of me I can not work out how to add options to the navigation item. For instance I am wanting to make a ...
0
votes
1answer
47 views

Display all posts thumbnails when viewing a single post

The idea is - when a user is viewing a post, he has the thumbnails of all the other posts in the bottom or something like that. It sounds simple at first but what I'm looking for is something similar ...
0
votes
1answer
22 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
0answers
49 views

Page Navigation not working for the next pages

I use a custom template to display the lists of post. The pagination design works, and even the post_per_page works but then it only display the post indicated for the post per page. so when clicked ...
0
votes
0answers
18 views

current_page_item not being added in menu output

I've created a menu that I call on using following code. <?php wp_nav_menu( array( 'menu' => 'Primary Nav', 'container' => '', 'items_wrap' => ...
0
votes
0answers
61 views

Adding a custom field/property to wp_nav_menu object

i'm a noob with wp, and have been trying to search around to find a way to add a option/setting/custom meta field to a navigation menu object where i can flag it as being a global nav; this is to be ...
0
votes
1answer
83 views

posts_nav_link on single post template

I have a post type called journal and on the single-journal.php template I am querying the rest of the journal posts like so: <?php query_posts( array( 'posts_per_page' => 4, ...
0
votes
0answers
153 views

Wordpress Wp_nav_menu How to create Columns in submenu

i have been trying to develop custom navigation in wordpress. i want to add columns in sub menu item. i want to add images in navigation as well as create Multi column Navigation. Please check this ...
0
votes
1answer
21 views

How to make previous_post_link into an image [duplicate]

I would like to make the previous and next post link into an image instead of a link text e.g. <a href="%link"><img src="" /> </a> so whatever the size of the image it would be ...
0
votes
1answer
277 views

Bootstrap 3 - how to to highlight the parent background when hovering over the child menu

Hello Wordpress Guru's. I would be delighted for some assistance with a simple issue. I am using the wordpress-bootsrtap-master theme. I would like the parent of the menu item to remain highlighted ...
0
votes
0answers
16 views

How can I put a custom field value that needs to be inside the loop, in a custom menu via functions.php?

How can I put a custom field value that needs to be inside the loop, in a custom menu via functions.php?? I'm working on a bilingual website and I'm using the Bilingual Linker plugin. I was able to ...
0
votes
0answers
17 views

Custom Link Not Registered as Nav Menu Parent

My issue is that I have a horizontal menu, with a few hashed - '#' - custom menu links to prevent users from going to empty pages (the main categories were just made pages for the link structure). ...
5
votes
2answers
121 views

How to model a hierarchy for courses, levels and lessons?

I'm a bit of a wordpress noob and I'm diving head first into a course creation plugin. The structure will go program > course > level > lesson. Right now I have lessons set up as a custom post type ...
-1
votes
1answer
251 views

Previous / next posts using featured image thumbnail as links

I need navigation to two previous and two next posts, inside same category. I made it working great for one previous and one next post inside same category. This is what I have now. Previous post: ...
0
votes
1answer
69 views

add custom classes to anchore in wp_nav_menu

i wana add custom class to anchores in wp_nav_menu outputs. default for example is : <li id="menu-item" class="menu-item menu-item-type-custom"> <a ...
0
votes
1answer
53 views

get_adjacent_post_link excluded_terms ignored

I call the function ´get_adjacent_post_link´ using the argument ´$excluded_terms´. But this argument is ignored. This is how I call the function. get_adjacent_post_link( '%link', '<span ...
0
votes
1answer
113 views

How to remove dropdown from wp_nav_menu

I dont want to have dropdown (select - options) in my wordpress menu, even in mobile or lower width devices. I know I can use css to hide it, but I want to remove it at all. I googled for an hour and ...
0
votes
1answer
118 views

wp_page_menu not working right?

I try to create simple menu in custom theme. WordPress version is 3.9.1 So I taking code from here http://codex.wordpress.org/Function_Reference/wp_nav_menu, just change menu and container class / id ...
0
votes
1answer
146 views

WordPress 3.9 two menus in same position?

I have a new WordPress theme and I want to add extra menu, but as WordPress 3.9 allows only one menu to add in one position/places in theme? How can I add two menus in one position? I purchased the ...
0
votes
2answers
48 views

:first-child applying to all links [closed]

I am trying to remove the margin-left:10px; from the first menu item in my main navigation. I am ussing a wordpress custom navigation for my site. I have tried the :first-child method but this seems ...
0
votes
2answers
345 views

How to make Next and Previous attached image navigation on the attachment page? [duplicate]

How to make Next and Previous attached image navigation on the attachment page? ' . __( 'Previous Image', '$text_domain' ) . '' ); ?> ' . __( 'Next ...
1
vote
0answers
147 views

How to add swipe action to wordpress pages

I have a news website. I have the main front-page and also a couple of "sub" front pages (sport, social). The other sections works through category.php. I like to add a touch gesture functionality, ...
0
votes
1answer
25 views

Highlighting Main Navigation Menu With Two or More Class Matches

I believe this doesn't happen very often. I am working on a project in which a child page can show up under several different parent pages. The page actually belongs to just one parent, but in the ...
0
votes
0answers
31 views

WordPress HTML Menu

I'm trying to get the menu on my WordPress site to append the class like so: <ul class="nav navbar-nav navbar-right"> <li><a href="/">Home</a></li> <li ...
2
votes
3answers
1k views

Add Javascript to Wordpress Menu

Is there a way to put javascript in the URL portion of a Wordpress menu item? I have a live chat function on my site, and I am supposed to put this code onto the site to make a link to open the live ...
0
votes
0answers
140 views

Bootstrap Nav Menu not showing more than 1 dropdown

I have this code to show my navigation menu in the functions.php file. class BootstrapNavMenuWalker extends Walker_Nav_Menu { function start_lvl( &$output, $depth = 0, $args = array() ) { ...