New Plugin

Dynamic WP Job Manager
Tags for Elementor

Enhance your Elementor pages with dynamic WP Job Manager tags. This plugin enables seamless integration and stylish display of job tags directly in your Elementor layout. Perfect for job portals and career websites.

WPJM remote position: the challenge with the output values

This tag was actually the initial reason for developing this plugin. Here’s why:

The Challenge with WP Job Manager’s Remote Field

WP Job Manager stores the remote position status in a way that’s challenging to use with standard Elementor widgets:

  • Checked checkbox → stores 1 in meta field
  • Unchecked checkbox → stores '' (empty string) in meta field
  • No direct “false” or “0” value for non-remote positions

This makes it difficult to:

  • Use standard Elementor conditions (in many cases they expect true/false values)
  • Create meaningful displays with standard dynamic tags
  • Handle the empty string case elegantly

This dynamic tag solves these issues by:

  • Properly interpreting the 1 and empty string values
  • Providing meaningful display options for both states
  • Handling the conditional display logic internally
  • Offering consistent HTML output for styling

Technical Details

The tag uses one meta key from WP Job Manager:

Remote Position Meta Key: _remote_position
Return Type: HTML span with optional icon
Icon Processing: Font Awesome integration
Text Processing: Sanitized with esc_html()

HTML Output Examples

Text Only (Remote):

<span class="wpjm-remote-position">Remote Position</span>

Text Only (On-Site):

<span class="wpjm-remote-position">On-Site</span>

Icon Only (Remote):

<span class="wpjm-remote-position"><i class="fa fa-globe" aria-hidden="true"></i></span>

Icon Only (On-Site):

<span class="wpjm-remote-position"><i class="fa fa-building" aria-hidden="true"></i></span>

Icon & Text (Remote):

<span class="wpjm-remote-position"><i class="fa fa-globe" aria-hidden="true"></i> Remote Position</span>

Icon & Text (On-Site):

<span class="wpjm-remote-position"><i class="fa fa-building" aria-hidden="true"></i> On-Site</span>

Need Help?

If you’re experiencing issues not covered here:

  • Check the remote position setting in your job listing
  • Verify your display type settings
  • Test different icon and text combinations
  • Contact support with specific examples