Remove “Edit” link from public view

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

Status: not resolved
Viewing 13 reply threads
  • Author
    Posts
    • #18911

      rfischmann
      Member

      Hi, I don’t like to see the “Edit” link when I hover over posts’ titles on the public view and this sometimes gets cached by Cloudflare for all people that access my site.

      How can I fully remove this from Newsbeat? Thanks.

    • #18923

      rfischmann
      Member

      Help, please.

    • #18928

      Newsbeat sucks bro we wasted our money here

    • #18933

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18934

      rfischmann
      Member

      Thank you for the CSS, I’ll apply it now.

      If people use a public caching CDN like Cloudflare, if the page is cached when the admin loads it, that link will show up to non-admins as well. That’s the issue.

    • #18937

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18938

      rfischmann
      Member

      We use Cloudflare’s “Cache Everything” rules for our public pages, so there’s no way around that unless you’re a Cloudflare Enterprise customer and can filter page requests via cookies.

    • #18949

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18950

      rfischmann
      Member

      Why would I do that? The CSS you gave me fixed the issue.

      I can’t run my site without Cloudflare’s cache, my server wouldn’t handle the traffic.

    • #18953

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18954

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18956

      rfischmann
      Member

      There’s no need to “narrow the causes”, that’s the expected behavior. I just don’t want my theme to add admin links to public pages, as they’re all cached.

    • #18990

      Jacob
      Staff

      Hey there, You must be logged in to view this reply!

      Login | Register | Forgot Password?

    • #18994

      rfischmann
      Member

      Cloudflare caches the public URL, so it doesn’t matter if you’re logged in or not. If a specific URL is cached by them, the request won’t even reach our server.

Viewing 13 reply threads
  • You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view all replies/answers, you must be logged in!

© Copyright 2020 by wpthms.com. All Rights Reserved.