Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter smarta-brett

    (@smarta-brett)

    further to this post

    I have re-named the files with 01 – 12 numerically

    I have also changed the dates so they are in date order of the way I want them to display

    now when I load sometime they load in name order – which works fine – but other times they load randomly

    also sorting by date does not put them in order

    Ideally I would like to have no sort pulldown at the top and have them load in name order by default – is this possible?

    I now have shortcode of
    [sell_downloads columns=”2″ filter_by_type=”0″ show_order_by=”0″ order_by=”name”]
    however they are still not in correct name order

    Plugin Author codepeople

    (@codepeople)

    Hi,

    The correct structure of the shortcode is:

    [sell_downloads columns=”2″ show_order_by=”0″ order_by=”post_title”]

    You should to use “post_title” instead of “name”

    About the order by date, you should use the attribute order_by=”post_date”, and products are displayed in the store by the creation date.

    Important Note: The filtering options, and the values of the order by, are stored in session variables, so, after edit the shortcode, the browser should be restarted.

    Best regards.

    Thread Starter smarta-brett

    (@smarta-brett)

    thanks – It was the cache issue that was confusing me – restarting the browser, or viewing in a different browser showed me the correct result

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Perfect, but if you detect any other issue, do not hesitate in contact me again.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sorting items on page’ is closed to new replies.