WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Widgets
[resolved] Dynamic widgets with shortcodes inside (9 posts)

  1. isaitorres
    Member
    Posted 2 years ago #

    Hello!

    First af all, thanks for the plugin, but I'm having a little problem with a widget in my website. It's showing on pages I don't want it not to. I just added shortcodes to this widget, is that the reason? Before I did this, the plugin worked great. Can you tell me what I did wrong? Does the plugin hide/show widgets with shorcodes?
    The website is this: http://www.lauriegardner.com/words-of-wisdom and I want to hide the last plugin on the right (words of wisdom).

    Thanks for the help.

    http://wordpress.org/extend/plugins/dynamic-widgets/

  2. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    Please make sure the rules you have set are still there in the Dynamic Widgets settings for that specific widget. It does happen sometimes WordPress replaces widgets after an update.

    When everything is still fine, what happens when you remove those shortcodes again? Does it start working again?

  3. isaitorres
    Member
    Posted 2 years ago #

    Thanks for the response!
    No, It doesn't work when I remove the shortcodes and only the simple html code remains. It still shows on the pages I don't want it to do.
    Do I have to deactivate and activate the plugin again? Because I already did it once before (without the shortcodes included) and it worked. But now with the shortcodes included it just doesn't work.
    any advice?

  4. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    Ok, that rules out a possible issue with shortcodes. Something else seems to be the problem. I don't think a deactivation - reactivation of Dynamic Widgets will fix the issue. But it's always worth a try of course.

    Did you change something else? Another template e.g.?

  5. isaitorres
    Member
    Posted 2 years ago #

    I just deactivated and activated and it works on some pages that it wasn't working before.
    about another template... I duplicated a page template from my theme and added php code to show my recent posts and categories. On that page is where the widget shows. Do you think that's the problem?

  6. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    Yes, that might be a problem. DW probably detects that page as something else.

  7. isaitorres
    Member
    Posted 2 years ago #

    Do you know how can I fix it? or the best approach to find a solution?

  8. Qurl
    Member
    Plugin Author

    Posted 2 years ago #

    Did you follow the guidelines for template hierarchy? For DW that's very important.

    You can also try to switch DW into 'OLD' method. It does help sometimes. You can do that by going to the DW overview page, at the bottom click 'Advanced' and then tick the box for using OLD method.

  9. isaitorres
    Member
    Posted 2 years ago #

    Thanks! it worked great on the 'OLD' method.

    Problem solved! ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic