• Resolved johnbilbo

    (@johnbilbo)


    Hi all:

    I have two stuck widgets on my page (gadgetgumbo.com). The two on the bottom of the right sidebar (categories and meta) show that they are not installed but are still show on the page. This might have come from some of our moving around from wp.com to a hosted site (just a guess).

    In the Widgets page, I can add Category and Meta but then it shows as duplicates to what is already there. When I turn them off, it reverts back to the two stuck widgets.

    Do I have modify the theme code to remove them?
    Thanks for any help.
    John B.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter johnbilbo

    (@johnbilbo)

    bump.

    Any suggestions??

    You have six dynamic “areas” where you can replace original codes with widgets to (check your dropdown in right column of Design-Widgets Panel)
    – sidebar_full
    – sidebar_left
    – sidebar_right
    – footer_left
    – footer_middle
    – footer_right
    EDIT – categories in sidebar_left and meta in sidebar_right

    Thread Starter johnbilbo

    (@johnbilbo)

    Thanks for the suggestion. I’ve check (via the web interface) that all regions are empty.

    Thread Starter johnbilbo

    (@johnbilbo)

    Bump. Any more suggestions?
    I would hate to have to poke around in the code but I can if needed.

    thanks for any help

    John

    Do I have modify the theme code to remove them?

    Yes, if you want to remove them, the delete the following lines from your sidebar.php

    <div id="sidebar_left">
    <ul>
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_left') ) : ?>
    <li><h2>Categories</h2>
    <div class="sidebarbox">
    <ul><?php wp_list_categories('show_count=0&title_li='); ?>
    </ul>
    </div>
    </li>
    <?php endif; ?>
    </ul>
    </div> <!-- Closes Sidebar_left -->
    <div id="sidebar_right">
    <ul>
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_right') ) : ?>
    <li>
    <h2>Meta</h2>
    <div class="sidebarbox">
    <ul>
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="https://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
    <?php wp_meta(); ?>
    </ul>
    </div>
    </li>
    <?php endif; ?>

    EDIT – double posted …

    I’m having similar problems. Mercime’s reply to the OP was helpful, but I wonder if anyone could help me further.

    I understand that these widgets are built into the author’s original code.

    I like the layout of all the sidebars, but I’d like to remove ALL built-in widgets, and choose them from scratch.

    I am a novice at coding, but I understand how it works. I just wouldn’t know what code to look for.

    Could someone explain how to find the code I’d need to remove for all the sidebars and the footer(s)?

    Thanks,

    Mike

    mikelizzio: If you are discussing the same theme noted above, you don’t have to delete anything. Since all are dynamic sidebars, any widget you place in that sidebar will supersede or replace the coding placed by themer in said sidebar.

    Thread Starter johnbilbo

    (@johnbilbo)

    mercime:

    You rock. thanks so much!

    On my installation, superseeding the builtin widgets doesn’t work. I added the Categories-Widget to my Sidebar, but the builtin one still shows up.

    This would actually not be an issue, if the builtin widgets would offer support for internationalization – which the non-hardcoded Categories-Widget does.

    See https://www.delta-phi.net for an example. Switching to pixeled-de is no longer a viable option as I am trying to run a multi-language blog.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Stuck Widgets?’ is closed to new replies.