• Using this code in the page

    [catlist name=”envirogroom” tags=”shampoo” numberposts=99 customfield_orderby=”list-order” order=”asc” excerpt=”yes” thumbnail=”yes” force_thumbnail=”yes” thumbnail_size=”thumbnail”]

    it is not sorting by the numerical “list-order” custom field I’ve added to each of these 14 posts.

    What am I doing wrong?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter spinhead

    (@spinhead)

    Sorted this out myself. In case it helps others, sorting for custom fields is ALPHA ONLY, not alphanumeric.

    I have fourteen items with the custom field “list-order” and they are, in fact, sorting thusly:

    1 10 11 12 13 14 2 3 4 5 6 7 8 9

    I’m going to switch to letters instead of numbers (rather than having to explain to every person who ever touches this why I’m prepending zeros to the “numbers”) but it would be helpful if this sorted numbers as numbers, or if the documentation was clearer.

Viewing 1 replies (of 1 total)
  • The topic ‘can’t make customfield_orderby work’ is closed to new replies.