WordPress.org

Forums

WP RSS Multi Importer
Custom Post Types? (5 posts)

  1. sem101
    Member
    Posted 1 year ago #

    Hi, is there away to import feeds and assign a Custom Post Type?

    Thanks

    https://wordpress.org/plugins/wp-rss-multi-importer/

  2. Nicolás Silva
    Member
    Posted 1 year ago #

    on file "import_posts.php" add after
    $post['post_title'] = trim($items["mytitle"]);

    add:

    $post['post_type'] = 'yourCustomPostTypeName';

  3. sem101
    Member
    Posted 1 year ago #

    Cool, thanks will give it a try.

  4. jobfire007
    Member
    Posted 11 months ago #

    Hi Sem

    Do you tried it....Iam not getting it done...can you please help

    Hey Nicolas.....if it works like you said...its great....iam looking for help urgent

  5. Nicolás Silva
    Member
    Posted 11 months ago #

    yep! it works..

    file -> import_posts.php
    search -> $post['post_title'] = trim($items["mytitle"]);
    and add after -> $post['post_type'] = 'yourCustomPostTypeName';

    check the forum.. I saw it from another question.. the author of plugin replied the same question..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic