PHP webdeveloper and frontend developer

Order Custom Post Type by custom Field with Types Plugin in WordPress

Category : PHP, Wordpress ยท by Oct 30th, 2015

First you need to choose which post type you want to list and to choose a custom field to filter by you use the “meta_key” key in the array. The key starts with “wpcf-” and afterwards the name of the custom field you want to use.



Leave a Reply

Your email address will not be published. Required fields are marked *