WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to make tableless "the_content()" ? (3 posts)

  1. d3si6ner
    Member
    Posted 5 years ago #

    Hi, I'm working in a blog and I'm figuring out how to make a Tableless theme; I'm crazy with this problem.

    in archive.php appear the code:

    <div class="entry">
    <?php the_content() ?>
    </div>

    that's OK for the moment, but why any post appear inside a unnecessary and ugly table? every single post appear with the format:

    <div class="entry">
    <table>
    <tr>
    <td>

    ...(content of the post)...

    </td>
    </tr>
    </table>
    </div>

    I would like to have only the div "entry" and the post content inside... is that posible?.

    pleasee help meee!

    Kenny

  2. asechrest
    Member
    Posted 5 years ago #

    As far as I know, the_content() doesn't come with any special formatting like tables.

    If I do this:

    <div id="entry">
    the_content();
    </div>

    ...all I get is the content inside a single div.

    Can you link to an example of the problem you're having?

  3. d3si6ner
    Member
    Posted 5 years ago #

    problem solved!! thank you asechrest for your reply. The problem was a plugin called "wp-insert" (by Namith Jawahar.) that plugin did the mess. I uninstalled it and now the blog is working very good. thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic