Q: I am using genesis and the front page is widgetized. As a result, I need to insert the wow slider into a widget on the front page. I tried to create a text widget and then paste the shortcode there, and it did not work. I then tried to save the slider as an html file and then paste the code into the html widget in the widget area, but the file paths were wrong for the pictures. I uploaded the images and then changed the file paths in the code and now it is displaying as an ul.
We are definitely going to buy but we have to make sure that this can be inserted into a widget area. I was able to create a brand new page and insert it into a WordPress page using the shortcode. It worked like a charm and looked great. The html area in the widget is the problem as it appears to not accept shortcodes.
I also searched and found some code that you can add to the functions.php that will enable the use of shortcodes in widgets. I inserted the code and am still not able to use the shortcodes in the widget area.
Do you have any other suggestions? Thanks so much!
A: You should install a special plugin that allows to add php code into text widget firstly.
For example, "daikos-text-widget"
After that go to
WOW Slider -> All Sliders
and click on "Excerpt view" button at the top right corner. Additional line "for
templates" with php code will appear under line with shortcode.
You should add this php code into "daikos-text-widget", for example:
<?php wowslider(1); ?>