WordPress.org

Ready to get started?Download WordPress

Forums

Gallery sort order doesn't match attachment page navigation (5 posts)

  1. Elliott Wall
    Member
    Posted 1 year ago #

    The gallery page I'm having trouble with is here: http://www.elliottwall.com/contents/paintings/

    If I sort a gallery to be

    image1 image2 image3 image4
    image5 image6 image7 image8

    but images 1-5 are new uploads to the gallery, the navigation between the attachment pages of each image doesn't go in a corresponding order. Image5 only has only the right arrow, and the arrow should lead to the page of the painting whose thumbnail appears immediately adjacent right in the gallery. Instead, if you begin with image5, clicking the right arrow takes you to image4, image3…image1, THEN clicking the right arrow on image1's page takes you to image6!

    I've also tried adding images of much older paintings that belong at say, positions 30-33 or something, and even though I manually sort the gallery thumbnails the attachment page navigation leads to similar huge time warps… the navigation still thinks these newly uploaded images are supposed to be at the end of the list of gallery items. So it seems that the sorting of gallery images is not tied to an ordering of gallery attachment page navigation, rather that media id or post date is taking over somewhere.

    I've read a lot about how WP handles galleries but I don't understand this. How can I make my manual slideshow from the paintings page follow my manual sort?

    (also, depending on your browser my navigation arrows may appear broken; just remember that that mystery box on the left is supposed to be the left arrow, etc.)

  2. OutdoorStore
    Member
    Posted 10 months ago #

    Same question/issue. Attachment page navigation using the "previous" and "next" buttons bring up photos in different order then the gallery thumbnails, and also adds in other images from Media that are not in that gallery. No suggestions/recommendations??
    http://outdoornj.com/mens-footwear/

  3. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    @OutdoorStore - Not on a 3-month old thread - please start a new thread if you need help and include more information in your thread.

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

  4. OutdoorStore
    Member
    Posted 10 months ago #

    ok!

  5. Elliott Wall
    Member
    Posted 10 months ago #

    Hi— I never solved it, but I did come to a satisfactory solution. I started using Jetpack carousel and it does respect your gallery page thumbnail sort order.

    I also used this plugin http://wordpress.org/plugins/media-category-library/ to change the upload date of my paintings to match the actual painting's creation date and categorize them by year; I can't remember if that helped the attachment page navigation issue or not since I may have just decided to use carousel anyway, but I'm pretty sure attachment pages are always arrayed according to post id.

    I customized carousel a little bit and I'm really pleased at how it looks: http://www.elliottwall.com/contents/paintings/

Topic Closed

This topic has been closed to new replies.

About this Topic