• Resolved anonymized-14293447

    (@anonymized-14293447)


    I would like to add an [employer] shortcode to both my joblist template and application template. The data could be fetched from my database as it’s a listing directory, or I could just write them myself. Is it possible?

    https://ww.wp.xz.cn/plugins/job-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Townsend

    (@smb-dev)

    By employer you mean Company ? If that’s the case it’s already built into job manager.

    You can only utilize the list of available short codes that are shown on the display settings page. What your asking for may just be a terminology or label confusion ?

    Can you be more direct or provide an example ?

    Thread Starter anonymized-14293447

    (@anonymized-14293447)

    Yes I mean Company. You say it’s built in but I cannot find it in the list. Ther’s Category, but that’s not what I need 🙂

    Plugin Author Thomas Townsend

    (@smb-dev)

    1. Add a NEW Text Field to Job Form settings. (Text Input) Label it as “Company”.

    Ensure you check the Box “Show this field in the Admin Job List?” and Update Job Form.

    This field will now be added to your Jobs details for when you Add or Edit a Job, You can now fill in the Company Name.

    2. Next go back and review the “Display Settings” under Job Templates / Custom Job Field Information.

    You should now see the following Shortcode available: [job_field6_label], [job_field6] – Company Name

    Depending on how you want this to show on your Jobs page,

    you would then copy [job_field6] and add it to the Job List Template
    within the [job_loop] [/job_loop] shortcodes to show data from that field within your Jobs List.

    Do the same thing with [job_field6_label] – this is the Label “Company” you will want to add that to the top of the List probably in between
    <tr class=”job[job_title][job_row_number] job[job_id] [job_field6_label] “>

    Also within the Job Loop.

    You will have to adjust the placement according to how you want the field displayed.

    Hope this helps/

    Thread Starter anonymized-14293447

    (@anonymized-14293447)

    …Simple and smooth! Thank you. Resolved!

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

The topic ‘create a new shortcode’ is closed to new replies.