Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove visual editor only allow code editor


  • sonalsinha21
    Participant

    @sonalsinha21

    Hi,

    Normally bbpress changes any URL to link or gives img tag etc.

    Is it possible that we don’t have anything visual and have only plain text based response?

    I am asking this because people respond to support forum with all sorts of links which goes to 404 on a later date.

    Having it as a code based and not actual link will mean no more 404 in future.

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

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    bbPress includes a function called bbp_make_clickable that is used to turn regular URLs in topic and reply contents into anchors.

    You would need to unhook it to prevent it from happening.

    remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 40 );
    remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 40 );
    

    sonalsinha21
    Participant

    @sonalsinha21

    Thank you for this response. I think this will resolve my 90% problems.

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