Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter pet3r

    (@sboerupgmailcom)

    I currently have this array on a page:

    <?php $args = array(
    ‘orderby’ => ‘menu_order’,
    ‘order’ => ‘ASC’,
    ‘post_type’ => ‘attachment’,
    ‘post_parent’ => $page_id = 1339,
    ‘post_mime_type’ => ‘image’,
    ‘post_status’ => null,
    ‘numberposts’ => $imageNumber
    );
    $attachments = get_posts($args);

    $args2 = array(
    ‘post_type’ => ‘attachment’,
    ‘post_parent’ => $page_id = 1339,
    ‘post_mime_type’ => ‘image’,
    ‘post_status’ => null,
    ‘numberposts’ => -1
    );
    $attachments2 = get_posts($args2);
    ?>

    I manually entered the page_id and it pulls the attachments from a different page. I would love to be able to have it pull attachments from multiple pages. The “post_parent” looks like the only line of concern, I just don’t know how the specifics for multiple IDs there

    Thread Starter pet3r

    (@sboerupgmailcom)

    I have tried turning off ALL plugins except Kimili, and it still does not work. I’m using almost all of the same plugins in my other WP blogs. The differences I have found: different theme template, different WP versions.

    I tried emailing the plugin author, didn’t get any word back.

    Thread Starter pet3r

    (@sboerupgmailcom)

    Anyone? No one has run in to this problem as well? Should I post it in a new forum category?

Viewing 3 replies - 1 through 3 (of 3 total)