• Resolved chrisbox

    (@chrisbox)


    Is there a way to pull in job titles by company name? Currently we’re pulling in by keywords for each member page, but the problem is it’s pulling all keywords, for example “Allegheny County” pulls all jobs that match those keywords. How could I modify this shortcode to pull in by the member name or company name?

    Shortcode we’re using now:
    [jobs keywords=”Allegheny County”]

    The shortcode I tried earlier with no luck to refine the search by company name:
    [jobs custom_meta_key=”meta_key_here” custom_meta_value=”Allegheny County”]

    I found the meta key(company_name) by navigating to job listing, edit job, finding the member name under job data.

    The modify shortcode did not work. Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Unfortunately, I don’t think there is a way to do this with just the core WP Job Manager plugin. This shortcode reference in the documentation provides the various options for filtering the [jobs] shortcode.

    You also can generate links with filters preselected on them in this way (just in case that could be helpful).

    Using just WP Job Manager core, beyond adding a unique word or code to each member’s job posts, so that you can set-up a keyword filter for a unique word or code that will just show their jobs, the only other option I can think of is using the shortcode to output single jobs by ID mentioned in the shortcode reference, but that would be a very manual process.

    There are third-party add-ons to WP Job Manager (see here) that add a company profile page that may allow more what you’re seeking, but the last time I looked, I didn’t find any that worked well (e.g. try them out extensively on a staging or test website, first!). Not listed in the link above (as it is only beta), there is a company manager for WP Job Manager that you can find by searching Google for “sMyl.es WP Company Manager”, which may be worth trying, too.

    Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    @chrisbox

    What @hastibe says is correct, there isn’t a way to do this with only the core plugin installed as it doesn’t support querying job listings by custom fields out of the box. You would need an add-on plugin or some custom code to do this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pull job titles by company name’ is closed to new replies.