• sylvain.d

    (@sylvaind)


    Hi!

    I’m working on a website that use the graphene theme. I created a custom post type (ccio_membres) to create a membership directory. I also created a taxonomy (ccio_type) to categorize those members. Finaly I created a page template (taxonomy-ccio_type.php) for that taxonomy. My problem is that the listing created order the members by creation date. I would like to order them by name. I’m not great with code, and I mostly copy/paste what i need… I’ve been looking fow a while for a solution but without success.

    I really hope someone here will be able to help me.

    My function to create the custom post type and taxonomy
    http://wordpress.pastebin.ca/2046444

    My page template
    http://wordpress.pastebin.ca/2046445

    Thanks

    Sylvain

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sylvain.d

    (@sylvaind)

    a little bump (sorry if it’s not allowed)

    Thread Starter sylvain.d

    (@sylvaind)

    anyone got an idea what i’m doing wrong?

    Thread Starter sylvain.d

    (@sylvaind)

    The site is now live if anyone feel like taking a look. This is one of the pages I would like to be alphabeticly sorted.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom post type – Order by name’ is closed to new replies.