Forums

[resolved] Stuck Widgets? (10 posts)

  1. johnbilbo
    Member
    Posted 3 years ago #

    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.

  2. johnbilbo
    Member
    Posted 3 years ago #

    bump.

    Any suggestions??

  3. @mercime
    Member
    Posted 3 years ago #

    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

  4. johnbilbo
    Member
    Posted 3 years ago #

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

  5. johnbilbo
    Member
    Posted 3 years ago #

    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

  6. @mercime
    Member
    Posted 3 years ago #

    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="http://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; ?>
  7. @mercime
    Member
    Posted 3 years ago #

    EDIT - double posted ...

  8. mikelizzio
    Member
    Posted 3 years ago #

    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

  9. @mercime
    Member
    Posted 3 years ago #

    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.

  10. johnbilbo
    Member
    Posted 3 years ago #

    mercime:

    You rock. thanks so much!

  11. fantux
    Member
    Posted 3 years ago #

    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 http://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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags