WordPress.org

Ready to get started?Download WordPress

Forums

CSV 2 POST
[resolved] wpautop not working (8 posts)

  1. cindy42
    Member
    Posted 9 months ago #

    I dont know why but wpautop is not working with the posts I import with this plugin. Any help?

    http://wordpress.org/plugins/csv-2-post/

  2. WebTechGlobal
    Member
    Plugin Author

    Posted 9 months ago #

    No one has raised this before but it does sound like something may need done. Looking into it now.

    I've never worked with the wpautop function so have a little reading to do. From what I do know, it should be applied automatically because it is on by default and there are plugins for disabling it.

    Can't see CSV 2 POST disabling it so I'm thinking WordPress applies paragraphs to content prior to calling wp_insert_post() which creates the entire post.

  3. WebTechGlobal
    Member
    Plugin Author

    Posted 9 months ago #

    I may be mistaking about the functions use after reading this...

    wpautotop

    How, where and why are you using wpautop?

  4. cindy42
    Member
    Posted 9 months ago #

    The CSV file I am trying to upload is without paragraphs or line breaks.

  5. WebTechGlobal
    Member
    Plugin Author

    Posted 9 months ago #

    Most users import one paragraph of text (no actual <p> though) or they import content with
    and <p> in it. It is possible others have had the same problem as yourself but not reported it.

    Not sure if other importers put content through wpautop() function by default but I think we'll need a setting in CSV 2 POST to disable/enable it.

    I will get it done this week and return to this post with an update. Thank you for your feedback.

  6. WebTechGlobal
    Member
    Plugin Author

    Posted 9 months ago #

    Hello again.

    Today I added a setting on the Content screen in Projects for activating wpautop(), in the paid edition.

    Do you require it in the free edition? Was not sure if you had purchased the plugin or not.

    Ryan

  7. cindy42
    Member
    Posted 9 months ago #

    I am using the free edition.

  8. Peter Wooster
    Member
    Posted 8 months ago #

    wpautop is a filter that WordPress applies to all content at the time the content is displayed. It converts newlines to
    and double newlines to <p>…</p>.

    It is applied unless the theme author turns it off in their functions file. I do that frequently to keep it from messing with markup.

    If you are not getting paragraphs the content does not contain newlines. Possibly this is an issue between the various flavours of newline cr, lf, and crlf that vary with operating system.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.