#wrapper #footer { color:#5e5e5e;clear:both;overflow:hidden; width:830px; padding: 20px 30px 10px 20px; background:#e7e7e2 url(images/body_bottom.png) top left no-repeat;}
images/body_bottom.png
bu dosya nedir ne iş yapar? nasıl bir resimdir?
#footer .footer-right{
-moz-border-radius:10px;
-webkit-border-radius:10px;
border:2px solid #000;
background:#FFF;
}
#footer .footer-left{
-moz-border-radius:10px;
-webkit-border-radius:10px;
border:2px solid #000;
background:#FFF;
}
bide buradaki background ları silince mi birşey değişmiyor? FFF = beyaz hani o açıdan
footerdan az birazda html kodu olsa fena olmazdı hani teori üretiyorumda
o resimde bu var hocam.
footerında tamamını ekliyim.
<div id="footer">
<div class="footer-left"><h3>Rastgele Konular</h3>
<?php if (function_exists('yg_rastgeleyazi')) { ?>
<ul>
<?php yg_rastgeleyazi(5, '23,22,129,168,65,47,11,21,1,55'); ?>
</ul>
</li>
<?php } ?>
</div>
<div class="footer-right"><h3>En Çok Yorum Alan Konular</h3>
<?php
global $wpdb;
$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 5";
$comments = $wpdb->get_results($sql);
$output = $pre_HTML;
$output .= "\n<ul>";
foreach ($comments as $comment) {
$output .= "\n<li>".strip_tags($comment->comment_author) .":" . "<a href=\"" . get_permalink($comment->ID)."#comment-" . $comment->comment_ID . "\" title=\"on ".$comment->post_title . "\">" . strip_tags($comment->com_excerpt)."</a></li>";
}
$output .= "\n</ul>";
$output .= $post_HTML;
echo $output;
?>
</div>
<div class="right"><a href=""></a></div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16648972-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>