WordPress.org

Ready to get started?Download WordPress

Forums

Add Linked Images To Gallery
Doesn't work for pages (3 posts)

  1. Michelle
    Member
    Posted 3 years ago #

    Any way this plugin could be adjusted to work for pages as well as posts? :)

    http://wordpress.org/extend/plugins/add-linked-images-to-gallery-v01/

  2. Milan Dinić
    Member
    Posted 3 years ago #

    Cache Images should work for all post types, we just need to fix bugs.

  3. Dougal Campbell
    Member
    Posted 2 years ago #

    If you're comfortable editing the plugin code, look around line 288 (in the externimg_backcatalog() function), and you should see a line like:
    $pp = get_posts( array( 'numberposts'=>-1 ) );

    Change it to read like so:
    $pp = get_posts( array( 'post_type' => array('post', 'page'), 'numberposts'=>-1 ) );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic