Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author demur

    (@demur)

    Hi ographix!
    While editing post You have to click on Add Media button, just under the title field. In popped-up settings section select Insert Media menu, then make sure to get over to Media Library tab, finally select option Uploaded to this post from drop down menu. Now You can drap&drop Your files around and organize them in proper order.
    I wish You good luck!

    Thread Starter ographix

    (@ographix)

    Hi there,

    Yes I can drag&drop them But it doesn’t save them in that order.
    A bit odd.

    Eg When i close the window and refresh it the document will be back in the old place.

    Any ideas?

    Plugin Author demur

    (@demur)

    What shortcode do You use?

    Thread Starter ographix

    (@ographix)

    [dg?descriptions=false order=DESC orderby=menu_order]

    Plugin Author demur

    (@demur)

    Try just [dg] and drag&drop ordering.

    Plugin Author demur

    (@demur)

    What version of WP in use?

    Thread Starter ographix

    (@ographix)

    Im using WordPress 3.9.2. Nope that doesn’t work.

    Are my setting correct?

    https://ographix.com.au/screenshot.jpg

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi ographix,

    I’ve read through this thread and based on what I’m seeing, my guess would be that one of the plugins you have installed is playing games with the ordering. If the Media Library is not retaining the order you set then whatever is preventing that is likely also the root of DG not giving you the order you want.

    Would you mind doing a test for me? First, disable all of your plugins except DG. Then, go and modify the order of the attachments in the media library, close, then re-open and see whether their new order is retained. If it is, then DG should also work.

    Assuming the above works, you’ll next need to re-enable the other plugins one-by-one, each time doing the same test until it stops working. Whichever plugin you most recently activated after it stops working will be the culprit.

    It is also possible, though much less likely, that the theme you are using is doing something incorrectly so if the above does not work then the next step would be to disable all plugins except DG and also switch your theme to Twenty Fourteen or Twenty Thirteen and repeat the same tests described above.

    If all of that doesn’t result in you being able to order your Media Library then we’ll have to keep working on it.

    -Dan

    Plugin Author demur

    (@demur)

    Let’s try what Dan suggests

    Thread Starter ographix

    (@ographix)

    Hi there, In the end I thought I would try the theme first. So I disabled it and guest what it worked :/

    I Made the theme myself. Any ideas what would be interfering with it?

    I got it working in the end by doing it by “name” and having to rename every newsletter with the correct name. Annoying but it work ??

    Would still be good to fix it.

    Plugin Author Dan Rossiter

    (@danrossiter)

    I’m glad we at least know what was happening to some degree now!

    In terms of debugging your theme, are you per chance doing anything with pre_get_posts actions? That could be modifying what queries return.

    The other thing I would suggest is that you enable all PHP logging to see if some exception somewhere is preventing normal behavior. The simplest way to do this would be to include the following lines in the top of your wp-config file:

    error_reporting(E_ALL);
    ini_set( 'display_errors','1');

    Hope that helps!
    -Dan

    Thread Starter ographix

    (@ographix)

    Ok, I have included that code in the WP-config. What is next?

    Dont think Im using pre_get_posts actions.

    Plugin Author Dan Rossiter

    (@danrossiter)

    You just want to see if anything is being logged when doing the actions that were breaking ordering.

    It’s possible that some exception somewhere is breaking the sorting.

    Good luck!
    -Dan

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘menu_order not working’ is closed to new replies.