URL submenu if primary menu is custom link wordpress - wordpress

this is my situation in a wordpress menu :
Example 3 is a custom link, so the URL of submenu is
www.site.com/sub1 and not www.site.com/example3/sub1
www.site.com/sub2 and not www.site.com/example3/sub2
How to do?

let me just post the answer here. Check out my demo site
http://dev.blurbpad.com/21sthomeloans/
Then hover over About Us in the Menu, you will see two sub pages. Open both in separate tabs. I think what you want to happen is what I did in subpage 1 where it's not showing in the url the-company (like in sub page 2)
The only time it will say that in the URL is if you made the another page a parent of the sub page (in this case "about us"). If you just make the adjustments in appearance>menus in wordpress, and not make it a child of another page, then the URL will not be affected.

Related

One Page links with #

This is a question about a One Page website (WordPress theme: OnePress). The page has different sections. We also added a blog. When we are on the homepage and we click a section in the menu, the URL stays www.mypage.com. When we are on the blog page, and we click on 'Home' for example in the primary menu, the URL in the browser becomes www.webovo.nl/#hero. When we press a different section, the link doesn't change. It stays www.webovo.nl/#hero.Our menu consists of all the sections, so www.webovo.nl/#about for example.
What can we do about it? We want the URL to be www.webovo.nl when u go from the blog back to the homepage. It isn't possible to change the link to www.webovo.nl because we want the link in the menu to go to a specific section, but we don't want the www.webovo.nl/#hero to stay as the URL for the whole user session.
u can see the problem by going to webovo.nl/blog, press contact and then press a different menu link. The #contact stays in the URL.
Rick
You can change the Home link to say http://www.webovo.nl/ instead of #hero. The link locations should be editable in the admin > Appearance > Menus, or where your custom theme settings are.

Wordpress rewrite url /item1 to /about-us/item1

I have a situation where I need some custom routes in my Wordpress set up.
In my menu, there is an 'about us' item (which I set as a custom link) but it is not clickable, and just has 2 sub items in a drop down. The 2 sub items, are pages that do not have a parent page.
So when I click on either of those sub items i get this for example. www.example.com/item1 but I want it to be like this www.example.com/about-us/item1
I've made the 'about us' item as a custom link in the Wordpress menu builder with no actual link because the client wants that as the header item with those 2 children, but doesn't want a standard 'about us' page so it does screw up the urls.
Is there a function I can use to rewrite the urls, and will the default search give me the new urls back as the permalink if they ar found in the search results?
I guess I could create an 'about-us' page, but not do anything with it except using it for hierarchy purposes but it seems a bit messy to do that, plus I don't want the risk of it showing up in search results at all.
You have to create the child page with those sub pages and then use custom links for your entire About Us nav section with dropdowns. There is no other way to do this unfortunately.

How to disable top page from dropdown menu wordpress?

I relly need help. I made a wordpress website, but i dont know how to disable top page from drom down menu.
I want to turn off page "Apartmani" because it is a empty page, so can you tell me how to disable that page and when you want to click on it nothing happens.
Here s the picture http://www.dodaj.rs/f/t/13H/495kOjY8/pitanje.png so i want to unable "Apartmans".
Thanks
The easiest way for you do do this is not to add this "Apartmani" as a Page in your menu, but as a simple link (as you can add custom links in your menu), with "#" as target. As is you will have a menu item that will handle its sub-pages, but this item will not lead to anything at all as long as the targeted link is #...

How to remove homepage navigation link on every page?

I am working on one wordpress site. i have total three page in my site for ex: home, one and two. my problem is whenever i move from home page to another page like home to one page then home->one this type of navigation link shown on every page like home->name of page. how to remove this link.
Which WordPress version you are using??
May be your theme support breadcrumb functionality.
You can check it from admin side.
Try to find breadcrumb's code in your header.php(or index.php, etc) and delete or place it between
<!--breadcrumb's code-->
If your theme has custom options menu and you can turn off breadcrumbs. Check it.
Also double check if pages one and two are child pages of home.

Navigate on same page with wordpress menu

Is it possible to navigate on the same page with wordpress menus ?
lets say i have only one very long wordpress post and want to navigate on the same page by clicking the wordpress menus ?
You need to use "id" attribute for the element you want to navigate to and bookmark links in the menu. See here HTML Links

Resources