• I notice that when I add an image to my WP4.0 media library, then attach it to a portfolio item, the menu_order value always gets set to zero. I don’t see any edit screen that lets me assign the menu_order.

    I had to go into the MySQL admin screen and run –
    SELECT * FROM wpson_posts
    WHERE post_type = ‘attachment’
    AND post_mime_type = ‘image/jpeg’
    AND post_parent = < my parent ID >

    to find the images on the portfolio item (parent). Then, using the ID of the attachment I update it so it goes to the order I want it to –
    UPDATE wpson_posts
    SET menu_order = < order number I want >
    WHERE ID = < ID of the record I want to assign the order number >

    There must be some way to set the menu_order of the images for a portfolio item gallery in the WordPress admin tool, right? What am I missing?

    Thanks

  • The topic ‘Attaching media item to portfolio item gallery does not set menu_order value’ is closed to new replies.