• Resolved peteratomic

    (@peteratomic)


    Can’t add more than one sidebar. Tried multiple variation of this:

    <?php if (!function_exists(‘dynamic_sidebar’) || !ww_dynamic_sidebar(‘homepage’)): ?>
    <?php if (!function_exists(‘dynamic_sidebar’) || !ww_dynamic_sidebar(‘ambient’)): ?>

    AND

    <?php if (!function_exists(‘dynamic_sidebar’) || !ww_dynamic_sidebar(‘homepage,ambient’)): ?>

    AND

    <?php if (!function_exists(‘dynamic_sidebar’) || !ww_dynamic_sidebar(‘homepage’,’ambient’)): ?>

    But none of them work. Gotta try something else ??

    https://www.ads-software.com/extend/plugins/widget-wrangler/

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Daggerhart

    (@daggerhart)

    Hi peteratomic,

    Sorry I didn’t see this post earlier.

    I think the problem is in your code.

    function_exist is a php function that returns a boolean true/false, so the ‘!’ in front of it is testing for if the function does not exist.

    I think its an extremely confusing snippet of code to use as a wordpress standard, and its likely only relevant for compatibility with previous versions of wordpress.

    If the Widget Wrangler Plugin is installed and enabled, it is not necessary for you to check to see if the function exist for dynamic_sidebar or ww_dynamic_sidebar.

    Try this
    <?php ww_dynamic_sidebar(‘homepage’); ?>
    <?php ww_dynamic_sidebar(‘ambient’); ?>

    You should be able to add the ww_dynamic_sidebar() function anywhere you want and as many times as you want.

    Again, sorry for the late reply.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Widget Wrangler] doesn't work with Mystique template’ is closed to new replies.