Support » Plugin: Import external attachments » Custom Post Type Support

Viewing 1 replies (of 1 total)
  • @ollylama edit the file import-internal-attachments.php and find all the lines like the one below:

    $posts = get_posts( array( 'numberposts'=>-1, 'post_type' => array( 'post', 'page' ) ) );

    change them to:

    $posts = get_posts( array( 'numberposts'=>-1, 'post_type' => array( 'post', 'page', 'YOUR_POST_TYPE' ) ) );

    this is only a fix. If the plugin gets updated you might have to do this again.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Type Support’ is closed to new replies.