custom field in admin columns

Try replacing everything from the comment downwards with this. Basically you seemed to have a function in there that wasn’t getting called, and you need to add the case “incr_number” test to the woo_supportpress_ticket_custom_columns function: /*———————————————————————————–*/ /* Admin columns for post types */ /*———————————————————————————–*/ function woo_supportpress_ticket_columns( $old_columns ){ $columns = array( ‘cb’ => ‘<input type=\”checkbox\” … Read more

Display movies that apear this day next

What you want to do in this case is to use a meta_query in WP_Query like the following. You can reference the following Codex for more information https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters. Once you have the posts. Loop over them and add their date as data attribute, and filter the items using data attributes. $args = array( ‘post_type’ => … Read more

the_meta – no get_the_meta query?

You are getting an error because get_the_meta isn’t a function. Just because many the_* functions have a corresponding get_the_* function, it doesn’t mean that all do. What you want is get_post_meta or get_post_custom. Those will return arrays which you will have to loop over and format yourself. the_meta uses get_post_custom. You can use its code … Read more