A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [navigation]

A structure with links used to help you navigate from page to page.

Filter by
Sorted by
Tagged with
-1
votes
0answers
13 views

Increasing the size of the main menu [closed]

How do I increase the size of the menu as some of the items are appearing on the second line? Is there any way we can do it in css?
0
votes
0answers
20 views

How to create a dropdown menu with a top margin (or just a gap) ? Mouse can't keep the dynamic active

I want to create some vertical space between my parent menu and its dropdown menu, but if I give it a top-margin, the mouse is not able to hover over the menu and keep it actively displayed. This is ...
0
votes
1answer
20 views

Wordpress nav_menu items from another menu appearing

In my website i'm using two separate nav_menus, one to the legal pages and other for the main navbar... For some reason some items of the main menu are appearing in the secondary menu, even though in ...
0
votes
1answer
16 views

Text symbols in the navigation menu

Just faced the following issue. The problem is when I paste the font-awesome code in my navigation menu point I see the text <i class="fa fa-shopping-cart" aria-hidden="true"></i> (...
1
vote
0answers
22 views

Making a navigation header menu with bulma, need some advice

I'm relatively new to wordpress and php and currently I'm in the weeds trying to wrap my head around creating a custom navigation menu using the structure and css instructions provided by bulma. ...
-1
votes
1answer
25 views

How can I get the first post THIS SAME CATEGORY?

How can I get the first post THIS SAME CATEGORY? It's just that now he takes the very first post that is generally in this type, but it is necessary that he takes the first post in the same category ...
1
vote
0answers
31 views

current-menu-item class is not added

Trying to style the active class of my navigation menu on my one-page theme, I have noticed that wordpress does not assign the current-menu-item class. Why is this happening? Can you help me? It is ...
1
vote
0answers
14 views

How to show all pages in blog navigation?

I'm trying to show all pages (ex. 6) in pagination navigation in my blog. I've got following code in my functions.php: function numeric_posts_nav() { if( is_singular() ) return; ...
0
votes
0answers
51 views

WP Bootstrap Navwalker not displaying 'current-menu-item' class

Here's how my output HTML <!-- Navigation --> <header class="nav"> <div class="nav__holder nav--sticky"> <div class="container-fluid nav__container ...
0
votes
2answers
14 views

How can I click the parent menu then redirect to a special URL?

You see I have a Navigation bar items, in the parent item Products & Services with two sub menus. I have a requirement, when I click the menu item Products & Services it redirect to its sub-...
1
vote
0answers
38 views

Restoring default article pagination on archives – Removing custom limits

I am working on a website that is a customised WordPress installation running WP 5.2.4. There are a number of categories, as follows: main_category (id 71) other_cat_1 other_cat_2 etc. The post ...
1
vote
1answer
19 views

Prev / Next menu item

I have a menu on the right-hand side of my website https://blazor-university.com/ Above the menu I want a link for the previous menu item, and the next menu item. I can't find anything that does this....
0
votes
1answer
21 views

How to create a Child & Siblings menu for a custom post type?

I am looking to create a menu that displays the child pages when on a parent page, but to then show the siblings when on any of the sibling's pages? -Car --VW --Ford --BMW -Bike -Motobike So ...
0
votes
0answers
28 views

Restricting navigation/site structure management by group permissions

would have thought this is/was doable, even if not with out-the-box functionality then with some well established and well know plugins but tried searching but can't seem to find the answer/solution. (...
0
votes
1answer
25 views

How do I display menu in header without loosing styles?

I have downloaded a template and trying to convert it into the wordpress theme. How do I add the menu in wordpress and not loose styles that are applied to it? I have this code in my header.php <...
0
votes
2answers
56 views

How to automatically add counted number to navigation menu items?

In my website I need a navigation menu to show arrangement of my posts. So I need the navigation menu to count the items and display the number of every item as a label before the title of that item. ...
0
votes
1answer
33 views

What is inside in $item in start_el function in Walker_Nav_Menu class

I want to know what are exactly inside the $item in start_el function in Walker Class. Thanks in advance
0
votes
0answers
24 views

Multi-Level Nav Bar

Is there anyone here with a sample code for using walker class with multi-level function. I have a Nav walker class but it seems that it can only traversed to first element like this: <ul> &...
0
votes
1answer
25 views

Navigate through the posts using keyboard arrows

I'm building my site on localhost and I'd like to navigate to next and previous posts by using keyboard right and left arrow keys. I know about the WP functions get_adjacent_post, get_next_post and ...
0
votes
1answer
16 views

Adding additional html to the end of the root level in a custom nav walker

I have a custom nav walker, which essentially just add's new classes to the menu, however, my menu also contains some hard coded elements at the end (Contact button & Search Icon). Where/How to ...
0
votes
1answer
33 views

How to add css to single navigation text? [closed]

I only want to edit the "ticket". in the photo I only add the CSS in the inspect. I want it to be that size.how to put CSS in that span ?? I did add extra CSS class in the menu. but it only changes ...
0
votes
1answer
8 views

How can I order these pages in this navigation bar on this old wordpress theme?

It's using a superceded theme with no support. Even so, the theme has been working great for about a decade... Here is the site: https://www.vertebr.ae There is no menu to organise in the ...
0
votes
0answers
17 views

Header with both normal menu and sidebar navigation menu

I'd like to have something like the tinder homepage, with a few text menu icons, followed by a hamburger widget, that opens a sidebar menu. Currently I have tried using oceanwp, and astra themes, and ...
0
votes
0answers
23 views

language-[content-] switcher in mega menu - without any ml-system

language-[content-] switcher in mega menu - without any ml-system. i just plan to create a new site where i use Max-Mega-Menü etc. etx estimated textamount max 2000 words - in five languages: ...
0
votes
1answer
87 views

Adding toggle-able element after menu item

I've got this menu on my site: <ul id="menu-primary" class="offcanvas"> <li class="menu-item menu-item-has-children"> <a href="#">Parent</a> <ul class="...
0
votes
1answer
11 views

Pagination (including title of each page) in a post for a long posts

I currently have pagination on my website for long posts. I have split the post into several pages. But it only displays the page number with navigation arrows, but not a title for each page in a ...
0
votes
1answer
27 views

Redirect User when they click Menu Option

I am setting up a new website where I am managing a small amount of clients. I have created a menu page that when the user is logged out it basically just tells the user to login. But I want to code ...
0
votes
1answer
26 views

Change text color dynamically in Wordpress [closed]

I would like to have a transparent nav bar. On the landing page, there will be a slider with images of varying colors, so I would like to change the text color of menu items to contrast against each ...
0
votes
0answers
25 views

Build Isotope filter groups with category terms

Sorry for the large question. I'm a bit lost and I want to provide all data possible for problem understanding. There are two options for achieve the goal. First, build the markup with a walker, ...
0
votes
0answers
12 views

Issue with Transparent Navbar on First Load

This is a test website I am i the middle of created – http://newsite.camerabeanbags.co.uk The issue I am having is that the Top Navigation Menu/header should be transparent when the page is at the ...
0
votes
1answer
77 views

Navbar is hidden behind carousel when using wp-boostrap-navwalker

I'm trying to show a navbar over a carousel within wordpress. To achive this I'm using WP Bootstrap Navwalker (https://github.com/wp-bootstrap/wp-bootstrap-navwalker) Without WP Bootstrap Navwalker ...
0
votes
0answers
20 views

Change URL of previous posts and next posts link in Wordpress

I'd like to change the URL of the <?php previous_posts_link ?> and <?php next_posts_link ?> that are being outputted by Wordpress. Problem: When I am on my single page, I am getting ...
0
votes
0answers
6 views

Touch device friendly navigation

A client purchased Genesis Education pro theme for their site, now, the responsive navigation works 100%, but that's controlled with media queries and device width. On tablets and laptops, you still ...
0
votes
0answers
19 views

previous_post_link & nex_post_link on single.php

I have wierd issue. I need to create posts navigation on single php. I use previous_post_link() and next_post_link() and it's only navigating through 2 posts although I have 6 published. I also ...
0
votes
1answer
21 views

Searching for a one page overview widget

I am currently using the Lodestar theme. My website is built up in a way that the navigation bar at the top leads you to different pages which have a one-page static structure. To allow for ...
0
votes
0answers
142 views

Warning: sprintf(): Too few arguments in nav-menu-template.php

I installed new template (increased max and post fields) and after that the site shows in main page an error: Warning: sprintf(): Too few arguments in nav-menu-template.php What should I check? If ...
0
votes
0answers
23 views

Navigation sticky box with anchor links and highlight

I have long pages in my site, in which I would like to put a sticky box containing the titles of the paragraphs/sectiones, so that it will be easy to navigate through the page: by clicking on one of ...
0
votes
0answers
19 views

Search to another page

I need a bit of help and been scratching my head with this one. So i have a main page and would like a search box but this search box to only search to another page so I have page number 5106 ...
0
votes
0answers
25 views

How do I add this custom nav menu to my wordpress?

So I'm trying to recreate the nav menu over from stripe.com over on wordpress, and I found this tutorial. I haven't found any plugins that can recreate the stripe nav menu effect so I'm resorting to ...
0
votes
1answer
23 views

Sidebar pagination posts not shown when sidebar is in single.php

A quick question. So I have created a loop in a new file called sidebar-extra.php which I include via the header.php into my single.php file. Problem: when I go to a post (single.php), I can't see ...
0
votes
0answers
34 views

How to add Buddypress user avatar to navigation menu item

So i have installed buddypress on localhost what i am looking to do is add user profile image (avatar) to navigation menu item something like this,
0
votes
1answer
39 views

How can I show a custom WordPress menu anywhere I want on my website?

I went into Appearances > Menus and created my own menu called "default menu." Then I tried to include it in my WordPress theme, but was unsuccessful. I am trying to include it just before the footer. ...
0
votes
2answers
236 views

Wordpress Menu Navigation links not working

Navigation Menu links not working, but the bootstrap CSS is working. Can anyone help me in getting the links working? Thank you <ul class="navbar-nav mr-auto"> <?php ...
1
vote
0answers
82 views

Automatically list top level menu item child pages

I am building a website that has a lot of pages. The client is not a big fan of the Wordpress menu builder works (in appearance -> menus), and we have come to the conclusion that the best way for the ...
0
votes
0answers
22 views

WP Bootstrap Nav (not JS, not missing ID)

For clarification: I'm using a bs4 navwalker, and Bootstrap 4. Creating a WP Theme from scratch, so I'm learning, and experimenting. I've spent a few hours reading through a variety of issues ...
0
votes
1answer
172 views

set certain item in nav walker to active when on archive pages or singles

I have created an event custom post type and a link in my menu to the archive page for that event (/events). I'm using wp_nav_menu() to call the menu. When I'm on /events the menu has the ...
0
votes
0answers
30 views

Change markup for just 2nd list element in custom Walker menu

I have been struggling a bit with this idea. The thing I want to achieve is that all elements are regular dropdown but the second one is a megamenu styled item. And for that I have prepared markup ...
0
votes
2answers
44 views

How to add nofollow to the_post_navigation?

I tried to edit original the_post_navigation, inside the loop, so I could get the rel="nofollow" inside of it the_post_navigation( array( 'mid_size' => 3, 'next_text' => __( '...
0
votes
0answers
13 views

How can I hide a menu item from navigation menu when that section is empty?

I want to hide the news section from navigation menu when there's no news in the site.
0
votes
0answers
12 views

How to add a menu when user is logged in (via my own database table)

I am trying to let the user login via my own table that I created in phpmyadmin. I also am using an insert php plugin so that I can insert php into my code. How can I make it so the user can see a ...