WordPress.org

Ready to get started?Download WordPress

Forums

Job Manager
Conditional Tags (6 posts)

  1. diver66
    Member
    Posted 3 years ago #

    Hi,

    I am just playing around with the features of job manager ... and I am very pleased.
    There is something I am a little slow with : I have 4 jobs, they are the same except for the duration. I was thinking I could put the information, (since they are all the same) with a conditional tag in the template :

    could something like this work ?

    [if_job_categories = groupa]
    bla bla bla infos about all the jobs in group a
    [/if_job_categories]

    or can this be achieved any other way ?

    regards

    Joe

  2. Gary Pendergast
    Member
    Plugin Author

    Posted 3 years ago #

    Unfortunately, there isn't a nice shortcut like you're suggesting to do this. Job Manager treats each job as being separate.

    If you want to have it as one job, perhaps you could have this information in the description, then add a dropdown to the application form with the groupa category set (so it only appears for jobs in the groupa category). The applicant can then use the dropdown to select which duration they want to apply for.

  3. palPalani
    Member
    Posted 3 years ago #

    I have similar problem.
    I have a job from other website, and i want to redirect to users to other website instead of apply form. how can we do this?

    Like,

    [if_job_otherjob]
    External link
    [/else_job_otherjob]
    Apply Now
    [/if_job_otherjob]

  4. Gary Pendergast
    Member
    Plugin Author

    Posted 3 years ago #

    The best option for this would be to add 2 new Job fields to contain the link to the other website, and the option to hide the standard Apply Now link. (The Job Manager templates don't support 'else' syntax, hence why we need to the 2 new fields.)

    • Go to Job Manager->Settings->Job Form Settings
    • Create 2 new fields - a Text Input called 'Custom Application Link', and a Checkbox called 'Standard Application Link' with Data set to 'Display'
    • Now go to Display Settings, and add the following code to your template (assuming 6 is the custom link and 7 is the checkbox):
      [if_job_field6]
      <a href="[job_field6]">External Link</a>
      [/if_job_field6]
      [if_job_field7]
      [job_apply_link]Apply Now[/job_apply_link]
      [/if_job_field7]
    • In your jobs, you will need to set the Custom Application Link to be the URL you want to send them to, or check the Display box to show the standard application link. (This is a bit ugly, but currently the only way possible - I'll look at adding an [if_not...] tag in a later version.)
  5. Gary Pendergast
    Member
    Plugin Author

    Posted 3 years ago #

    Just to note, here's the feature request to add this:
    http://code.google.com/p/wordpress-job-manager/issues/detail?id=219

  6. palPalani
    Member
    Posted 3 years ago #

    WoW! great.
    i will try and let you know, if any issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic