IT Nursery
I have a custom WP_Query with the following meta_query: $meta_query = array(); $meta_query['relation'] = 'AND'; if(!empty($postcode)) { $meta_query = array( 'key' => 'postcode', 'value' => $postcode, 'compare' => 'LIKE'...
  • April 17, 2022
  • 0 Comments
IT Nursery
(note: this question was originally about Custom Fields, but @MikeSchinkel had a better solution involving Custom Post Types) On my site I have several pages which I want to...
  • April 16, 2022
  • 0 Comments
IT Nursery
While trying to perform a WP_Query using meta_query(), I had some trouble because the custom fields created by a plugin had _ in the beginning of its name. Although...
  • April 15, 2022
  • 0 Comments
IT Nursery
I’m trying to use Custom Field types to embed Youtube videos in a more organized fashion and using the Do_Shortcode() would seem to work perfectly, however this: <?php echo...
  • April 15, 2022
  • 0 Comments