• Resolved Bunny Blake

    (@h_double)


    I am using a simple custom developed wordpress theme. Wp-job-manager is working perfectly everyplace except the [jobs] shortcode, where it displays the location/search bar at top but no actual jobs. The jobs appear in [jobs_dashboard] and in the admin view so I know the data is there. I think the problem is that my theme is not able to load the jobs via ajax, but I’m not sure how to make that happen.

    There are no other WP plugins on the site, and my theme has no JavaScript in it yet except for what’s in wp-job-manager. There are no errors or warnings in the Chrome dev console. It just silently refuses to show any jobs, but if I switch to a different theme they load fine. Do I need to do anything special to let the ajax jobs load?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Bunny Blake

    (@h_double)

    I figured it out. The problem is that my footer.php wasn’t calling wp_footer(), which I didn’t think I needed, since I wasn’t using any widgets at the bottom of the page. But wp-job-manager needs wp_footer() to call the ajax javascript for get_listings, and once I added that call at the end of the page everything works as expected.

    • This reply was modified 6 years, 3 months ago by Bunny Blake.
    Plugin Contributor Jen H. (a11n)

    (@jenhooks)

    Hi @h_double,

    Thanks for following up, and especially for sharing what you found here on the forum. This will surely help people in the future. ??

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[jobs] doesn’t work with my barebones theme’ is closed to new replies.