• Resolved fairfang730

    (@fairfang730)


    Can you tell me how to delete the Log Out button on the Overview page? Or you can tell how to add a redirect link to Log Out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kento

    (@proaktion)

    Hi,

    In the plugin’s folder you will find a folder templates – it contains another folder dashboard where you fill find the template used to render the overview: overview.php

    Copy this to your active theme and remove the part that renders the link from the template. So you will end up with the following customized file in your theme:

    wp-content/themes/mytheme/affiliates/dashboard/overview.php

    Cheers

    Plugin Author Kento

    (@proaktion)

    PS : Here’s more information about the templates on this documentation page https://docs.itthinx.com/document/affiliates/api/templates/

    Thread Starter fairfang730

    (@fairfang730)

    Thankyou for your help !I have remove the part that renders the link from the template.

    .dashboard-section-overview .affiliates-dashboard-logout {
    margin: 4px;
    padding: 4px;
    text-align: right;
    }

    Is this part of the code also deleted?

    And how should I change the size of the display affiliate link box?

    Plugin Author Kento

    (@proaktion)

    If you’re not going to use the link then yes, the CSS can be removed.

    For changes in the display sizes, you would use the CSS classes that target the related container. If you check the templates, it’s easy to see which classes you need to target.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to delete Log Out?’ is closed to new replies.