Questions tagged [navigation]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

How to dynamically populate a dropdown

I am tasked with creating a subnav in the body of our custom-built pages. The nav's last item is supposed to be a clickable dropdown (a "more" button) that can dynamically populate if extra pages are ...
0
votes
0answers
6 views

display all product categories in an existing menu item

Is there a way to place all the product categories in an existing menu item by using this snippet ? Create a Custom menu item fetched by Product Categories and Sub Categories The idea is, I have a ...
0
votes
1answer
20 views

Wordpress site hamburger menu toggle not working

When I shrink down the browser to test for mobile responsiveness, the hamburger menu does not open, even after I clicked on it. I have tried everything from troubleshooting my plugins to searching all ...
0
votes
0answers
7 views

Adding / Finding ID for Custom Walker start_lvl

I'm trying to figure out a way to get a dynamic ID to use in a custom walker. I'm using bootstraps "collapse" class to build a tree / accordion type menu, but right now the ID is static which causes ...
0
votes
1answer
13 views

How to replace home link anchor text with image

I'm trying to replace home link text with an image for breadcrumb trailer. Mouse cursor is still pointer but image doesn't appear. I'm using this breadcrumb trailer How could I this working please ...
-1
votes
0answers
13 views

Unable to see Navigation sub menu items on desktop (hidden) but visible on mobile

Unable to see Navigation sub menu items on desktop (hidden) but visible on mobile. (Wordpress) Using a theme and am unable to view sub menu items on desktop, however its visible on mobile. Any help ...
0
votes
0answers
12 views

Wrap to First/Last when Linking to Previous/Next Post

I am trying to display two links, previous and next post in the current category. What I have so far works fine, but how do I make the next link to the first post when on the last post and vice-versa,...
0
votes
1answer
12 views

wp_nav_menu container style args

I am trying to add CSS from a html theme that I included. When I add my primary menu function that I defined to load my menu section I don't know how to include CSS as it return a defult ul style. ...
0
votes
0answers
10 views

Custom header with logo in bewteen navigation menus

I'm new to wordpress and coding in general, but I'd usually code with the help of bootstrap. I am currently building a website for a local charity (using wordpress) and I would love to have anyone's ...
0
votes
1answer
19 views

Add/remove image from navigation bar

I am picking up the work from one of our developers who has left our company and applied a background on our header seen here http://3.20.227.107/. When you scroll down you will see the header has a ...
1
vote
1answer
17 views

Hide Menu Unless Logged In

I have one menu that I created called "Main Menu" and only want to show it to users that are logged in. I have only been able to find plugins that allow me to show/hide individual menu items, but not ...
0
votes
0answers
6 views

Navigation Block Link Visibility

I created a navigation menu using a navigation block. Is there any way to hide/show a specific link in that block based on ultimate member user login? For example, I want the Login link in the ...
0
votes
0answers
32 views

Can I now add a class in the anchor of my menu item with Wordpress 5.4?

I am using the following code in my functions.php file: function add_menuclass($ulclass) { return preg_replace('/<a title="All"/', '<a title="All" class="addition-of-class-name"', $ulclass, 1); ...
1
vote
0answers
15 views

Hide Login information in Account settings in Buddy Boss

First time working with Buddy Boss. I managed to customize the navigation items on the profile page, but I can't find a solution for the Account settings page. What I'm trying to achieve is to hide/...
1
vote
0answers
11 views

Creating a navigation menu to see where you are on your website

I want to create a "navigation" menu - I don't know what they are called and I'm having a hard time googling it as it is not a navigation menu as such or a sub-menu or pull down menu ect. I just want ...
1
vote
0answers
22 views

How to create a submenu that will navigate through different posts in the same page

I came across this website and it will be the best explanation of what I want to create if you just take a look but yourself. I asked the creator but he doesn't reply. Please visit: https://www....
0
votes
0answers
19 views

Misleading behaviour on Menu & Theme location

I've got the following usual menu registration function: function my_register_menus(){ register_nav_menus( array( 'primary-menu' => __( 'Primary Menu', 'text_Domain' ), 'footer-...
1
vote
0answers
12 views

Hide post navigation if current post is in a category with only one post

I have the CPT "proyectos" and the custom taxonomy "servicios" I have navigation arrows inside the single CPT template to navigate between posts in the same category. Some taxonomies have only one ...
0
votes
0answers
16 views

I want to edit onepress theme global navigation

I want to edit onepress theme global navigation Currently, I am building a site using the onepress theme, but I want to add h1 text around the position where the logo and title of the site can be ...
0
votes
0answers
37 views

Bootstrap Theme Migrated to WordPress

Looking for your expertise, as I'm fairly new using WordPress and I'm in the process of migrating bootstrap theme into it. Problem: I have a navigation menu in the header and want to have a ...
-1
votes
2answers
21 views

In category.php I need to get the next 10/previous 10 posts

I have a site that uses categories to output posts into categories.php. I don't have single posts using single.php What I need is for a 'next 10' / 'previous 10' links in the category a site visitor ...
0
votes
1answer
41 views

Wordpress + Bootstrap: Replace primary navigation menu on mobile?

So, I have a site that has a main navigation bar at the top and a secondary nav in the sidebar. The secondary nav includes the same links in the main nav but with dropdowns for the child pages. It ...
0
votes
1answer
21 views

How to add all subcategories as submenu in WordPress menu

I've more than 450+ WooCommerce product categories and subcategories. I want to add them all in the menu items, categories as a top level menu and subcategories as submenu. Is there any way to ...
2
votes
1answer
84 views

Move WP Admin Bar

I am trying to move the WP Admin bar on the front end to below my themes main header navigation, as well as make it the same width. I am using the GeneratePress theme and am getting support from them ...
0
votes
1answer
31 views

is_tax() conditional tag not working

I have a menu item where a CSS class is added with a 'page_active' class (which visually shows an underline under the relevant item). This is added on certain menu items if the is_page('Latest') or ...
0
votes
0answers
21 views

Dynamically change prev next navigation within custom single post page

I have a custom post type with 3 custom taxonomies with it as follows: Object Gallery Community Category I have 3 post pages, one for each taxonomy, and filters within it. So I can see objects ...
1
vote
0answers
268 views

“data-vocabulary.org” is showing warning in Search Console for Breadcrumbs

Just now the data-vocabulary.org is deprecated, so what is the solution to solve this. Should I replace the data-vocabulary.org with schema.org This is the code added in my WordPress: <div class=...
0
votes
0answers
81 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
24 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
56 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
54 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
26 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
36 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
19 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
342 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
37 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
41 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
24 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
30 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
30 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
27 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
93 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
52 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
34 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
68 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
23 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
35 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
22 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
33 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: ...

1
2 3 4 5
17