WordPress.org

Ready to get started?Download WordPress

Forums

Setting "comments" and "pings" with import-rss (2 posts)

  1. randybrown
    Member
    Posted 10 years ago #

    import-rss.php works great, but it doesn't set the flags to allow comments and pings to the posts.
    Can someone tell me what the names of those variables are? I'd like to modify the import-rss.php file to be able to set these. (I'm getting ready to import a ResourceBlog to WordPress, but need to be able to set these variables on each post during the import.
    Thanks.

  2. randybrown
    Member
    Posted 10 years ago #

    Thanks. Solved it myself:

    // set comment and ping to true
    $comment_status = 1;
    $ping_status = 1;

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.