AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] How are the links for...?

12 Posts
3 Users
0 Reactions
8,043 Views
Robert
Posts: 10752
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

If this is a custom menu you ca use Custom Link menu type and put  shortcode URL:

/%wpforo-profile-account%/

 


Posts: 7
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@gigagaga)
Active Member
Joined: 9 years ago
Thanks for the answer. In the wordpress menu no problem. But I want to link it somewhere else on the site. How do I do that?

Robert
Posts: 10752
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

We've created these shortcode URLs especially to allow you use Menu system and put any wpForo menu in any WordPress menu. you just need to use WP menu system for creating the Drop-Down menu in screenshot. This is the best and correct way. There is no other ways to generate member account menus.

Also please note, the Menu system is dynamic, wpForo controls menus for logged in and guest visitors and hides/shows according menu. If you use it out of menu system you should make this dynamic conditions yourself.


Posts: 7
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@gigagaga)
Active Member
Joined: 9 years ago

I want to install the link here:

<a class="dropdown-item" href="/%wpforo-profile-account%/">
                    <i class="fa fa-cog"></i>
                    <?php esc_html_e('My settings', 'grid'); ?>
</a>

wenn ich da drauf klicke, bekomme ich oben in der url immer das angezeigt:
http://domain.tld//%wpforo-profile-account%/


1 Reply
(@gigagaga)
Joined: 9 years ago

Active Member
Posts: 7
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
If I click on it, I get up in the url always the indicated:

http://domain.tld//%wpforo-profile-account%/


Robert
Posts: 10752
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

Hi gigagaga,

You're adding /%wpforo-profile-account%/ in HTML so you'll get the same with domain name. You browser can't do a magic and replace it to real link, this is HTML code this is not PHP function. I've already explaned above that the best way to do this is replacing your dropdown HTML to WordPress menu system. Register a  new menu location in WordPress theme functions.php, then navigate in Dashboard to Appearance > Menus, create new menu and attach to custom registered menu location.

 

More info how to register custom menus in Wordpress:

Step 1: Create custom menu location - Register menu

 

Step 2: Create custom menu with wpForo shordcodes and attach to custom menu location:


Page 2 / 3
Share: