WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AsideShop] The content leaped out of <p> (5 posts)

  1. lucifr
    Member
    Posted 6 years ago #

    Things're wierd on my site. The very first aside seems fine, which is at the bottom. But the latter two's content leaped out the <p></p> tag, and the <p>s are not filtered at all. Below is how my template is set:

    <div class="post aside" id="post-%post_id%"><div><img src="http://lucifr.com/wp-content/themes/wicketpixie/images/conversa.gif" style="float:left;border:none;"></div><div style="padding-left:60px;"><p>%post_content% (%comments_count%条评论)</p></div></div>

  2. maijs
    Member
    Posted 6 years ago #

    lucifr,

    Try to test with your styles without floats in your divs...

  3. lucifr
    Member
    Posted 6 years ago #

    maijs,
    I tried removing all the styles. Still not working...

  4. lucifr
    Member
    Posted 6 years ago #

    I've figured out what's going wrong.
    The asideshop must be written by html editor of wp own with no <p> tag in the content. Asideshop itself can't filter <p> which I written using Windows live writer. Is there a way to fix this?

  5. maijs
    Member
    Posted 6 years ago #

    lucifr,

    Ah, you are right. As I've mentioned it in the Side Notes, text wrapped in <p>..</p> will look ugly. There is no workaround.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags