• Resolved fortunerubix

    (@fortunerubix)


    Hi!

    I was wondering if it’s possible to edit the job-pages template with Divi. I want every job-page to have the same layout, but made in Divi. Is that possible?

    Regards,

    Fort

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Scott

    (@jeremyescott)

    Matador directly imports the job description from the Bullhorn Job Order “description” or “public description” fields. Since these fields are in Bullhorn, they do not support WordPress shortcodes, and further, these fields are multi-purpose and used by other integrations for mass-emailing, posting to other job boards like Indeed, and others. So not only do Bullhorn description fields NOT support shortcodes, you don’t want to muddy-up the Bullhorn DB with platform-specific tools either.

    If you are insistent on using Divi, you can use an action/filter to put necessary divi (or other page builder shortcodes) before and after the content output. For example:

    
    <?php
    add_filter( 'the_content', 'prefix_matador_job_content' );
    function prefix_matador_job_content( $content ) {
    
    if ( ! is_single( 'matador-job-listings' ) {
        return $content;
    }
    
    $before = '[shortcode]'; // Shortcodes and stuff for before the description imported from Bullhorn. 
    
    $after = '[/shortcode]'; // Shortcodes and stuff for after the description imported from Bullhorn. 
    
    return $before . $content . $after;
    }
    

    That said, we highly recommend you instead either use a post type single template and skip the Divi altogether for Matador Jobs Listing.

    • This reply was modified 5 years, 4 months ago by Jeremy Scott.
    Plugin Author Jeremy Scott

    (@jeremyescott)

    Marked as resolved, unless original author has follow up questions.

    Plugin Author Jeremy Scott

    (@jeremyescott)

    Thread Starter fortunerubix

    (@fortunerubix)

    I want to add 2 shortcodes from divi (header and footer). It works with your code, but unfortunately they’re both boxed instead of full width. Is there a solution for that?

    Thanks.

    Plugin Author Paul Bearne

    (@pbearne)

    Hi

    It sounds like you will need to adjust the CSS

    of look at the overriding, the theme templates https://matadorjobs.com/support/documentation/theme-templates/
    or plugin templates
    https://matadorjobs.com/support/documentation/overriding-matador-templates/

    if you need to a coder to help you can find a good coder for here https://codeable.io/?ref=LGu6G

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘making a template with divi’ is closed to new replies.