Reply To: Implementing Shortcode Into Theme

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Implementing Shortcode Into Theme Reply To: Implementing Shortcode Into Theme

#8270

Ernest Marcinko
Keymaster

Hi!

Based on this file, this line is outputting the default search form (line 85 on my screen):

<?php get_search_form(); ?>

Try replacing that with the search PHP shortcode:

<?php echo do_shortcode('[wpdreams_ajaxsearchpro id=1]'); ?>

Don't forget to replace the the “id=1” to the correct search ID in the shortcode, in case you have created multiple search instances.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)