@rocknets
you can remove the filled column via this snippet
add_filter( 'job_manager_job_dashboard_columns', 'remove_filled_column' );
function remove_filled_column( $columns ) {
unset( $columns['filled'] );
return $columns;
}
Hey. Thank you so much for taking the time to respond. Do you also know how to add a column that displays the location field please?
Many Thanks
Stephen
Hi @rocknets ,
Do you also know how to add a column that displays the location field please?
While we can’t provide custom code (perhaps @braehler has another snippet up his sleeve! :)) hopefully I can get you pointed in the right direction.
This is something you can do by overriding the default templates in WP Job Manager. You would need to modify the job-dashboard.php
template. We have a guide on how to override the default templates here:
https://wpjobmanager.com/document/template-overrides/
Additionally, you will likely find the list of template tags helpful:
https://wpjobmanager.com/document/template-tags/
We aren’t able to provide assistance with customizing templates per our support policy. If you need assistance, we recommend hiring a developer. We recommend the following sources:
Hope that helps!
Best,
Cena
@rocknets
maybe this one here points ypu into the right direction. Never realy touched this one, but I hope this helps.
function custom_job_manager_job_dashboard_columns( $columns ) {
// Add column
$columns['job_location'] = 'Location';
// Return.
return $columns;
}
add_action( 'job_manager_job_dashboard_column_job_location', function( $post ) {
echo get_post_meta( $post->ID, '_job_location', true );
} );
-
This reply was modified 1 year, 4 months ago by
braehler.
Since information to add this functionality has been shared, I am going to mark this thread as resolved.
If you have questions about WP Job Manager in the future, feel free to open a new thread.