• Resolved jeffreybeckers

    (@jeffreybeckers)


    Hi,

    I’m using the plugin WP Job Manager – Custom Fields from Remi Corson. I’m trying to get some output from custom fields in the sidebar from a single job, but it won’t work.

    I’m using this code:

    <?php _e( 'Inzet:', 'job_manager_admin_notification' ); ?> <?php echo get_post_meta( $args[0]->ID, '_inzet', true ); ?>

    This works with admin notification….

    https://wordpress.org/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    Where are you getting $args[0]->ID? I think its more likely you’ll need:

    global $post;
    
    echo get_post_meta( $post->ID, '_inzet', true );
    Thread Starter jeffreybeckers

    (@jeffreybeckers)

    Thx for your respons.

    I hated the plugin so i bought the field editor plugin, much better 😛

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wp job manager custom fields’ is closed to new replies.