- November 23, 2015 at 4:18 pm #6718
I made a test site baumkind.com/suche and the search icon on this page is shown in every browser and on mobile devices, so far so good.
If I uses the same code snippet (shortcode) for an other site for example home or blog, the icon of the search function is only displayed in firefox. If I delete the cache, it´s gone. I tried it in an html X-Code editor and text WYSIWYG.
I wrote already an email to Ernest:
I bought the Pro Version and it works perfect.
Is ist possible to show the search function on every site with one code integrationa and how? Or must we put the shortcode on every single site?
What do I wrong?
I hope for fast reply cause we wanna go live at tomorrow.
PatrickNovember 23, 2015 at 4:35 pm #6719
The reason why the plugin is not visible on other pages is because the shortcode is used only on that one page. The plugin cannot automatically place itself on pages, wordpress does not allow that yet.
I can recommend 2 possible solutions:
1. Use the Ajax search pro widget in the footer. Your theme most likely have footer widgetized areas. These widgetized areas are visible on the whole website usually. Use the search widget on one of these areas and it should be visible on the whole site.
2. Placing the search PHP shortcode directly to the active themes footer.php file. This solution works better, but it requires a bit of programming knowledge. On the demo page the compact shortcode is placed into the theme footer.php file just before the closing body tag: https://i.imgur.com/k7pzeXJ.png
In either cases, don’t forget to clear the cache and remove the shortcode from the baumkind.com/suche page editor, as it will be no longer required there.Best,
If you like my products, don't forget to rate them on codecanyon :)
November 23, 2015 at 5:14 pm #6720
Second solution works great. Done!
Thank you very much.
You must be logged in to reply to this topic.