Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WP Affiliate – remove button from Menu Bar

by

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.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • December 19, 2012 at 2:59 pm #8192
    Letability
    Member

    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.

    Many thanks,

    Peter.

    December 19, 2012 at 10:28 pm #52535
    admin
    Keymaster

    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”:

    http://www.tipsandtricks-hq.com/wordpress-affiliate/?p=315

    December 20, 2012 at 8:45 am #52536
    Letability
    Member

    Hello,

    I am using ‘affiliate view area option’ two.

    Regards,

    PEter.

    December 20, 2012 at 9:41 pm #52537
    admin
    Keymaster

    Open the “affiliate_platform_affiliate_view.php” file from this plugin and look for the following function:

    function wp_aff_view_get_navbar()

    Customize the output of this function how it want it.

    December 21, 2012 at 8:46 am #52538
    Letability
    Member

    Great.

    Thank you very much for your help.

    Best regards,

    Peter.

    December 21, 2012 at 10:41 am #52539
    Andrew
    Member

    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.

    So..

    Where should I go to rename this menu item?

    December 22, 2012 at 12:50 am #52540
    admin
    Keymaster

    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-plugin

    March 7, 2017 at 4:58 pm #52541
    palmas69
    Member

    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:

    [http://apcommunication.s3.amazonaws.com/varie/wp-affiliate-01.jpg]

    Thanks in advance.

    Alex

    March 7, 2017 at 10:52 pm #52542
    admin
    Keymaster

    You are using the affiliate view option 3 explained in the following page:

    https://www.tipsandtricks-hq.com/wordpress-affiliate/setting-up-the-affiliate-viewarea-315

    For that affiliate view, you need to update the following function:

    function wp_aff_view_2_get_navbar()

    This function is in the following file:

    views/style2/affiliate_platform_affiliate_view2.php

    March 8, 2017 at 1:55 pm #52543
    palmy69
    Member

    It works!

    Thanks again

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ