Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Implementing Shortcode Into Theme › Reply To: Implementing Shortcode Into Theme
April 4, 2016 at 9:17 am
#8270
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 :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)