Is there a way to set the menu_order of the images I upload to my post with a form? Is there a way of doing it via the CSS class and a hook? Or any other way?
Is there a way to set the menu_order of the images I upload to my post with a form? Is there a way of doing it via the CSS class and a hook? Or any other way?
Hi, sascha,
I am not certain what you mean by menu order. But if you are using the Image field in the Post Fields section, you can create select "Create content template" on the Post Body field and specify the image size and location. Take a look at this screenshot: http://grab.by/bWfc
Hi Dana,
with menu_order I meant the field in the DB that can be used for instance for attachments. That order decides in what order they are shown if you call the [gallery orderby="menu_order" order="ASC"] shortcode. Would be great to be able to set that on each image upload...
The order that they are added as attachments is what determines this and that order is determined by the order in which the file was uploaded on the form. So it is based on the field display order.