WordPress.org

Ready to get started?Download WordPress

Forums

Import External Images
Doesn't work with Pages (4 posts)

  1. anielsen
    Member
    Posted 1 year ago #

    I tested this with a site that only uses Pages. It didn't find anything to import. So I created a sample post with an external image and re-ran the Import Images. That worked. Can this plugin be adjusted to include Pages?

    http://wordpress.org/extend/plugins/import-external-images/

  2. mshanhun
    Member
    Posted 1 year ago #

    I second this. Please add pages support

  3. hobbleknee
    Member
    Posted 1 year ago #

    I third it.

  4. epawel
    Member
    Posted 1 year ago #

    Take a look at this post: http://wordpress.org/support/topic/plugin-add-linked-images-to-gallery-doesnt-work-for-pages?replies=3

    Changing in a file: import-external-images.php code:

    $posts = get_posts( array( 'numberposts'=>-1 ) );

    to

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

    worked for me. Hope it helps

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.