Getting an error when embedding the PHP shortcode in my theme
-
Hello,
Thank you for this amazing plugin!I’m trying to implement it on my website: https://www.theartistsresidence.org/
I’m experiencing a problem displaying it using the php function: <?php wi_autosearch_suggest_form(); ?>I’ve added the widget to the widget holder, but I still get the following error:
Fatal error/home/theartistsreside/public_html/wp-content/themes/arh/page-templates/archive.php153
: Uncaught Error: Call to undefined function wi_autosearch_suggest_form() in /home/theartistsreside/public_html/wp-content/themes/arh/page-templates/archive.php:153 Stack trace: #0 /home/theartistsreside/public_html/wp-includes/template-loader.php(74): include() #1 /home/theartistsreside/public_html/wp-blog-header.php(19): require_once(‘/home/theartist…’) #2 /home/theartistsreside/public_html/index.php(17): require(‘/home/theartist…’) #3 {main} thrown in on lineDo you know what can be the issue?
Thanks a lot in advance,
Sasha Tamarin
- The topic ‘Getting an error when embedding the PHP shortcode in my theme’ is closed to new replies.