• Resolved Daniela642003

    (@daniela642003)


    I need to add a background image (or a slider) on the top of the page jobs/cameriera-ai-piani/, the single job page. How can I do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hossni Mubarak

    (@mhmrajib)

    Hello @daniela642003

    Thank you for your query.

    We have an action hook for that.
    Please try with:

    add_action( ‘jobwp_single_before_body_container’, ‘your_function_name_any’);

    Hope that helps.

    Thread Starter Daniela642003

    (@daniela642003)

    Thank you, Hossni, for your reply. I don’t know where I have to use this action hook. Perhaps, in “Job details”? Moreover, please, can you show me an example? If I need to add a header with a background image, what’s the correct sintax for the “your_function_name_any”?

    Thank you very much, Hossni.

    Plugin Author Hossni Mubarak

    (@mhmrajib)

    Hello @daniela642003

    You need to use the action hook in your theme functions.php file.
    Some like this –

    add_action( ‘jobwp_single_before_body_container’, ‘your_function_name_any’);

    function your_function_name_any() {
    ?>
    <div>Your header/background image related code here</div>
    <?php
    }

    * You can knock our live support if you need more assistance –
    https://wpjoblisting.com/

    Plugin Author Hossni Mubarak

    (@mhmrajib)

    Hey?@daniela642003,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can reopen it again if you need be.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add an image on background of job page’ is closed to new replies.