Links in menu not working
-
Hi there
I’ve set up a custom menu, and the links I add to this menu are being added to the profile menu drop down, which is what I want.
However, the links are being appended with the member URL, rather than the absolute URL.
So for example, in the menu I have a page called My Projects.
The URL is http://architectsrepublic.com/my-projects/ however it is being added to the menu as http://architectsrepublic.com/members/practicetest/my-projects/
This is happening to any link I add.
Any ideas?
Thanks,
Ian
http://wordpress.org/plugins/buddypress-custom-profile-menu/
-
OK I have just bought the pro version to see if this would help, it hasn’t – please can I get a response on this?
Thanks
Hi Ian,
This is the way BuddyPress works. All these tabs are BuddyPress member profile tabs after all, and if you check all the other standard BuddyPress tabs, you’ll find the same pattern.
Hope this helps 🙂
Not really no. My url is absolute in the menu, you don’t say anywhere (that I could find) on your documentation that I couldn’t link to a custom url from here. I paid for the pro version thinking it might help. There must be a way to get around this?
Your URL is absolute in the WordPress menu, but not in the BuddyPress profile menus. If you select the BuddyPress user profile and hover your mouse on any of the tabs, you’ll find that they all start with http://architectsrepublic.com/members/practicetest/…
Is how the URL is formatted your only problem, or are you trying to achieve something else here?
I’m trying to add one custom link that goes to a page called ‘my projects’
It’s not part of buddypress, it’s a custom page – mysite.com/my-projects
It’s unique for each user, but the url is the same
how can I add a link under that menu to go there? It makes sense to be part of the profile menu.
Our plugin has something called the iframe tab, which will display your custom link inside the tab using an iframe. To create an iframe tab, simply add a link to your menu from the WordPress menu editor (under Appearance->Menus, select your menu and open the group called Links on the left. Enter a link and click Add)
Hi there
Tried that and it still comes out as:
http://mysite.com/members/username/my-projects/
Doesn’t seem to create an iframe?
Are you linking to an external site? Some sites (such as google.com) do not support being displayed in an iframe.
it’s the same site – just an absolute url in my site
Should I do it /my-projects ?
I have no idea why isn’t the iframe displaying. Does it work if you set the link to http://sensibleplugins.com ?
No, it does the same thing.
Tried reverting to default theme too.
That’s strange…I’d recommend you make sure you’re correctly adding the custom link menu. Here is a video that explains this in detail: http://www.youtube.com/watch?v=Zg9R4l3Eu18
I’ve checked that video and yes I am adding them correctly. I’ve removed and done it again and I am still getting the same issue.
Thanks.
Did you manage to get what you wanted?
- The topic ‘Links in menu not working’ is closed to new replies.