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.
Related
I just started to do a small project on storefront theme and I am able to remove, reorder homepage sections but I am trying to find where the actual functions located
would someone guide me where I can find the actual function for example storefront_homepage_content
1st you go to WordPress dashboard then see left sidebar and find setting tab then mouse hover on setting and click on reading.
now select a static page radio button then see your home page name.that name is your page name.
now go to pages and find same name page and click on edit.
now you able to change to your home page section.
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.
Is it possible to add buddypress profile menu in primary menu of the wordpress them. If is possible please guide me how can I do this. I also want to remove counts in primary menu only.
Thanks
Yes, it's possible.
Here is an appropriate page in BuddyPress codex: https://codex.buddypress.org/getting-started/buddypress-links-in-wordpress-menus/
Below is a small excerpt from that page:
Links include: Sitewide Activity, Members Directory, Groups Directory, and/or Blogs Directory (multisite only).
Navigate to Appearance > Menus.
Create a new menu.
Under the “Pages” section, select the links to the BuddyPress pages.
Click on the “Add to Menu” button.
Arrange the menu links as you like it.
Click on “Save the Menu” button.
Go to the “Manage Locations” tab and assign this menu to a theme menu location.
Click save and refresh your site to see your new custom menu in place.
You can also add links specific to the Logged-in Member only (all profile links).
I would like to click or hover on the links on the right and have it bring up the associated page/post as a pop-up. I have used the primary WordPress nav menu, that can be edited from the dashboard. But WordPress menus contain either pages, links, or categories. What one of those three should I use in the menu, to bring up an associated pop-up? The pop-up will look like this:
I thought a post would be a good one. A page will take the user to a new page which is not really what we want. We want it all to stay on this page.
You should use "lightbox gone wild" from this link. I have used in my site and
it is working very fine. There are many features in it like, next-previous button, close
button, open popup inside popup. For any help you can contact me. I have used it in my site
I know there are ways to URL-redirect a Wordpress page to another page via PHP and that you can use HTML to link to a section of a page...but how can I redirect to a section page?
For example, on my home page I have different sections, services and projects. In the main navigation I have a services link. How can I make that open the homepage but just on the homepage.
Ok so just tested this on my local wp install.
On the page you want to load part way down add the anchor you require eg:
<a id="Services"></a>
Then in wordpress > appearance > menus, select your menu. Then on the left hand side, click on 'Links'
Add the full URL of your page eg:
http://mywebsite.com/home/
Add to this the '#Services' tag to make it look like:
http://mywebsite.com/home/#Services
Then add it to your menu and save.
You should then be able to click on that button on your menu and the page will drop to the anchor tag when clicked. If you're having trouble with the poundsign/hashtag (#) then you might want to check for conflicting issues in plugins / your functions file - and even wordpress.org uses them on their own site.