Widget not working
-
Hello,
I come to you because i’m using your free version of this plugin and i’m trying to use your widget without success.
I did a custom sidebar in functions.php :
function register_widget_area() { register_sidebar( array( 'name' => 'Home RS feed', 'id' => 'home_rs_feed', 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h2 style="display:none">', 'after_title' => '</h2>', ) ); } add_action( 'widgets_init', 'register_widget_area' );and i show it in my front-page.php :
<?php get_sidebar('home_rs_feed'); ?>Of course i did put your widget in the good area on the back office, but in the front i dont have any feed or gear…
I’m connected on your website, and i can’t find anything to fix this.After this i tried to use the shortcode in the page, and this work well. So i presume you have a bug in your widget.
Best regards,
Côme
-
Hi Come,
Thanks for pointing this out. We’re passing this along to our engineers to take a look at ASAP.
More to follow!
Hey Côme,
Thanks for writing. Hmm…haven’t come across a case of a custom sidebar yet. Have you tried adding the widget to a standard sidebar area built-in to your theme, and does that work?
You might be able to add the html directly in your sidebar definition. Eg adding this to before_widget or before_title:
<div class=”powr-rss-feed” label=”enter some label”></div>Hope that helps, but let us know if you have any question or problems.
Best,
Ben
The topic ‘Widget not working’ is closed to new replies.