I have a custom type called “trabajadores” with a custom field inside called “orden”. This is a numeric field where I put the order I want for the post (first one, second one, etc…).
In archive-trabajadores.php I have the following code
while (have_posts()) : the_post();
But it doesn’t work (I’ve tried also with wpcf-orden).
Anybody could help me to know where is the mistake?
Thanks a lot!
- The topic ‘Order archive by custom field’ is closed to new replies.