Skip to:

"Link to existing content" reveals private pages

  • wesleyjohns24


    The dialog in bbPress for inserting a link into a post by default shows a search box and a list of existing content on the site.

    I am using WooCommerce on the same WordPress installation as bbPress. The problem is that WooCommerce coupons use Pages. This means all of my coupons (often ones that are created for specific people or specific purposes) can be publicly displayed in this list.

    I’ve edited my css to display: none; this section, but I’m not satisfied with this solution as it is still possible for someone to change the css and view these pages.

    Is there a way I can disable this feature? How might I go about modifying the code to remove it?

Viewing 2 replies - 1 through 2 (of 2 total)

  • Lynqoid


    I’m not 100% on what is happening without seeing a site link, if you can find out where the coupons are being rendered then you could wrap them in if(!is_bbpress()) { }



    I was wondering if anybody had a solution to this? I’d like my users to have the formatting toolbar for posts but I dont like that when they click “link” it shows “link to existing content” and shows pages and pretty much tons of stuff I dont want my forum users to go to. If you want to know what I mean, you can actually do the same thing on this bbPress support forum when you are replying to a post.

    Is there a way to turn that off?

    My site btw is

    Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar