Dynamic Widgets 1.5.3

Finally! A new version of Dynamic Widgets. Do I have an excuse that it took so long? No, not really. Time just flies when you’re having fun. Anyway, it’s here. This version has the following added and fixed.

  • Added URL support.
  • Added Day of the week support.
  • Added Weeknumber support.
  • Added Custom Taxonomies support for Posts.
  • Added Chech language files (locale: cs_CZ) – Dekuji Pavel!
  • Added Brazil Portuguese language files (locale: pt_BR) – Obrigado Renato!
  • Bugfix for Notice: Undefined property: stdClass::$post_name.
  • Bugfix for Missing options (Archive, Error, Search); Stopped using the accordion.
  • Bugfix for Notice: Undefined index: single_author_act in dynwid_admin_save.php on line 138.
  • Bugfix for not showing the green checkmark when an option is set for single posts.

Two issues remain at this moment with Single Post Rules.

30 Comments to “Dynamic Widgets 1.5.3”

  • Hey,
    For some reason after manually upgrading plugin, it won’t activate. Just hangs until server timeout error shows up. It was working fine on the previous version of WP and plugin. We’ve upgraded WP to latest version and plugin too, now won’t activate.

    • I think it’s best to remove the complete dynamic-widgets directory under the plugins directory. Download the latest DW (again) and place it under the plugins directory. See if that helps.

      • Tried that, also tried downgrading to previous version. That wont activate also. Seems to be db issue of some sort.

        • Might be a DB table got corrupted. You can try to repair it via e.g. phpMyAdmin.

  • Hi
    Using this widget, and trying to place 3 different videos in 3 different pages on this website.
    But it’s only the same video on all 3 pages. Any idea how to solve this problem.

    • Dynamic Widgets does not alter the contents of widgets. It just shows or hides widgets. When you want to have 3 separate video’s you probably have to create 3 widgets for that. All with their own DW options.

  • Very useful widget, thanks. Just one question (and apologies if I’m missing the obvious) but I have created menus which I want to repeat on more than one page. However, I don’t want a menu item for eg ‘about us’ to appear on the ‘about us’ page. Other than having to make an individual menu for this page without this link in, can I tell Dynamic Widgets to exclude current page, even if it is in the list? I’ve looked through all the categories but couldn’t see anything obvious.

    If I can get this resolved, I’d certainly be happy to buy you a couple of beers!

    Thanks

    • I’m sorry, DW does not alter the contents of widgets. It only shows or hides widgets following the rule options you’ve set.

      • Jacco, are you saying that if I create a custom menu with links to every page and I want to display it on, say, half my pages, there’s no option to hide the link to the current page? Is that something you can include in a future update?

        I’ll buy you a beer anyway for your quick reply – customer service counts for a lot.

        • No, that option doesn’t exist in Dynamic Widgets. It means altering the contents of a widget and that goes beyond the purpose of this plugin in my current opinion. However, you’re not the first one asking for this feature. I did put it into the request list at that time and will add your request to it as well. Thanks for the beer anyway! 😉

  • Thank you for Dynamic Widgets. I see this error, do you know how to fix it?

    PHP Fatal error: Call to undefined function add_submenu_page() in /home/username/public_html/wp-content/plugins/dynamic-widgets/dynamic-widgets.php on line 632

    line 632
    // Show errors in the admin page
    add_submenu_page('themes.php', __('Dynamic Widgets', DW_L10N_DOMAIN), __('Dynamic Widgets', DW_L10N_DOMAIN), 'edit_theme_options', 'dynwid-config', 'dynwid_disabled_page');

    WordPress 3.4.2
    Dynamic Widgets 1.5.3
    Theme: Weaver II Pro 1.2.4

    • This error has been reported quite a while ago also by a DW user. We never found the issue unfortunately. Google is also not really helpful here unfortunately. A couple of things I found: Is this a new WordPress install? Or are you using a plugin with almost the same name?

      • Not a new WP install, but updated to latest 3.4.2, and no similar named plugins. What happens if I comment out this code?

        • You loose the link to the DW overview page. You can sill set options for widgets via the widget itself.

          Still trying to find out why WordPress is giving that error. Question I have: Are you using WordPress in a different language then the standard English? Might sound a bit odd question, but depending on the answer it might bring me to a solution.

          • Only English language and the server runs PHP 5.3.18 and MySQL 5.5.27. I see the error on multiple sites running Weaver II Pro Theme, and I’m trying to determine what action triggers the error.

          • Yeah, that’s absolutely meeting the requirements to run DW. You might go in the right direction that something is clashing with that theme. This sounds a lot like the previous time I came across this problem by the way. Also DW was complaining about not meeting requirements and hitting into the add_submenu_page() error.

        • Update: PHP error is gone after update to WP 3.4 and Weaver II Pro 1.2.5

          Thank you for development and support of the Dynamic Widgets plugin.

          • Correction: WP 3.5 and Weaver II Pro 1.2.7

          • Great! Thanks for letting me know. 🙂

    • Wait a minute… I’m just looking in your original comment. According to DW you’re not meeting the minimal requirements for DW. It needs at least WordPress 3.0 (looks good as you’re using 3.4.2), but also PHP 5.1.0. That might be the problem.

  • Moving my sites to Worpress, I installed your plugin and noticed the comment about WeaverII Pro (which actualy recommends the plugin).

    Maybe it helps if I say that I run WeaverII Pro – blank subtheme – and have no problem with DW. Looks like a great tool to get used to, because I need my sidebar to be showing different things, depending content.

    Not to say that I have no problem with getting used to Worpress and php 🙂 (Proud that I got my index page up. Currently recovering from headache! )

  • Hi, are you planing develop the plug in for cookies or variables ($)
    thanks

    • To be honest, never thought about it. What exactly would you like? I can always put it on the wishlist.

      • Hi, thanks
        i mean that i need to show the plugin if the cookies pippo=1 or depending of a query string variable

        • That would be a pretty advanced enhancement. Surely not something what would be used by an average user. I think this needs commercial backing before this can make it into DW.

  • Hi- I love DW and have contributed in the past, will do so again for a little support- I am getting this error on a site where it’s been working fine previously for a few years.
    I am reluctatn to uninstall as lots of menus and stuff are configured. I re-uploaded a clean version of all the files and stil lget this error:
    Warning: Missing argument 2 for wpdb::prepare(), called in /home/thanp73/public_html/wp-content/plugins/dynamic-widgets/classes/dynwid_class.php on line 654 and defined in /home/thanp73/public_html/wp-includes/wp-db.php on line 990
    Static

    • Yes, it’s a known problem and already fixed in the development version. See my latest blogpost about that.

  • Hi!

    Since WP 3.5 the backend of Dynamic Widgets is not working, because of the wpdb::prepare() problem.
    Will there be a solution?

    kind regards from Vienna
    Esther