• Resolved sq000024

    (@sq000024)


    Hi!
    I need to customize a template for post a job page.
    Instead of having so many fields such as job title, description, etc. I just need 3-4 simple fields (company’s name, date, time, location).

    In the documentation I found any info on how to override the template. The problem is that in my themes I don’t have the folders of plugins. All plugins folders are in the different location. So now I am confused on how and what to override.

    https://coachlink.ie/

    https://www.ads-software.com/plugins/wp-job-manager/

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

    (@mikejolley)

    You need to create the ‘job-manager’ folder and copy the template files from the plugin to that created directory. Thats how the overrides work.

    You should only need to copy over content-single-job_listing.php

    Thread Starter sq000024

    (@sq000024)

    Do I need to copy all files (templates) or just single_job_listings.php?

    Thread Starter sq000024

    (@sq000024)

    I mean, do I need to copy all templates into the new folder that I created or just that one template?

    And also, do I have to delete all the content from that box (in content-single-job_listing. PHP template) and write new content?

    And…. I have no idea how to create a code for the fields I want :(. I am just a beginner. I need following fields:
    Company name
    Pick up Location
    Pick up Date
    Destination
    Number of pasangers
    Value of job

    And all of them are required.

    Thread Starter sq000024

    (@sq000024)

    I found this link: https://github.com/mikejolley/WP-Job-Manager/blob/master/includes/admin/class-wp-job-manager-writepanels.php#L24

    I mean if I found a template in my plugin folder which contained this information so clearly, I would know how to change the names of the fields and delete the unnecessary ones. But right now I am not sure how to use this information in the link and where exactly to use it….

    I would really appreciate it if you could help me!

    Thread Starter sq000024

    (@sq000024)

    I just tried to copy a folder with templates to the new destination and I keep getting this message:

    Unable to get directory listing because you do not have execute permissions on this directory. Please navigate to the parent directory, grant yourself this permission and try to view this directory again.

    Thread Starter sq000024

    (@sq000024)

    Ii know ur probably sick of me but I was wondering do I need to change anything in job-submit.php, because that template looks like the one on the POST JOB page.

    Plugin Author Mike Jolley

    (@mikejolley)

    Do I need to copy all files (templates) or just single_job_listings.php?

    Just the one file.

    And also, do I have to delete all the content from that box (in content-single-job_listing. PHP template) and write new content?

    If you’re only displaying a few fields, probably start from scratch.

    Unable to get directory listing because you do not have execute permissions on this directory. Please navigate to the parent directory, grant yourself this permission and try to view this directory again.

    No idea what you’re doing. You should be copying these files across, and creating the directories, via FTP.

    Ii know ur probably sick of me but I was wondering do I need to change anything in job-submit.php, because that template looks like the one on the POST JOB page.

    Up to now I’ve been telling you how to customise the actual display of a job. If you want to customise job submission fields:

    There are three ways to customise the fields in WP Job Manager;

    1. For simple text changes, using a localisation file or a plugin such as https://www.ads-software.com/plugins/say-what/
    2. For field changes, or adding new fields, using functions/filters inside your theme’s functions.php file: https://wpjobmanager.com/document/editing-job-submission-fields/
    3. Use a 3rd party plugin such as https://plugins.smyl.es/wp-job-manager-field-editor/ which has a UI for field editing.

    If you’d like to learn about WordPress filters, here is a great place to start: https://pippinsplugins.com/a-quick-introduction-to-using-filters/

    You may want to consider posting on jobs.wordpress.net if you want a developer to take care of all of this for you.

    Good luck anyhow.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Template overrides’ is closed to new replies.