Archived topic
How To Add AJAX php Code into header? Replace Search Bar With Ajax Search
1 reply · Started by Nithin on March 11, 2022
Viewing posts 1–2 of 2
How To Add AJAX php Code into header? I'm trying to replace generatepress search bar with ajax search bar <?php echo do_shortcode('[wpdreams_ajaxsearchlite]'); ?> that is the code. https://www.prorobloxguides.com/
Hi there
you can use a Hook Element:
https://docs.generatepress.com/article/hooks-element-overview/
Select the generate_menu_bar_items hook.
Make sure to check Execute PHP and exec Shortcakes
This archived topic is closed to new replies.