افزونه WP-PageNavi رو نصب و فعالش کن بعدش برو داخل style.css و هر چه درونش هست پاک کن و بعدش کد زیر را در آن کپی کن
راستی منظورت از این چیه ؟
نمیشه فایل های slidebar رو درست کرد ؟
/*
Theme Name: Novin-dl
Theme URI: http://www.ir4u.ir/
Description: قالب دو ستونه فارسي <a href="http://www.ir4u.ir">نوين دانلود</a>
Version: 1.0
Author: Ali-Yeketaz
Author URI: http://www.ir4u.ir/
*/
/*Date:2009/09/30-Designed by:ali-yeketaz Design:ir4u.ir*/*{margin:0;padding:0}body{font:11px tahoma,sans-serif;color:#494848;background-color:#f2efe9;line-height:1.7;margin:0;padding:0 0;text-align:center}ol,ul,li{list-style:none}a,a:link{text-decoration:none;color:#4e4a3d}a:hover{color:#07cfed}img{border-style:none;}h1{padding:0px;margin:0px;font:bold 1.4em/1.6 Arial,sans-serif}h2{padding:0px;margin:0px;font:bold 1.4em/1.6 Arial,sans-serif}h3{padding:0px;margin:0px;font:bold 1.3em/1.6 Arial,sans-serif}h4{padding:0px;margin:0px;font:bold 1.2em/1.6 Arial,sans-serif}.left{float:left}.right{float:right}.clear{clear:both;height:0;line-height:0;font-size:0}#warpper{background-color:#FFF;direction:rtl;margin:0 auto;padding:0;position:relative;width:960px}.header{background:transparent url(images/header.png) no-repeat scroll center top;height:173px;position:relative}.header-name{height:70px;left:0;position:absolute;right:320px;top:75px;width:200px}.header-name span{display:none}.header span{display:none}#nav{background:transparent url(images/nav.jpg) no-repeat scroll center top;height:56px}#nav ul{list-style-type:none;margin:0;padding:14px 20px}#nav ul li{float:right}#nav ul li a{color:#fff;display:block;font-family:tahoma;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;line-height:14px;margin:5px 5px 0;padding:0 0 5px 5px;text-align:center;text-decoration:none}#nav ul li a span{display:block;padding:5px 5px 4px 0}#nav ul li a:hover,.sub-menu ul li a:active{background:transparent url(images/nav-highligh-bg-left.gif) no-repeat scroll left top}#nav ul li a:hover span{background:#acaaaa url(images/nav-highligh-bg.gif) no-repeat scroll right top;color:#000}#nav .active div span{background:#acaaaa url(images/nav-highligh-bg.gif) no-repeat scroll right top;display:block;padding:5px 5px 4px 0}#nav #searchform{height:30px;left:34px;position:absolute;top:187px;width:180px}#nav #searchform #s{background:transparent none repeat scroll 0 0;border-style:none;font:11px Tahoma,Arial,Helvetica,sans-serif;height:15px;right:4px;line-height:normal;margin:0;padding:2px;position:absolute;top:7px;width:135px;color:#363535}#nav #searchform a{display:block;height:23px;left:0;position:absolute;top:5px;width:35px}#nav #searchform a span{display:none}.clearfix:after{content:".";display:block;clear:both;visibility:hidden;height:0}*:first-child+html .clearfix{min-height:1px}.content{text-align:right;padding:0 10px 10px}.two-sidebar{background-color:#FFF;float:right;width:745px}.center-menu{float:left;width:550px; Margin-left: auto;
Margin-right: auto;}.links-top{background:transparent url(images/links-top.jpg) no-repeat scroll center bottom;height:36px}.links-content{background:#f8f7f3 none repeat scroll 0 0;margin-right:14px;width:521px}.links-left,.links-right{float:right;width:250px}.links-bottom{background:transparent url(images/links-bottom.jpg) no-repeat scroll center bottom;height:15px}.links-content ul{padding:5px 10px}.links-content ul li{background:#f8f7f3 url(images/arrow_left.gif) no-repeat scroll right 6px;padding:0 12px 0 0}.ads{margin:0px auto;text-align:center}.post{background-color:#FFF;background:transparent url(images/post-bg.jpg) repeat scroll center top}.center-menu ul{margin:5px 0 0 5px}.archive-links{line-height:2;padding-right:20px;background:transparent url(images/arrow_mini_left.gif) no-repeat scroll 99% 7px}.archive-info{border-bottom:#000;padding:0;margin:5px 10px 0 0}.archive-info h1{background:transparent url(images/archive-info.gif) no-repeat scroll right center;border-bottom:1px solid #C5C4C4;padding:0 32px 0 0;width:505px}.post-top{background:transparent url(images/post-title.jpg) no-repeat scroll center top;display:block;height:50px}.post h2{margin-top:-30px;padding:0 20px 0 0}.post h2 a{color:#e39b00}.meta{height:30px;margin-right:20px;width:500px}.meta ul{margin-right:5px;padding-top:4px}.meta ul li{display:block;float:right}.meta .view{background:transparent url(images/view.gif) no-repeat scroll right center;margin:0;padding:3px 24px 0 0}.meta .date{background:transparent url(images/date.gif) no-repeat scroll right center;margin:0 10px 0 0;padding:3px 20px 0 0}.meta .categry{background:transparent url(images/category.gif) no-repeat scroll right center;margin:0 5px 0 0;padding:3px 20px 0 0}.meta .comment{background:transparent url(images/comment.gif) no-repeat scroll right center;margin:0 10px 0 0;padding:4px 20px 0 0}.entry{margin:5px 0;font-size:11px;padding:10px 20px}.download{background:transparent url(images/download.gif) no-repeat scroll right center;margin:0;padding:10px 25px 5px 0}.size{background:transparent url(images/size.gif) no-repeat scroll right center;margin:0;padding:10px 25px 5px 0}.source{background:transparent url(images/source.gif) no-repeat scroll right center;margin:0;padding:10px 25px 5px 0}.password{background:transparent url(images/password.gif) no-repeat scroll right center;margin:0;padding:10px 25px 5px 0}.post-more-link{background:transparent url(images/continue.gif) no-repeat scroll right top;margin:15px 0 0 0;padding:0 18px 0 0}
.tags{
-moz-border-radius-bottomleft:5px;
-moz-border-radius-bottomright:5px;
-moz-border-radius-topleft:5px;
-moz-border-radius-topright:5px;
background:#F8F7F3 url(images/tags.gif) no-repeat scroll right top;
margin-top:15px;
padding:0 25px 5px 5px;}
.tags a {
-moz-border-radius-bottomleft:4px;
-moz-border-radius-bottomright:4px;
-moz-border-radius-topleft:4px;
-moz-border-radius-topright:4px;
background-color:#e3e3e3;
color:#848484;
padding:5px;
line-height:30px;
}
.tags a:hover {
background-color:#D6D3C9;
color:#000;
}
.post-footer{background:transparent url(images/post-footer.jpg) no-repeat scroll top center;height:30px;display:block}.right-sidebar{background:#FFF none repeat scroll 0 0;float:right;width:194px}.right-sidebar h3{height:41px}.right-sidebar span{display:none}.right-sidebar ul{margin:0;padding:0}.sidebar-content{background:transparent url(images/sidebar-content.jpg) repeat scroll top center;;padding:4px 9px}.sidebar-footer{background:transparent url(images/right-sidebar-footer.jpg) no-repeat scroll center bottom;clear:both;height:29px}.right-sidebar-box-ads h3{background:transparent url(images/sidebar-ads.jpg) no-repeat scroll center bottom}.right-sidebar-box-ads a{display:block;margin:0 0 5px;text-align:center}.right-sidebar-box-category h3{background:transparent url(images/category.jpg) no-repeat scroll center bottom}.right-sidebar-box-category ul li {background:transparent url(images/tick.gif) no-repeat scroll right 5px;padding:0 12px 0 0}.right-sidebar-box-category ul li ul{margin:0 15px 0 0}.right-sidebar-box-category ul li ul li{background:transparent url(images/arrow_mini_left.gif) no-repeat scroll right 5px;padding:0 10px 0 0}.right-sidebar-box-links h3{background:transparent url(images/sidebar-links.jpg) no-repeat scroll center bottom}.left-sidebar{background:#FFF;float:left;width:194px}.left-sidebar h3{height:41px}.left-sidebar span{display:none}.left-sidebar ul{margin:0;padding:0}.left-sidebar li{background:transparent url(images/arrow_mini_left.gif) no-repeat scroll right 7px;padding:0 10px 0 0}.left-sidebar-box-ads h3{background:transparent url(images/sidebar-ads.jpg) no-repeat scroll center bottom}.left-sidebar-box-ads a{display:block;margin:0 0 5px;text-align:center}.left-sidebar-box-last-post h3{background:transparent url(images/last-posts.jpg) no-repeat scroll center bottom}.left-sidebar-box-random-post h3{background:transparent url(images/random-posts.jpg) no-repeat scroll center bottom}.left-sidebar-box-sms h3{background:transparent url(images/sidebar-smsbox.jpg) no-repeat scroll right bottom}.left-sidebar-box-monthly-archive h3{background:transparent url(images/monthly-archive.jpg) no-repeat scroll center bottom}.left-sidebar-box-statistics h3{background:transparent url(images/statistics.jpg) no-repeat scroll center bottom}.footer{background:#F7F7F6 url(images/footer-bg.jpg) repeat-y scroll center top;clear:both;border-top:3px solid #FA4E80}#footer-top{background:transparent url(images/footer-1-up.jpg) no-repeat scroll center top;height:19px;display:block}.footer-content{float:right;text-align:right}.tags-cloud{width:270px;display:inline;float:right;text-align:right;padding:0 15px;margin-right:25px}.tags-cloud h2{background:transparent url(images/tags-cloud.jpg) no-repeat scroll right top;padding:3px 27px 0 0}.tags-cloud ul li{display:inline;font-family:Arial,Helvetica,sans-serif;padding:0 !important}.tags-cloud li a{background-image:none;display:block;float:right;font-weight:bold;text-decoration:none;white-space:nowrap}.tags-cloud .rank-1 a{font-size:1.9em;padding:2px 5px;color:#fe9a00}.tags-cloud .rank-2 a{padding:2px 5px;font-size:1.8em;color:#fe9a00}.tags-cloud .rank-3 a{font-size:1.7em;padding:2px 5px;color:#fe9a00}.tags-cloud .rank-4 a{font-size:1.6em;padding:3px 5px;color:#312e2e}.tags-cloud .rank-5 a{font-size:1.5em;padding:3px 5px;color:#8e0909}.tags-cloud .rank-6 a{font-size:1.4em;padding:3px 5px;color:#fe9a00}.tags-cloud .rank-7 a{font-size:1.3em;padding:4px 5px;color:#909090}.tags-cloud .rank-8 a{font-size:1.2em;padding:4px 5px;color:#fe9a00}.tags-cloud .rank-9 a{font-size:1.1em;padding:4px 5px;color:#fe9a00}.tags-cloud .rank-10 a{font-size:1em;padding:4px 5px;color:#fe9a00}.Last-comments{width:260px;display:inline;float:right;text-align:right;padding:0 5px}.Last-comments h2{background:transparent url(images/links.jpg) no-repeat scroll right top;padding:3px 27px 0 0}.Last-comments ul li{background:transparent url(images/arrow-left.jpg) no-repeat scroll right 4px;padding:0px 15px 0 0;font-size:12px}.populars{display:inline-block;float:right;padding:0 10px;text-align:justify;width:315px}.populars h2{background:transparent url(images/popular-posts.gif) no-repeat scroll right top;padding:3px 30px 0 0}.populars ul li{background:transparent url(images/arrow-left.jpg) no-repeat scroll right 4px;padding:0px 15px 0 0}.clicks {
color:#BEBDBD;
font-family:Tahoma;
font-size:9px;
font-weight:normal;
margin:0;
padding:0;
}.w {
color:#FFFFFF;
}.related{display:inline;
float:right;
margin-right:29px;
padding:0 8px;
text-align:right;
width:280px;}.related h2{background:transparent url(images/related.gif) no-repeat scroll right top;padding:3px 30px 0 0}.related ul li{background:transparent url(images/arrow-left.jpg) no-repeat scroll right 4px;padding:0px 15px 0 0}#footer-bot{height:19px;background:transparent url('images/footer-1-bot.jpg') no-repeat center top}.footer-bottom{background:#F7F7F6 url(images/footer-bottom.jpg) repeat-y scroll center top;clear:both;height:112px;color:#DBDBDB;border-top:3px solid #FA4E80}.copyright{bottom:10px;float:right;position:absolute;right:25px;text-align:right;width:450px}.designer{bottom:10px;float:left;left:25px;position:absolute;text-align:left;width:400px}.comment-head{padding:2px 37px 2px 5px;background:transparent url(images/comments.gif) no-repeat scroll 97% center}.comment-list ol{color:#333;font:1.1em tahoma,sans-serif;line-height:2em;list-style-type:none;padding:0}.comment-list ol li{}.comments{background:transparent url(images/post-bg.jpg) repeat scroll center top}.comment-top{background:transparent url(images/comment-top.jpg) no-repeat scroll center bottom;height:14px;display:block}.comment-meta{margin-top:-32px;padding:0 20px 0 0}.comment-meta p{margin:0 8px 0 0}.reply{background:transparent url(images/reply.gif) no-repeat scroll right center;display:inline;float:left;margin-left:50px;padding:2px 22px 0 0}.grav{float:right;padding-left:5px}.comment-body{clear:both;padding:10px 25px 0;text-align:justify}.comment-form{background:transparent url(images/post-bg.jpg) repeat scroll center top}.comment-form h3{background:transparent url(images/comments-count.gif) no-repeat scroll right top;margin:15px 10px 0 0;padding:10px 30px 0 0;height:30px}#comments-open-data{padding:0 20px 10px 0;background:transparent url(images/comment-logo.gif) no-repeat scroll left top}.comment-form label{display:block;font:11px tahoma,Helvetica,sans-serif;margin:0 0 0 5px;padding:5px 10px 1px 3px;width:160px;color:#555}#commentform #author,#commentform #email,#commentform #url,#contactposttextbox #author,#contactposttextbox #email,#contactposttextbox #url {background:#FFF none repeat scroll 0 0;border:1px solid #BBB;display:block;font-family:tahoma;margin:5px 10px 20px 0;padding:8px 25px 8px 8px;width:200px}#commentform #author{background:#f3f0eb url(images/comment-author.gif) no-repeat scroll 99% 7px}#commentform #email{background:#f3f0eb url(images/mail.gif) no-repeat scroll 99% 7px;text-align:left}#commentform #url{background:#f3f0eb url(images/url.gif) no-repeat scroll 99% 7px;text-align:left}#commentform #comment{background-color:#f3f0eb}.comment-form-remember-me{display:block;margin-right:10px}.comment-form-remember-me label{display:inline;float:none;text-align:right;width:auto;padding:0;margin:0}#comment-bake-cookie{}#comments-open-text{clear:both;background:transparent url(images/post-bg.jpg) repeat scroll center top;overflow:hidden;padding:0 20px 0 0}#comment{background:#FFF none repeat scroll 0 0;border:1px solid #BBB;display:block;font-family:Tahoma;font-size:1.1em;height:150px;margin:5px 10px 20px 0;padding:5px;width:400px}#comments-open-footer{margin:5px 30px 10px 0}#submit{background-color:#F3F0EB;border:1px solid #BBB;color:#545454;cursor:pointer;font-family:Helvetica,Arial,sans-serif;font-size:15px;font-weight:bold;height:42px;width:80px}.comment-bot{background:transparent url(images/post-footer.jpg) no-repeat scroll center top;display:block;height:30px}.comment-message{margin-top:10px}#comment_error{background:transparent url(images/error.gif) no-repeat scroll right 3px;padding-right:20px}#comment_pending{background:transparent url(images/ok.jpg) no-repeat scroll right 5px;padding-right:20px}.sad{background:transparent url(images/sad.gif) no-repeat scroll center center;height:480px;width:100%}.happy{background:transparent url(images/happy.gif) no-repeat scroll center center;height:480px;width:100%}.not-found{background:transparent url(images/404.jpg) no-repeat scroll center center;height:480px;margin:0px auto;width:100%}.text-404{width:400px;margin:auto}.text-404 h1{font-size:17px}.text-404 p{font-size:12px;text-align:right}.search-form{background:transparent url(images/bg-search-form.jpg) no-repeat scroll center center;margin:0 auto;height:88px;width:401px}.form-include{padding:35px 0 0;margin-right:62px}.search-form a{margin:0 12px 0 0;padding:12px 36px;width:50px;clear:both}.search-form span{display:none}.search-text{font-size:12px;font-family:Tahoma,Arial,Helvetica,sans-serif;border:medium none;width:200px;margin:0}.search-info{border-bottom:#000;padding:0;margin:5px 10px 10px 0}.search-info h1{background:transparent url(images/search-info.gif) no-repeat scroll right top;border-bottom:1px solid #C5C4C4;padding:0 25px 0 0;width:505px}.nosearch p{padding:5px 10px 0 0}.pagination{overflow:hidden;margin:10px 15px 0 0;}
.nosearch fieldset {
border:1px solid #F4F3EE;
padding:5px;
margin:0 5px;
}
.nosearch fieldset legend {
font-weight:bold;
padding:0 6px;
color:#494848;
}
.as_styled{
background:#FBFAF9 none repeat scroll 0 0;
border:1px solid #E9E6D5;
font-family:Tahoma,Arial,Helvetica,sans-serif;
font-size:11px;
margin:0 0 5px;
padding:5px;
}
.radio{
margin:5px 5px 0 0;
}
.submit{
background-color:#F3F0EB;
border:1px solid #BBBBBB;
color:#545454;
cursor:pointer;
font-family:Helvetica,Arial,sans-serif;
font-size:15px;
font-weight:bold;
height:35px;
margin-top:5px;
width:50px;
}
.pagination span.pages,.pagination span.extend{display:block;float:right;padding:3px 3px 3px 5px;font-size:.8em;font-weight:normal}.pagination a{display:block;float:right;padding:3px 7px;border:1px solid #ccc;margin:0 0 5px 5px;font-size:10px;background:#F3F3F3}
.pagination a:hover{border:1px solid #313131;background: #434141;color:#FFF}.pagination span.current{border:1px solid #313131;color:#FFF;background: #929090;display:block;float:right;padding:3px 7px;margin:0 0 5px 5px;font-size:10px}
/****** latest mobiles *******/
.wp-pagenavi {
clear: both;
padding:0px 5px 15px 5px;
direction:rtl
}
.wp-pagenavi h3 {
font-weight:normal
}
.wp-pagenavi a, .wp-pagenavi span {
text-decoration: none;
background:#F9F8F2;
border: 1px solid #ECE9D8;
padding: 1px 6px;
float :right;
margin: 2px;
-moz-border-radius: 3px;
}
.wp-pagenavi span.current {
background:#ffffff;
color:#666666;
border: 1px solid #ECE9D8;
}
.wp-pagenavi a:hover {
background:#e20030;
border-color: #87001d;
color:#ffffff
}
.wp-pagenavi span.current {
font-weight: bold;
}
خب حالا در هر فایلی که میخواهید شماره صفحات نمایش داده شود کد زیر را قرار دهید :
<div class="wp-pagenavi">
<div id="wp_page_numbers">
<ul>
<li class="active_page"><!--?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?--></li>
</ul>
</div>
</div>
#latest-mobiles {
width: 521px;
background: #F8F7F3;
direction: ltr;
clear:both;
overflow:hidden;
height: 230px;
position: relative;
margin: 0 14px 10px 0;
text-align:left;
}
.post-wrapper {
margin: 10px 67px 0;
position: relative;
overflow:hidden;
}
* html .post-wrapper {
overflow: visible;
}
#latest-mobiles h2 {
font: 11px tahoma, serif;
padding: 0;
background: url(images/links-top.jpg) center top no-repeat;
margin: 0;
height: 39px;
text-indent: -9999px;
overflow: hidden;
}
#post-body {
clear:both;
padding:10px 0;
width:390px;
}
#post-body a {
display:block;
width: 73px;
height: 138px;
float:left;
margin: 0 7px 40px 0;
padding: 5px 7px;
background: #fff;
border: 1px solid #E0DED6;
font: 12px/1.5 tahoma, serif;
color: #036;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
#post-body a:hover {
background-color: #EFEEE9;
color: #000;
}
#post-body li {
display: inline;
}
#post-body a span {
display: block;
text-align: center;
padding-top: 3px;
}
#btn1, #btn2 {
display: block;
width: 45px;
height: 45px;
text-indent: -9999px;
overflow: hidden;
position: absolute;
cursor: pointer;
}
#btn1 {
background: url(images/previous.jpg) left top no-repeat;
top: 108px;
left: 13px;
}
#btn2 {
background: url(images/next.jpg) left top no-repeat;
top: 108px;
right: 13px;
}
/******** for solving IE6 dobble margin bog ********/
* html .left-links, * html .right-links {
display: inline;
}
/********** clearing ************/
#post-body:after, .post-wrapper:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
height: 0;
}
* html #post-body, * html .post-wrapper {
height: 1%;
}
* html #post-body a {
padding: 5px 6px;
}
*:first-child+html #post-body, *:first-child+html .post-wrapper {
min-height: 1px;
}