• Resolved atirez

    (@atirez)


    Hi all, this has probably been done to death and back but I cant seem to find what I am looking for. Probably because I am wordpress and php newb.

    Ok, I have:

    <div id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
     <div id="about" class="entry">
      <h2><img src="/image/textimage/About/TRASHED/18/fff" alt="About" /></h2>
      <p>This is my blog.</p>
     </div>
     <div>
      <h2><img src="/image/textimage/Archive/TRASHED/18/fff" alt="Archive" /></h2>
      <ul>
       <?php wp_get_archives('type=monthly'); ?>
      </ul>
     </div>
    <?php endif; ?>
    </div>

    What I want to achieve is widgets added in the admin section to have the same markup.

    <div id="about" class="entry">
      <h2><img src="/image/textimage/About/TRASHED/18/fff" alt="About" /></h2>
      <p>This is my blog.</p>
     </div>

    I would also like the word about to be replaced with the widget title. I cant seem to change what is output from the default list style.

    I have `<div class=”rightColumn”>
    <?php get_sidebar(); ?>
    </div>` in my main index template.

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar Issues’ is closed to new replies.