Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • JoeyDay
    Participant

    @joeyday

    Update: Putting plain vanilla straight quotes into the function does fix this. wptexturize properly curls the straight quotes for me, but if wptexturize were disabled (which I know some users prefer) the straight quotes would come through unmodified.

    Oh, and sorry about how the code displays above. I obviously don’t know how to use the code tags properly, and when I go back to edit my post, the textarea is blank. Weird.


    JoeyDay
    Participant

    @joeyday

    You’re awesome. I as able to find:

    add_filter('bp_get_the_topic_post_content','scripturize');

    It worked.


    JoeyDay
    Participant

    @joeyday

    Okay, another question: how can I do the same thing with forum post content now?

    I’ve tried:

    add_filter('post_text','scripturize');

    …and…

    add_filter('get_post_text','scripturize');

    …and…

    add_filter('bp_forums_get_post','scripturize');

    …and…

    add_filter('bp_forums_get_post_text','scripturize');

    …and none of these has worked. Suggestions?


    JoeyDay
    Participant

    @joeyday

    Aw, crud. Should’ve searched more before posting this. This thread helped me see that I was using the wrong filter.

    add_filter('bp_activity_content_body','scripturize');

    …should have been…

    add_filter('bp_get_activity_content_body','scripturize');

    Resolved.

Viewing 4 replies - 1 through 4 (of 4 total)
Skip to toolbar