Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am having the same problem with the pro plugin on a client website. Please advise.

    Thread Starter redgoatcreative

    (@redgoatcreative)

    Heh, whoops…sorry about the confusion. I had updated the function calls as in that last post and the arrays in function.php to match (just didn’t post the arrays since you commented they looked good). I had found a post where the person was having similar difficulty and resolved it by removing the spaces in the Sidebar names, so I gave it a try. Wish it had worked!

    Thread Starter redgoatcreative

    (@redgoatcreative)

    Yes, it’s only in my theme – the default behaves correctly. If it helps, here’s the code I have calling the sidebar functions on my homepage template. Not sure where else the problem might be.

    <?php if (dynamic_sidebar('HomepageSidebar-1')) : ?>
    <?php endif; ?>
    <?php if (dynamic_sidebar('HomepageSidebar-2')) : ?>
    <?php endif; ?>
    <?php if (dynamic_sidebar('HomepageSidebar-3')) : ?>
    <?php endif; ?>
    Thread Starter redgoatcreative

    (@redgoatcreative)

    Just noticed something odd…all of the “test” text/html widgets I’ve been adding that have disappeared have ended up in the inactive widgets area of the widget cp. I dragged one of the previous text/html instances from there back into the sidebar, which worked fine, but on the widget cp reload it was removed from the sidebar and placed back into inactive status.

    What did I do wrong?!

    Thread Starter redgoatcreative

    (@redgoatcreative)

    Still haven’t found a solution. Any other thoughts or other suggestions would be greatly appreciated!

    Thread Starter redgoatcreative

    (@redgoatcreative)

    I added a text/html widget to Homepage Sidebar 1 and the widgets that were in 2 and 3 are no longer on the page.

    Then I added a text/html widget to the Main Sidebar and the widget previously in Homepage Sidebar 1 is no longer there.

    Thread Starter redgoatcreative

    (@redgoatcreative)

    Just realized the other widgets on the page disappear when I update any one of the others.

    Here’s the functions.php code:

    if ( function_exists('register_sidebar') ) {
    	register_sidebar( array(
            'name' => ('Main Sidebar'),
            'id' => 'sidebarMain',
            'description' =>  ('Main site sidebar (default)'),
            'before_widget' => '',
            'after_widget' => '',
            'before_title' => '',
            'after_title' => ''
        ) );
    	register_sidebar( array(
            'name' => ('Homepage Sidebar 1'),
            'id' => 'sidebarHomepage1',
            'description' => ('Use to create 3 column layout on homepage.'),
            'before_widget' => '<div class="hpColumn1">',
            'after_widget' => '</div>',
            'before_title' => '<h2>',
            'after_title' => '</h2>'
        ) );
    	register_sidebar( array(
            'name' => ('Homepage Sidebar 2'),
            'id' => 'sidebarHomepage2',
            'description' => ('Use to create 3 column layout on homepage.'),
            'before_widget' => '<div class="hpColumn1 hpColumn2">',
            'after_widget' => '</div>',
            'before_title' => '<h2>',
            'after_title' => '</h2>'
        ) );
    	register_sidebar( array(
            'name' => ('Homepage Sidebar 3'),
            'id' => 'sidebarHomepage3',
            'description' => ('Use to create 3 column layout on homepage.'),
            'before_widget' => '<div class="hpColumn1">',
            'after_widget' => '</div>',
            'before_title' => '<h2>',
            'after_title' => '</h2>'
        ) );
    	register_sidebar( array(
            'name' => ('Contact Sidebar'),
            'id' => 'sidebarContact',
            'description' => ('Use for contact form.'),
            'before_widget' => '',
            'after_widget' => '',
            'before_title' => '',
            'after_title' => ''
        ) );
    	register_sidebar( array(
            'name' => ('Blog Sidebar'),
            'id' => 'sidebarBlog',
            'description' => ('Use for contact blog.'),
            'before_widget' => '',
            'after_widget' => '',
            'before_title' => '',
            'after_title' => ''
        ) );
    
    }

    Anything stand out as being wrong?

    Thread Starter redgoatcreative

    (@redgoatcreative)

    Thanks for the reply.

    I did try deactivating all plugins, then testing the text/html widget in one of the sidebars, but that didn’t change anything. Tried your suggestion on resetting the plugins folder but that also yielded the same result.

    It’s updating the text on the page when I add a “new” text widget, but it seems to replace the previous text widget, rather than adding the widget.

Viewing 8 replies - 1 through 8 (of 8 total)