Custom profile menu, display content on same page.
Quote from Mac on February 28, 2022, 9:52 pmGood evening,
I have another plugin and would like to integrate their dashboards into tabs on the profile menu. There are two dashboards, one shows the reviews a user has written and another show listings that the user has created. To reduce the amount of dashboards on the site I would like to add two tabs to the profile menu for “Your Reviews” and “Your Listings” but how would I get the shortcode for the dashboards to display in the area below the menu and not on a redirected URL?
I looked at the Asgaros Toolbox but this appeared to be for the main forum menu and used redirects to other pages. How do I keep the profile page header and menus on screen and then display my shortcodes content in the area below when the tab is selected?
Good evening,
I have another plugin and would like to integrate their dashboards into tabs on the profile menu. There are two dashboards, one shows the reviews a user has written and another show listings that the user has created. To reduce the amount of dashboards on the site I would like to add two tabs to the profile menu for “Your Reviews” and “Your Listings” but how would I get the shortcode for the dashboards to display in the area below the menu and not on a redirected URL?
I looked at the Asgaros Toolbox but this appeared to be for the main forum menu and used redirects to other pages. How do I keep the profile page header and menus on screen and then display my shortcodes content in the area below when the tab is selected?
Quote from Mac on March 7, 2022, 12:27 amI’ve been playing around with this but keep going around in circles.
With the asgarosforum_custom_profile_menu hook, is it possible to add add additional code that would allow the button to echo do_shortcode content on the same page instead of just text that points to a URL?
The only other way I see of doing this is by editing the plugins profile .php file directly which would get overwritten with updates.
I’ve been playing around with this but keep going around in circles.
With the asgarosforum_custom_profile_menu hook, is it possible to add add additional code that would allow the button to echo do_shortcode content on the same page instead of just text that points to a URL?
The only other way I see of doing this is by editing the plugins profile .php file directly which would get overwritten with updates.