Support » Fixing WordPress » Problem creating Table in Page/Post

  • Resolved JAS4Yeshua

    (@jas4yeshua)


    When trying to post a table with a caption tag, the caption tag is automatically removed by WordPress. I’m wondering why this is happening, considering caption is a valid tag.

    Example:
    <table>
    <caption>This is a caption</caption>
    <tr>
    <th>Header 1</th>
    <th>Header 2</th>
    </tr>
    <tr>
    <td>Cell 1</td>
    <td>Cell 2</td>
    </tr>
    </table>

    After posted, it removed the caption tag and becomes:
    <table>
    <tr>
    <th>Header 1</th>
    <th>Header 2</th>
    </tr>
    <tr>
    <td>Cell 1</td>
    <td>Cell 2</td>
    </tr>
    </table>

    I’ve tried to search for a solution, but couldn’t find anything. To see the actual page in question, go to:
    http://www.goldmedalcollectibles.com/olympic-games-of-the-modern-era/

    There should be a caption above the headers that says “Summer Olympic Games”

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

    (@moshu)

    Are you putting your code in the wysiwyg editor?
    Never do that with any kind of code…

    JAS4Yeshua

    (@jas4yeshua)

    No, I’m using the HTML button, and typing it in directly

    JAS4Yeshua

    (@jas4yeshua)

    Through the tags feature on these forums, I stumbled onto the solution. Sorry for reproducing the same question here.

    I disabled the WYSYWIG completely and reposted the table and it worked. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem creating Table in Page/Post’ is closed to new replies.