Support » How-To and Troubleshooting » how NOT to change to ?

how NOT to change to ?

  • Hello! The problem is that I need WP not to change <b> tag to <strong>.

    When I make smth bold in WYSIWYG WP puts <strong> tag, than I go to html-view and change it to <b> but…
    If I go back to WYSIWYG WP changes all the <b> tags back to <strong>

    that’s not so good for SEO, cause not all what is bold is actually strong))

    How can I figure it out?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator cubecolour



    <strong> adds extra semantic meaning to your content. It happens to also a bold style to the text.

    <b> only applies font styling and is no longer be used because you are supposed to format with CSS. If the text was actually important then you would probably make it “strong”.

    If you really want the ability use <b> tags you can probably use a modified version of the first code tip here:

    Killer hacks to enhance WordPress editor

    unfortunately this doesn’t work ( when I put the code to functions.php I get

    “Parse error: syntax error, unexpected T_STRING in /public_html/wp/wp-content/themes/rockinbizred-20/functions.php on line 1”

    so example code isn’t correct or I have some problem with my hands)

    ufortunately I don’t understand where can I fix it(

    that was my folt.. smth wrong with notepad++ – not correct file format
    well, I used this code, it works, but it’s not what I want

    it changes all the tags to <b>, so there’re no <strong> tags any more.. all became <b> =(



    uuup ((

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how NOT to change to ?’ is closed to new replies.