Support » Plugin: WP Broadbean » Application Form Not Appearing

  • Resolved colinl255

    (@colinl255)


    Version 3.0

    The application form is not firing on the single job post template with my custom theme. I have written my own single job post template and everything appears fine with the_content(); except the form. What triggers the form part that should be included here in my template?

    I tested with Twenty Nineteen and the form appears fine (except for an unknown conflict when Yoast SEO enabled).

    • This topic was modified 4 years, 11 months ago by colinl255.
    • This topic was modified 4 years, 11 months ago by colinl255.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mark Wilkinson

    (@wpmarkuk)

    Hi there and sorry for the delay as I have been on annual leave.

    The application form is rendered on the_content() using the_content filter in WordPress. You can see this here:

    https://github.com/highrisedigital/wpbroadbean/blob/master/inc/applications/application-form.php#L110

    Therefore if your theme is outputting the content then it should work. The only thing I can think is that your theme is removing the_content filters somehow?

    Which theme are you using?

    Thread Starter colinl255

    (@colinl255)

    Hi Mark

    We are currently using ‘The7’, I did a search through the theme files but nothing is jumping out at me as to affect this. I will separately submit a support request to the theme developer.

    Thanks,
    Colin.

    Thread Starter colinl255

    (@colinl255)

    Hi Mark

    I have been speaking with the theme developer and;

    Short answer: Putting some content in the excerpt field gets the form visible on the page

    Detailed answer: https://github.com/highrisedigital/wpbroadbean/blob/master/inc/functions.php#L416 the plugins is using include_once to render the form

    The theme uses get_excepts function to generate open graph descriptions, this function calls the_content filter, so the view already called once and return empty results when page content generated, as workaround, I can fill in the excerpts so the the_content will be called only once.

    As the jobs are filled dynamically through the feed, I am not sure how to circumvent this.

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    I am not entirely sure that I need to use include_once there. I think it could be include which should fix the issue you have.

    Therefore is there anyway you can change that code on your site so that I can test it please?

    Thread Starter colinl255

    (@colinl255)

    Hi Mark,

    That solved the issue I was having. Thanks for your help.

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    Excellent. This fix is now included in version 3.0.1 and therefore if you update to that it should also correct the issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Application Form Not Appearing’ is closed to new replies.