• Resolved Tiibz

    (@tiibz)


    Hi,
    I’m using the last theme of Customizr.
    i’ve a child theme, of course.

    So, my problem is that :
    When someone reply or create a topic on my forum (http://venenum.be/forum/) and customize the format, there is a problem because the theme remplace ” by » (exemple: <p style= »text-align: center; »><span style= »color: #ff0000; »>-‘e-</span></p>) so we can’t see the correct format of the post.

    I tried to fix this by adding this on my child theme’s functions.php

    function replace_text($text) {
    $text = str_replace('«', '"', $text);
    $text = str_replace('»', '"', $text);
    return $text;
    }
    add_filter('the_content', 'replace_text');
    remove_filter('the_content', 'wptexturize');
    remove_filter('comment_text', 'wptexturize');
    remove_filter('the_excerpt', 'wptexturize');
    remove_filter('the_title', 'wptexturize');

    But it doesn’t work and i always see » instead of ” …

    How can I fix that please?

    Sorry for my bad english .. Have a nice day and thank’s in advance 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    look it’s not the theme doing that.
    I tried also with twentyfifteen, same thing.
    So I assume it’s a bbpress behavior.
    Also I see that when I’m admin I see a message saying:
    Your account has the ability to post unrestricted HTML content.
    just above the reply form, so it’s bbpress which prevents to non authorized users to put html content.
    https://bbpress.org/forums/topic/allow-html-from-users/

    Thread Starter Tiibz

    (@tiibz)

    Perfect !
    I followed your link and found the solution in it

    Thanks 🙂

    You’re welcome 😉
    Glad you solved!

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

The topic ‘quotation mark problems’ is closed to new replies.