Dynamic Widgets 1.2.3

After two development versions (1.2.1 and 1.2.2) and now with the addition of the default widget display setting option for the Search Page, it’s time to make version 1.2.3 an official release. So here it is. Compared to the previous official release version 1.2 the following has been changed:

  • Added functionality when front page display is set to static page. (1.2.1 and 1.2.2)
  • Added default widget display setting option for Search Page.

12 Comments to “Dynamic Widgets 1.2.3”

  • Hi, congratulations first on a great plugin. I just recently downloaded it and everything seems to be running smoothly thus far, except that I can exclude any widget from my front page.

    I’m running the Inove Theme and am using the recent version of WordPress. Other than that your plugin rocks.

  • Sorry edit that, I meant I “can’t” exclude from front page.

    • I guessed already you meant “can’t”. Thanks for letting me know which theme you use. That was really helpfull! If I didn’t know that, I was probably now pulling all my hair out.

      It looks like the problem is actually the theme. When you have only one widget in a sidebar (north, south, east or west) and remove the widget via my plugin, the theme detects this as an empty sidebar and puts the default widget in it. The only way to ‘fix’ this is probably to hack the theme sidebar to prevent displaying the default widget. However, I don’t know if that would break the styling.

  • Thanks!

    Just to be clear, so it’s the theme’s sidebar.php that I should modify?

    • I had a quick look in sidebar.php of the theme. Yes, it’s located in there. The sidebar.php script checks with the dynamic_sidebar() function if it’s called or not by WP. If not (the case when a sidebar is empty), it displays a static widget. For example at line 64 for the north sidebar.

      Please be aware, displaying an empty sidebar may result in breaking the layout style.

  • Thanks again, the thing I don’t understand is that this only occurs on the front page. Your plugin works great everywhere else on my site.

    I fooled around a little with the sidebar.php, but no luck. 🙁

    • I agree, that’s a bit strange. Just to be sure: At other pages other then the front page you’re also using the dynamics of the plugin which (can) result in an empty sidebar?

  • Hi, great plugin, thanks!

    I’m just trying to figure out why after I hit Save it takes me to a Parallels H-Sphere 404 error page… it otherwise works fine… any clues?

    • Hi Dave, Does the 404 page give you the initial requested URL?

  • I love the plugin! However I am using the JH Portfolio and it creates a separate list of pages that are indexed separately. So it treats those pages like my blog page and I do not have the option to include/exclude widgets for the pages that are created by JH Portfolio.

    Do you see any work around for this?

    Thanks!

    • Hi Josh, I’ll have a look to the JH Portfolio plugin this weekend.

    • Hello Josh,

      I’ve looked into the JH Portfolio plugin. I’m afraid Dynamic Widgets can’t work together with this plugin. Dynamic Widgets detects all pages created by JH Portfolio as a static page, but these pages are not being identified by the WordPress system, only by the JH Portfolio plugin. That’s the reason why Dynamic Widgets is not able to pick up these pages.

      So, I’m sorry, a workaround is unfortunately not possible for this.