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

Ernest Marcinko
Ernest Marcinko


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('&#91;wpdreams_ajaxsearchpro id=1&#93;'); ?>

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.

Ernest Marcinko

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