Support » Plugin: WP Job Manager » [job_dashboard] to show all job listings, not just logged in users

  • Resolved Paradox Digital


    Hi there,

    Is there a way to ‘edit’ the [job_dashboard] shortcode, using a remove/add shortcode function in my themes functions.php, so that the dashboard shows ALL job listings, not just those posted by the logged in user?

    I have multiple users on one site, but they can only see their own posted jobs, not everyones…


Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Dan


    The job dashboard only shows jobs for the current user. You’d need to filter the dashboard arguments and remove the author parameter:

    Is it possible to do this WITHOUT editing the plugin file? For example, copying that file to my theme folder and using at as an override, or like I stated in the first post, a custom remove/add shortcode function in my theme functions.php?

    Don’t fancy editing the plugin file for it to be deleted on a plugin upgrade…


    Plugin Contributor Dan


    You can’t override that file, but you can use the job_manager_get_dashboard_jobs_args filter and a custom function to change the args.

    Sorry, but we aren’t able to help with custom code requests like this. You may want to look into one of these services:

    #1 outsourcing service for WordPress


    Can be a pretty straight forward bit of code, Just this second done that very thing on site we’re adding job stats to, so that I can check as an admin/superadmin that the stats are displaying on the other users jobs.

    function wpsites_job_dashboard_override_all_users( $args ) {
        if ( is_super_admin() )
            unset( $args['author']);
        return $args;
    add_filter( 'job_manager_get_dashboard_jobs_args', 'wpsites_job_dashboard_override_all_users' );


    Thanks for that code, works great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[job_dashboard] to show all job listings, not just logged in users’ is closed to new replies.