• Resolved camrinp

    (@camrinp)


    Hi Support,

    I’m trying to query the gallery images in the order that they are set in the backend, however my query does not pull the images in the correct order. Could you advise on how to alter my query to achieve this?

    Thanks

    ` $images = get_children( array(
    ‘orderby’ => ‘menu_order’,
    ‘post_type’ => ‘attachment’,
    ‘post_parent’ => $post->ID,
    ‘post_mime_type’ => ‘image’,
    ‘post_status’ => null,
    ‘numberposts’ => -1,
    ) );

    https://www.ads-software.com/plugins/gallery-bank/

Viewing 1 replies (of 1 total)
  • Plugin Author Varun Sharma

    (@contact-banker)

    Hi,

    Thank you for contacting us!

    We would request you to please contact us on our email address [email protected] with more details about the problem.

    Thanks & Regards

    Support Team
    Tech Banker

Viewing 1 replies (of 1 total)
  • The topic ‘Querying Data in Correct Order’ is closed to new replies.