Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate – remove button from Menu Bar
Tagged: customize, edit, menu, remove menu
- This topic has 9 replies, 5 voices, and was last updated 6 years ago by palmy69.
December 19, 2012 at 2:59 pm #8192
The Affiliate Menu – when logged in – includes the an item on the menu labelled ‘Logout’.
However, I am using eStore and eMember so I do not want this item on the menu of the Affiliate side because eMember already provides that option.
Can you tell me what files I need to edit to remove this item (I also want to remove the ‘Contact’ item)? I do not necessarily want to remove the functionality behind the item – just the item itself.
It would be nice to make the remaining items fill the menu but it is not necessary.
Peter.December 19, 2012 at 10:28 pm #52535
Please tell me which of the affiliate view area option you are using and I will be able to tell you which file to edit. Please refer to the following documentation if you don’t know what I mean by “affiliate view area option”:December 20, 2012 at 8:45 am #52536
I am using ‘affiliate view area option’ two.
PEter.December 20, 2012 at 9:41 pm #52537
Open the “affiliate_platform_affiliate_view.php” file from this plugin and look for the following function:
Customize the output of this function how it want it.December 21, 2012 at 8:46 am #52538
Thank you very much for your help.
Peter.December 21, 2012 at 10:41 am #52539AndrewMember
I have a similar situation.
I want to rename ‘ADS’ to ‘ADVERTS’ in the standalone affiliate page. I tried editing affiliatesheader.php but it adds ‘AFF_NAV_’ to the menu item. I changed it back because I didn’t want to break the plugin.
Where should I go to rename this menu item?December 22, 2012 at 12:50 am #52540
You can customize the text/message using the following technique:
https://support.tipsandtricks-hq.com/forums/topic/how-to-customize-various-textmessages-displayed-by-the-pluginMarch 7, 2017 at 4:58 pm #52541palmas69Member
HI, I tried to modify “function wp_aff_view_get_navbar()” with no success..
I would like to re-arrange affiliate menu, deleting some item (like “home”, “logout”) and moving item from a sub-menu to navbar..
How can I do?!
I prepared a little screenshot of what I mean:
Thanks in advance.
AlexMarch 7, 2017 at 10:52 pm #52542
You are using the affiliate view option 3 explained in the following page:
For that affiliate view, you need to update the following function:
This function is in the following file:
views/style2/affiliate_platform_affiliate_view2.phpMarch 8, 2017 at 1:55 pm #52543palmy69Member
- You must be logged in to reply to this topic.