ok, you’ll need to specify exactly what you are trying to do – a link to a page means I have to guess which part of that page you are referring to.
Please come back with further details
@Robin, I was annoyed by this problem I took 4 shots of vodka right before posting this topic, but it seem, you also had something??? LOL!
In the link I posted about, you would see the external links, some mp3 and a google in last reply.
When a member paste url, into reply or topic, I just want to keep them as text, not automatically parsed as hyperlinks. In other words, I don’t want to make urls clickable, just keep them usual text.
The remove filter above I mentioned is not working for me, I even tried changing the priority 1 to 255.
I hope you got what I trying to say… now please tell me what to do.?
The remove filter above I mentioned is not working for me, I even tried changing the priority 1 to 255.
The remove must have the same priority – see
https://codex.wordpress.org/Function_Reference/remove_filter
@Robin
Then, what should I put to make it work…
try 10, as it is probably set with the default
Not Working with 10 🙁
remove_filter( 'the_content', 'make_clickable', 10 );
remove_filter( 'post_content', 'make_clickable', 10 );
remove_filter( 'bbp_get_reply_content', 'make_clickable', 10 );
remove_filter( 'bbp_get_topic_content', 'make_clickable', 10 );
ok, you got me interested enough to look it up.
bbPress now uses its own version of make_clickable, so the two filters are :
add_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4 );
add_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4 );
so you need
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);
@Robin, 😯 Woooooooow, Amazing, Man its working,
Thanks a Billion Trillion Robin, My dear…
Oh I am so happy to see its gone… 😀 😀
Hey, Robin, check it out man, we just got it. You are super. If we could meet, I must arrange a Beer Party.
Oh this is the lovely piece of art: 💡
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);
So everybody just use this above code to stay better in Google, and Don’t Forget to Thanks dear Robin W. All Credit Goes to Him. Hats Off!
Please make this topic Resolved.
Great – glad you’re fixed !
Hi,
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);
not work bbpress 2.6.4
is there any new code?
just looked at the new code – try
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 40);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 40);
Such great and useful info …
Done successfully today, priority is still 40 in version 2.6.9
Thanks again, Robin.
great – thanks for updating us 🙂