Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Nithin John

    (@nithi22)

    Hi,

    Thanks for reaching out to us.

    Please note that it requires some code customization to add the search and filters to the page of your choice. The code used to render the filters on the job listing page can be found on the function AWSM_Job_Openings_Filters::display_filter_form in the wp-job-openings/inc/class-awsm-job-openings-filters.php file. The same function can be tweaked and used on the page of your choice as a shortcode or hook into any of the hooks available in your theme.

    Regards
    Nithin John

    Thread Starter Oliver Schmid

    (@webgarten)

    Hi Nithin

    Thank you for your Feedback.

    I made a classic theme by myself and the search bar should be in the template-parts/site-header.php for all pages and posts.

    When I add the code from class-awsm-job-openings-filters.php directly to site-header.php I get an error.

    Best, Oliver

    Plugin Contributor Nithin John

    (@nithi22)

    Hi,

    Sorry for the delay in the response.

    Please note that you may need to customize the code in the function for your requirement. Depending on your requirements, this may require some expertise in PHP and WordPress code customization.

    Regards
    Nithin John

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Search and Filter in my theme header’ is closed to new replies.