Custom post type – Order by name
-
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/2046444My page template
http://wordpress.pastebin.ca/2046445Thanks
Sylvain
- The topic ‘Custom post type – Order by name’ is closed to new replies.