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.
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%/
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
- http://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/
- http://www.lanexa.net/2013/03/adding-custom-menu-locations-in-wordpress-themes/
Step 2: Create custom menu with wpForo shordcodes and attach to custom menu location: