Search form settings in the header - by Rodrigo

This topic has 2 replies, 2 voices, and was last updated 6 years, 3 months ago ago by Olga Barlow

  • Avatar: Unionfor Web
    Rodrigo
    Participant
    August 2, 2018 at 16:53

    Hello Rose,

    I have a problem here with the header search form, can you help me?

    In his settings, the type of search I would like to be just “Posts” and not “Posts and Pages”, can we make this change in the child theme so that we do not miss this change in future theme updates?

    I await your next interaction!

    Best regards,
    Rodrigo M.

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 3, 2018 at 14:22

    Hello,

    1) Go to woopress/framework/theme-functions.php and find function et_search_filter, add the code if(!function_exists('et_search_filter')) { } as mentioned on the screenshot http://prntscr.com/ke9miv
    We’ll include this in next theme update.

    2) Copy only et_search_filter function into child theme functions.php and remove code mentioned on the screenshot.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.