Addition in WP theme? (2 posts)

  1. grantatrade2011
    Posted 3 years ago #

    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 -->

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic