• Hey- just upgraded to wordpress 2.5 and now I can’t display any of the scripts in the sidebar. Before htis happened, I was having a prbolem with the Tiga theme workign with 2.5 as it wouldn’t show stuff liek hte blogroll or categories, but I found a patch that got those workign like normal, but now whe I drop in any scripts into the sidebars, they don’t sdhow up like they used to on my blog.

    Any ideas what might have happened during hte tiga patch upgrade that prevents scripts from showing up now?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nazareth

    (@nazareth)

    I’ve noticed the patch changes the sidebar code from <div> to
    <li (I’ll show the changes below. Would htis be the cause?)

    Tiga theme:

    <?php if (has_dynamic_sidebar(‘Tiga Right Sidebar’)) { ?>
    <ul class=”right-sidebar”>
    <?php dynamic_sidebar(“Tiga Right Sidebar”); ?>

    <?php } else { ?>
    <div class=”right-sidebar”>

    <!– Begin – Search –>
    <div class=”right-widget-title”><?php _te(‘Search’); ?></div>
    <div class=”right-widget”><?php include (TEMPLATEPATH . ‘/searchform.php’); ?></div>
    <!– End – Search –>

    Tiga theme with patch:

    <ul class=”right-sidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar(‘Tiga Right Sidebar’) ) { ?>
    <!– Begin – Search –>
    <li class=”right-widget”>
    <h2 class=”right-widget-title”><?php _te(‘Search’); ?></h2>
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    <!– End – Search –>

    Thread Starter Nazareth

    (@nazareth)

    Doh! Never mind- Learn as I go- Didn’t realize that the “Text” Widget was where we have to place script code now- sure makes it a lot easier now though with hte text widget- I feel like a dummy now for missing this feature- spent too many hours trying out how to insert the code straight into the sidebar.php-doh!

    Resolved.

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

The topic ‘Scripts in sidebar not showing up’ is closed to new replies.