Hey there,
Unfortunately there is no way to do this with the default search box that comes with my plugin however you have two options:
1. Write some javascript to inject it in after the page loads.
2. Disable the default search option and put your own html in the additional content option.
Hope that helps!
Peter
Hi, thanks for your reply. Is there anyway I can add a widget to the additional content? I have tried adding <?php dynamic_sidebar( ‘search’ ); ?> but noting is displaying.
Hey there,
You can’t use PHP code directly but you can use shortcodes so if you just turn your PHP code into a shortcode then you can use that instead 🙂
Peter
thanks for your help 🙂
For anyone who is reading this and doesn’t know how to convert php into shortcodes – here is a handy plugin I found – https://ww.wp.xz.cn/plugins/custom-shortcode-creator/
Hey there,
Cool plugin, I normally just code my own as they are very easy to do but this is useful if you don’t know how.
The shortcode API docs from WP are pretty clear on how to create custom shortcodes too:
https://codex.ww.wp.xz.cn/Shortcode_API
Peter