WordPress.org

Ready to get started?Download WordPress

Forums

Image Order (2 posts)

  1. harringtonjw
    Member
    Posted 2 years ago #

    I have a custom post type that calls in the images attached to a post without actually using the wordpress gallery feature. So far it seems to display the posts in the reverse order they where updated. I have tried adding the code 'order'=> 'ASC', in various places and I keep getting errors. Would someone mind advising if I am going about this the right way and if possible help me fix the code to display the images in the order set in the media section of the post or advise if I need to get my post code redone to use the Gallery plugin?

    Many Thanks

    James

    [code moderated - please use the pastebin for any code over the forum limit of 10 lines]

  2. harringtonjw
    Member
    Posted 2 years ago #

    Sorry here is the link to my code

    http://pastebin.com/4hG5Fvm7

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.