• Resolved CB

    (@cbrandt)


    Two ads I added recently to my sites now add a div with a link to edit the ad:

    <div class="advads-edit-bar advads-edit-appear">
    <a href="https://exampl.com/wp-admin/post.php?post=123&action=edit" class="advads-edit-button" title="Ad Title" rel="nofollow">
    <span class="dashicons dashicons-edit"></span>
    </a>
    </div>

    I don’t see the purpose of this, since the link is invisible to humans, and should not be available to bots.

    How can I prevent this link from being added?

    Thanks, and Happy New Year!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support schmidt25

    (@schmidt25)

    Hi CB,

    Thanks for reaching out.

    This button’s idea is that you, as an administrator, can edit certain ads directly from the frontend and do not have to go through the backend. Especially if you have a lot of displays, this can save a lot of time.

    Here you can find instructions on how to deactivate this button via a constant.

    A happy new year and best regards,
    Joachim

    Thread Starter CB

    (@cbrandt)

    Thanks for the instructions, I’ve added the line to my wp-config.php.

    Like many WordPress users, I happen to have my sites proxied by Cloudflare, and that sometimes mean the front-end HTML gets cached. For that reason, I started seeing the code for the button even when opening a page in incognito mode. Perhaps you guys should consider turning this into an optional feature which the admin has to sign up for?

    The button itself I’ve never seen, have no idea what has prevented it from showing (though there was a minimal vertical bar appearing after my mouse was over some ads for more than a sec, the link on the bottom address bar never changed from the link to the ad to the edit one on the back-end)
    Edit: just saw this on documentation: “The button is only added when the ad uses a container.”

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove link to edit ad’ is closed to new replies.