Return array of categories to php function for current post

EDITS: <div id=”job-manager-job-dashboard”> <h3><?php _e( ‘Job listings are shown in the table below.’, ‘wp-job-manager’ ); ?></h3> <table class=”job-manager-jobs”> <thead> <tr> <?php foreach ( $job_dashboard_columns as $key => $column ) : ?> <th class=”<?php echo esc_attr( $key ); ?>”><?php echo esc_html( $column ); ?></th> <?php endforeach; ?> </tr> </thead> <tbody> <?php if ( ! $jobs ) … Read more

Loop of custom post type names

I don’t think there’s a way, in WP’s native features, to give a post type, itself, meta. You can get post types in your code using get_post_types( $args, $output, $operator ). $post_types = get_post_types( $args, $output, $operator ); https://codex.wordpress.org/Function_Reference/get_post_types But the only way I can think of to exclude post types based on a mutual … Read more