سلام دوستان.از این که وقتتون رو میگیرم عذر میخوام.من یک پوسته دارم که دارای ساید باکسه.
حالا میخوام عکس ساید باکس رو تغییر بدم.از دوستان تقاضا دارم که بگن لینک عکس خودم رو کجای فایل ساید بار قرار بدم.از همکاریتون متشکرم.
`<?php global $traction; ?>
<div id="sidebar">
<?php if ($traction->sideboxState() != 'true') {?>
<div id="sidebox">
<?php if ($traction->sideboxCustom() == 'true') : ?>
<?php echo $traction->sideboxCode(); ?>
<?php else : ?>
<img src="<?php bloginfo('template_url'); ?>/images/sidebar/sidebox.jpg" width="250" height="200" alt="Traction WordPress Theme" />
<?php endif; ?>
</div><!--end sidebox-->
<?php } ?>
<?php if ($traction->adboxState() == 'true') { ?>
<div id="adbox" class="clear">
adboxUrl1() != '') echo $traction->adboxUrl1(); else echo "#"; ?>"><img class="alignleft" src="<?php bloginfo('stylesheet_directory'); ?>/images/ads/<?php if ($traction->adboxImage1() != '') echo $traction->adboxImage1(); else echo "125_ad.png"; ?>" width="125" height="125" alt="<?php if ($traction->adboxAlt1() != '') echo $traction->adboxAlt1(); else echo bloginfo('name'); ?>" />
adboxUrl2() != '') echo $traction->adboxUrl2(); else echo "#"; ?>"><img class="alignright" src="<?php bloginfo('stylesheet_directory'); ?>/images/ads/<?php if ($traction->adboxImage2() != '') echo $traction->adboxImage2(); else echo "125_ad.png"; ?>" width="125" height="125" alt="<?php if ($traction->adboxAlt2() != '') echo $traction->adboxAlt2(); else echo bloginfo('name'); ?>" />
</div><!--end adbox-->
<?php } ?>
<?php if ($traction->news() == 'true') { ?>
<div id="newsletter">
<h3><?php if ($traction->newsTitle() != '') echo $traction->newsTitle(); else echo _e('Sign up for our free newsletter', 'traction'); ?></h3>
<form class="newsletter" action="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo $traction->newsName(); ?>" method="post">
<div>
<input id="news-email" class="text" name="email" type="text" value="<?php _e('Email address', 'traction') ?>" onfocus="if (this.value == '<?php _e('Email address', 'traction') ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Email address', 'traction') ?>';}" />
<input id="news-button" type="image" src="<?php bloginfo('template_url'); ?>/images/newsletter-go.png" alt="<?php _e('Go', 'traction') ?>" class="button" value="Go" />
</div>
</form>
</div>
<?php } ?>
<?php if ($traction->twitterState() == 'true') { ?>
<div class="widget twitter">
<h2 class="widgettitle"><?php _e('Twitter', 'traction'); ?> twitter(); ?>"><?php echo $traction->twitter(); ?></h2>
<div class="tweet">
<?php twitter_messages($traction->twitter(), $traction->twitterUpdates(), true, true, false, true, true, true); ;?>
</div>
</div>
<?php } ?>
<?php if ( is_active_sidebar('normal_sidebar') ) echo "
- " ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('normal_sidebar') ) : ?>
-
<li class="widget widget_recent_entries">
<h2 class="widgettitle"><?php _e('Recent Articles', 'traction'); ?></h2>
-
<?php $side_posts = get_posts('numberposts=10'); foreach($side_posts as $post) : ?>
- "><?php the_title(); ?>
<?php endforeach; ?>
<li class="widget widget_meta">
<h2 class="widgettitle"><?php _e('Archives', 'traction'); ?></h2>
-
<?php wp_get_archives(); ?>
<?php endif; ?>
<?php if ( is_active_sidebar('normal_sidebar') ) echo "" ?>
</div><!--end sidebar-->