Questions tagged [navigation]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

mobile navigation menu links are not opening anything after click in WordPress [closed]

mobile navigation menu links are not opening anything after click in WordPress
0
votes
0answers
15 views

Bootstrap Navigation

<div class="mobile-menu"> <ul id="mobile-menu" class="menu"> <li class="dropdown"> ...
0
votes
0answers
10 views

Menu items not found on category or tag page

I have the following menu call in the header.php file <nav id="site-navigation" class="navigation main-navigation" role="navigation"> <?php wp_nav_menu( ...
0
votes
0answers
21 views

Is it possible to have a Previous/Next post on my blog? [closed]

I am not sure why, but there doesn't seem to be a way to have previous/next buttons on my blog in wordpress! Its most upsetting. I am using Colibri theme.
0
votes
2answers
37 views

add another html tag after li element in wp_nav_menu

I have a nav menu in footer. I just want to display it side by a <p> tag, I mean something like this <ul> <li> <p>copyright C 2021</p> </li> <li> contact </...
0
votes
2answers
98 views

Add a counter beside menu item label

I'm using the following code to add a panel to the admin menu screen, so the users are able to add a Cart link to their menus: function my_add_meta_box() { add_meta_box( 'custom-meta-box', __( '...
1
vote
1answer
16 views

wp_list_pages to show all pages on all sub pages

I have this code to list my parent page and all pages under it on the sidebar. It shows both parent and child pages on first two levels but when I open a third level page, it only shows the current ...
0
votes
1answer
16 views

Get Each Menu Nav Label of Menus in HTML tag

I have footer menus built with wp_nav_menu using code below: wp_nav_menu( array( 'container' => '', 'depth' => 1, 'items_wrap' => '%3$s', '...
0
votes
0answers
21 views

Nav Bar icon not working after click

My navbar icon is not working after a click. Here is the website. The icon is in the upper right corner. Any ideas?
0
votes
0answers
22 views

Bizarre Child Menu Issue on WP Site

I have a bizarre problem that I just can't figure out. I have been fixing this site for almost 3 days with so many customizations that the previous developer did. The structure of this site was ...
2
votes
1answer
21 views

Second nav is merged with the first in mobile

When I load the website (https://notes.goncaloperes.com) on mobile one can see the two menus/navigations that exist However, when it loads, the two navs are merged and the second menu buttons can ...
0
votes
0answers
7 views

Navigation labels showing on some web-pages while not showing on others

Hopefully someone could give me a valuable hint regarding the following issue :) Navigation labels are showing correctly on such pages like (get a look at the sidebar on the left, please!) https://neu....
0
votes
0answers
12 views

Navigating Wordpress Articles From Parent Category?

Good day, please tell me how to fix the navigation in the parent category. For example: Parent Category - News - Subsidiaries (Company News and Market News) Pagination now works within the category, ...
0
votes
1answer
13 views

Hide a menu (navigation bar) on all posts

I would like to know if it is possible to hide the navigation bar on all posts. Thanks so much.
1
vote
0answers
20 views

I want to remove numbers from the_posts_pagination function

I am not good in editing theme codes especially with wordpress but I tried to on my own to edit the pagination in my theme archive.php which include numbers (1,2...10) and next/prev links. <?php ...
0
votes
1answer
10 views

retrieves menu and converts it to a readable array

I have added this code in function.php to retrieves menu and converts it to a readable array but It's not working and give me this warning. Warning : Invalid argument supplied for foreach() in C:\...
1
vote
0answers
26 views

How to remove role=“navigation” from all nav elements?

I did a W3C validation of my wordpress website and I got several warnings like this: The navigation role is unnecessary for element nav. r">↩ <nav role="navigation" class="...
1
vote
0answers
9 views

Add clickable arrows to parent menu items with children elements e.g. with <em>

I am currently working on a website with a custom theme where the following behaviour should be possible for the mobile version: The navigation can be opened via a hamburger button. Then all parent ...
0
votes
0answers
14 views

Get Navigation Menu name, pages and subpages into a variable

If I have a defined Nav Menu that is named MAIN MENU and within MAIN MENU are the pages: Main Page Sub Page I Sub Page II Sub Page III What is the appropriate terminology used for Main Page and Sub ...
0
votes
0answers
20 views

Breadcrumb - Getting Nav Menu Items

I would like to create a breadcrumb function that uses the created Nav Menu in the WP Admin Panel. I've seen register_nav_menu and wp_nav_menu for themes, but they're irrelevant as I'm using Elementor....
0
votes
1answer
28 views

Nav Menu: Theme Location not working

Why do my created Menus on the WordPress Admin dashboard appear in customtemplate.php DESPITE not defining it the correct 'theme_location'? It will show in that location EVEN if the created menu in ...
0
votes
1answer
39 views

Manually adding current_page_parent to wp_list_pages()

I'm using wp_list_pages() like so: <?php wp_list_pages('title_li=&include=1714'); ?> But would like it so that the link has a current_page_parent class under the following conditions: if (...
0
votes
1answer
16 views

I want to show cart items number if any or nothing, simple CART text

I am making a custom WooCommerce site and stuck at coding the CART link. I want the link to look simple text "CART" when there is no item in it. But to show the number of items if any like &...
0
votes
0answers
21 views

Programatically Created Menu not Editable in Dashboard

When my custom theme gets activated, it programatically creates some default pages with custom templates, a nav menu, and several menu items. This saves me a lot of time not having to do those same ...
0
votes
0answers
13 views

Exclude a parent page with get_pages()

I have the following code: <?php $pages = get_pages('exclude=10'); ?> <?php foreach ( $pages as $page ) : ?> <?php echo $page->post_title; ?> <?php endforeach; ?> I ...
0
votes
0answers
20 views

Is it all right to put the whole <head> tag into template_part file?

I need to have more than one headers so this looks as a good idea but I'm not sure if it is valid. If so, what am I supposed to name a file? I named it head.php so far. Example: <html> <!-- ...
0
votes
0answers
16 views

Does single webpage do not need navigation to create a slug in permalink?

I have concern about the permalink in my working project do i need to create a slug for the permalink in navigation. Your answer will highly appreciated. Someone help me stock in
0
votes
1answer
24 views

Is it possible to add a dynamic link in the main navigation in a child theme

My client would like to have a link to the most recent post in the main navigation, but still be able to manage the navigation through the dashboard as usual. I did not find a plugin that will do this ...
0
votes
0answers
27 views

Current menu item highlights wrong

The menu is with different types of links equipped. The first is a link to a subsite. The other is with to an anchor link. The problem is that the anchorlink is highlighted on the homesite. If I don't ...
1
vote
1answer
316 views

Change Navigation Bar based on logged in or not

I am using the BuddyBoss theme (BB child theme active) and need to control which menu appears based on whether the user is logged in or logged out. Logged out are granted access to a few URIs but most ...
0
votes
1answer
18 views

How can I include ALL post types in the_post_navigation() links, not just current post type?

I have a site with several Custom Post Types: blog posts, movie reviews & book reviews. In my single.php template I call the_post_navigation(). When viewing a blog post the previous and next links ...
0
votes
0answers
22 views

White screen of death on index.php page 3 and above?

I am experimenting with custom loops and following the tutorial of the illustrious Chip Bennett, and I actually got everything to work on index.php! ... Up to, that is, page 3. Everything works lovely ...
0
votes
0answers
22 views

Wrap <div> around navwalker elements

So I'm having some issues and I can't figure out how to solve them, I've recently started working with WordPress navwalkers and I'm stuck on a particular piece and I can't figure out how to get around ...
0
votes
1answer
40 views

How to set Nav as a default menu in wordpress

I am new to WordPress and PHP. I have created 4 menus but when I load the website (at path /), it shows "No post found"(because I am not setting any default page). I wanted to use one of the ...
0
votes
0answers
11 views

Can you start a WordPress menu at at depth other than 0?

WordPress allows you to set the depth of a menu using wp_nav_menu. I have a 4 tier menu, and the first two tiers are in the header, while the next two tiers are in the side nav. They all need to exist ...
0
votes
0answers
12 views

Creating sub-slugs without actual parent page

I would like to create individual pages for each member within a team: http://www.example.com/team/person-a http://www.example.com/team/person-b In the navigation menu I provide a parent entry ...
0
votes
0answers
18 views

Extend wp_nav_menu() code

Whats the most simple way to change my wp-menu generated output from <ul class="primary-menu"> <li class="menu-item"> <a href="">nav link</a> ...
0
votes
0answers
16 views

How do i show my HTMl5 Navbar on my Wordpress Navbar?

I am learning HTML, CSS, JS etc practically basic web design. I have made a navbar using HTMl5, CSS, Bootstrap, JS etc. I was wondering is it possible to make the navbar I made in HTML5 the navbar of ...
0
votes
0answers
99 views

Header displaying for mobile in elementor dashboard is different than coming on mobile

I have used this theme(https://themesgavias.com/wp/vizeon/) to create my website(https://talbizsolutions.com). I have created a header in the header builder but it is somehow not showing up on the ...
1
vote
0answers
19 views

Reuse a custom WordPress menu on another WordPress website

My WordPress website consists of two separate WordPress installs (one lives in a subdirectory). From a visitor's perspective it feels like one single website. To achieve this I had to manually ...
-1
votes
1answer
15 views

How can I create a navigation menu in the sidebar that can also act like a slider?

I am trying to create a page with a series of lesson/tutorial and looking to have something like a menu on the right/left side bar so the access to the topics are easier. Something like in the page ...
0
votes
1answer
56 views

How to remove empty <a> line space in navigation menu?

I have a custom link(user manual) going on in my navigation menu. I leave the original <a> empty and link a automatically download pdf under navigation label area. Now my menu has an empty space ...
0
votes
1answer
49 views

How to exclude posts by meta key value in the_post_navigation next prev links?

Context: We created a plugin, that allows posts to be either in web, mobile app or both. This is done via meta key. When shown only in mobile app mode, then its hidden from web. The plugin code, that ...
0
votes
1answer
19 views

How to change the navigation menu

I am fairly new to wordpress but i am having trouble working out how to customise navbar .I have added a new page.I created a new about us page.How to change the navigation bar of my about us page. ...
0
votes
1answer
30 views

Is it possible to get_the_post_thumbnail (Featured Image) inside a sprintf function?

I am trying to add the featured image of posts to my mega menu. I want to display the featured image inside a div tag. How would i add the featured image inside of a sprintf function? $thumbnail = ''; ...
0
votes
1answer
18 views

Prev/Next Navigation on Single Post Disappeared for Custom Post Type

Hope it's okay to ask this question here - I'm not really a developer. I've been using Dox theme for a friend's website, and we are ready to go live over the weekend and the Theme developer isn't ...
0
votes
0answers
64 views

3 Level Menu Navigation (3rd Level not displaying)

I am using wp_nav_menu on my wordpress theme but I can seem to figure out how to display the last level on my menu navigation. I would like the last level to display on hover of the parent item. Here ...
0
votes
0answers
13 views

Sub Menu Do Not Appear in Homepage

i have a problem here, i try to make 3 level navigation menu, but only 2 of 3 navigation menu are showing. This is my homepage When i try to inspect element from browser, i saw the sub menu. I try ...
0
votes
0answers
16 views

Need to limit the previous/next post links to current author editing post

I installed a plugin to be able to display a previous post / next post option in the backend, in the post edit screen. However the code does this for all posts and we really would like to build in a ...
0
votes
0answers
14 views

Add text before anchor link for product menu item type

I'm working on a nav menu that includes WooCommerce Products for part of the menu items. I am looking to add the WooCommerce thumbnails to the menu items that are products, but I can't seem to find ...

1
2 3 4 5
18