Support » Themes and Templates » Addition in WP theme?

  • how can i add random images in my new site. I am using free wordpress theme for my new site. i just to add some pictures when site open all times randon images show in right side bar
    here is sidebar.php code below

    * The Sidebar containing the main widget areas.
    <div id=”sidebar” class=”widget-area col300″ role=”complementary”>
    <?php do_action( ‘before_sidebar’ ); ?>
    <?php if ( ! dynamic_sidebar( ‘sidebar-1’ ) ) : ?>

    <aside id=”archives” class=”widget”>
    <h2 class=”widget-title”><?php _e( ‘Archives’, ‘living-journal’ ); ?></h2>

      <?php wp_get_archives( array( ‘type’ => ‘monthly’ ) ); ?>


    <aside id=”meta” class=”widget”>
    <h2 class=”widget-title”><?php _e( ‘Meta’, ‘living-journal’ ); ?></h2>

      <?php wp_register(); ?>
      <aside><?php wp_loginout(); ?></aside>
      <?php wp_meta(); ?>


    <?php endif; // end sidebar widget area ?>
    </div><!– #secondary .widget-area –>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Addition in WP theme?’ is closed to new replies.