WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can't get images in sidebar (3 posts)

  1. joshualiburdi
    Member
    Posted 7 years ago #

    No matter what I do, either manually adding images to the sidebar php or trying to add them through the Blogroll, images do not show up. I've tried everything I can think of and can't find a solution. Here's my sidebar php code, can someone figure this out?

    <div id="l_sidebar">

    <div class="bls"><div class="brs"><div class="tls"><div class="trs">
    </div></div></div></div>

    <!--sidebar.php-->

    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar(1) ) : ?>

    <!--recent posts-->
    <h2>Search</h2>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    <!--list of contributors-->
    <h2>Contributors</h2>

      <?php wp_list_categories('orderby=ID&title_li&exclude=4,6,13,7,5,2,3,10,11');?>

    <!--list of categories, order by name, without children categories, no number of articles per category-->
    <h2>Labels</h2>

      <?php wp_list_categories('orderby=name&title_li&exclude=1,12,8,9');?>

    <!--links or blogroll-->
    <h2>Links</h2>

      <?php get_links(-1, '

    • ', '
    • ', ' - '); ?>

    <!--archives ordered per month-->
    <h2>Archives</h2>

      <?php wp_get_archives('type=monthly'); ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>

    <!--end of if-->
    <?php } ?>
    <!--sidebar.php end-->

    <?php endif; ?>

    </div>

    URL: http://www.greenclothesmusic.com

  2. joshualiburdi
    Member
    Posted 7 years ago #

    Figured it out! I had to disable WP-Cache.

  3. jamesthewitch
    Member
    Posted 6 years ago #

    I found a widget plugin, Daiko's Text Widget, that will let me insert an image in my sidebar. Check it out live at my blog, Jimboland Jots, at http://www.jimboland.com, at the top of the left sidebar.

    You'll need to download and install his plugin, activate it, and then create an image link with an absolute path to the image you wish to display.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.