• Resolved imddamembers

    (@imddamembers)


    I saw several similar help topics with similar issues, and I’ve already tried everything suggested there.

    I am trying to override the job-submit.php template file. I have copied the file over from the plugin to the wp-job-manager directory in my child theme. It’s not updating. Here’s what I’ve tried. (Note: I have other plugin theme overrides working just fine in this child theme, this is the only one that I can’t get to work.)

    • I’ve tried both wp-job-manager (the correct plugin directory, and what is shown in the tutorial screenshots) and job-manager (what is shown in the text of the tutorial
    • I’ve tried editing the content directly in the plugin file to be sure that there’s not something broken in there (It’s just added a <div> tag with text in it.) Editing the plugin file directly shows the change. Copying the edited plugin template file over to /wp-job-manager/job-submit.php (to be sure I wasn’t typing in the PHP page name wrong) and reverting the original template file = change disappears.
    • I even tried putting the file into a /templates directory in the child field, even though that shouldn’t work (it didn’t).
    • I checked to be sure that my child theme was in fact the active theme

    I don’t understand what I could be doing wrong here– this is so simple, and I have triple-checked the file location and names, and even copied the file over to be sure the minor code changes are correct. It’s clearly not seeing the overriding template file, but… why not? What am I not seeing?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • @imddamembers

    your path to the override folder is not correct.
    You need to upload it to:
    your_child_theme/job_manager/
    place the job-submit.php into this folder

    I did the same to override the single-jobs.php file i.e job detail page but nothing worked for me

    I created different things but nothing worked for me (i use the latest version of plugin / wordpress / even with twenty themes) nothing worked for me).

    I tried modifying single-jobs.php file
    created these path & tried but nothing worked

    my-theme/job_manager/single-jobs.php
    my-theme/job_manager/templates/single-jobs.php

    folder name same as plugin folder name.,
    my-theme/job-postings/single-jobs.php
    my-theme/job-postings/templates/single-jobs.php

    folder name as mentioned in docs (screenshot) @ https://wpjobmanager.com/wp-content/uploads/2014/03/wp-job-manager-2020-09-04-09-51-53.png
    my-theme/wp-job-manager/single-jobs.php
    my-theme/wp-job-manager/templates/single-jobs.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme file override not working’ is closed to new replies.