Home Forums General Support Modifying Sub-Affiliate Template

3 replies, 2 voices Last updated by  Christian Freeman 1 month, 1 week ago
  • Marty
    Participant
    @martyhale
    #12094

    I want to modify the sub-affiliate template: dashboard-tab-sub-affiliates.php. How do I change the title and the table titles, as they are not in the template file, as they are in AffiliateWP or WooCommerce templates? Where is this information located and how do I change it?

    Also, this is the second time I have submitted this request.

    Attachments:
    You must be logged in to view attached files.
  • Christian Freeman
    Participant
    @christianf
    #12104

    Hi Marty,

    In order to change the text within the Sub Affiliates List, you need to change this file:

    affiliatewp-multi-level-marketing/includes/display-functions.php

    Change the Sub Affiliates text on Line 507 and Line 534.

    Or, a much easier way to do this, is to use a translation plugin such as Loco Translate, which
    will enable you to change every instance of the Sub Affiliate term to whatever you want to replace
    it with. This way, you don’t have to modify any of the MLM plugin files.

    Also, please try to post once for each topic. Posting multiple topics for the same issue/question only makes it more difficult for use to keep track of your ticket and provide timely support.

  • Marty
    Participant
    @martyhale
    #12110

    I do not see the reply. Can you make the reply visible? I also need to know how to modify the additional line regarding ‘Sub Affiliates’ in the AffiliateWP Settings tabs (see attached image.)

    Attachments:
    You must be logged in to view attached files.
  • Christian Freeman
    Participant
    @christianf
    #12119

    Hi Marty,

    My reply above is not private or anything, so you should be able to see it. But here’s my message response from above:

    In order to change the text within the Sub Affiliates List, you need to change this file:

    affiliatewp-multi-level-marketing/includes/display-functions.php

    Change the Sub Affiliates text on Line 507 and Line 534.

    Or, a much easier way to do this, is to use a translation plugin such as Loco Translate, which
    will enable you to change every instance of the Sub Affiliate term to whatever you want to replace
    it with. This way, you don’t have to modify any of the MLM plugin files.

    This will also enable you to change the Sub Affiliates Tab label.

You must be logged in to reply to this topic.