ادیت بلوک پست

Moha112233

تازه وارد
سلام دوستان

چطوری میتونم » رو از جلوی بلوکا بردارم؟؟

کد index.php:

<!-- BEGIN MAIN --> <div id="main"> <?php $fake_loop = new WP_Query('showposts=5'); while($fake_loop->have_posts()): $fake_loop->the_post(); ?>
<?php endwhile; ?> <?php if(get_option('pyre_featured_slider') == 'On' && get_option('pyre_featured_tags')): ?> <?php $post_types = get_post_types(); unset($post_types['page'], $post_types['attachment'], $post_types['revision'], $post_types['nav_menu_item']); $featured_posts = new WP_Query(array( 'post_type' => $post_types, 'showposts' => 5, 'tag' => get_option('pyre_featured_tags') )); ?> <!-- BEGIN WRAPPER-FEATURED --> <div id="wrapper-featured"> <div id="wrapper-slides"> <div id="slider" class="nivoSlider"> <?php while($featured_posts->have_posts()): $featured_posts->the_post(); ?>
<?php if(has_post_thumbnail()): ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'featured-image'); ?> <?php $image_thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'featured-image-thumb'); ?> <a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" title="#htmlcaption_<?php the_ID(); ?>" rel="<?php echo $image_thumb[0]; ?>" width='516' height='340' /></a> <?php else: ?> <a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=516&h=340" alt="<?php the_title(); ?>" title="#htmlcaption_<?php the_ID(); ?>" rel="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=70&h=60" width='516' height='340' /></a> <?php endif; ?> <?php endwhile; ?> </div> <?php while($featured_posts->have_posts()): $featured_posts->the_post(); ?> <div class="nivo-html-caption" id="htmlcaption_<?php the_ID(); ?>"> <h1><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h1> <p><?php echo string_limit_words(get_the_excerpt(), 15); ?> <span class="block-arrows"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'>»</a></span></p> </div> <?php endwhile; ?> </div> </div> <!-- END WRAPPER-FEATURED --> <?php endif; ?> <!-- BEGIN HOMEPAGE BLOCKS --> <?php if(get_option('pyre_homepage_style') == 'magazine'): ?> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Homepage')): ?> <div class="block full"> <h3><?php _e('تازه*ترین نوشته*ها', 'Avenue'); ?> <span class="arrows">»</span></h3> <?php $recent_posts = new WP_Query(array( 'showposts' => 4, )); ?> <?php $big_count = round(4 / 4); if(!$big_count) { $big_count = 1; } ?> <?php $counter = 1; while($recent_posts->have_posts()): $recent_posts->the_post(); ?>
<?php if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) { $icon = '<span class="' . get_post_format($post->ID) . '-icon"></span>'; } else { $icon = ''; } ?> <?php if($counter <= $big_count): ?> <div class="block-item-big"> <?php if(has_post_thumbnail()): ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'widget-image'); ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div> <?php else: ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=290&h=160" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div> <?php endif; ?> <h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2> <span class="block-meta"><?php the_time('F j, Y'); ?>, <?php comments_popup_link(); ?></span> </div> <?php else: ?> <div class="block-item-small"> <?php if(has_post_thumbnail()): ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'widget-image-thumb'); ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='50' height='50' /></a><?php echo $icon; ?></div> <?php else: ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=60&h=60" alt="<?php the_title(); ?>" width='50' height='50' /></a><?php echo $icon; ?></div> <?php endif; ?> <h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2> <span class="block-meta"><?php the_time('F j, Y'); ?>, <?php comments_popup_link(); ?></span> </div> <?php endif; ?> <?php $counter++; endwhile; ?> </div> <?php endif; ?> <?php endif; ?> <?php if(get_option('pyre_homepage_style') == 'blog'): ?> <div class="block archive"> <h3> <?php _e('تازه*ترین نوشته*ها', 'Avenue'); ?> <span class="arrows">»</span> </h3> <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('block-item-big'); ?>> <?php if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) { $icon = '<span class="' . get_post_format($post->ID) . '-icon"></span>'; } else { $icon = ''; } ?> <?php if(has_post_thumbnail()): ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'widget-image'); ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div> <?php else: ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=290&h=160" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div> <?php endif; ?> <h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2> <span class="block-meta"> <span class="heading-author"><?php the_author(); ?></span> <span class="heading-date"><?php the_time('F j, Y'); ?></span> <span class="heading-comments"><?php comments_popup_link('0','1','%'); ?></span> </span> <p><?php echo string_limit_words(get_the_excerpt(), 34); ?></p><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>' class="readmore"><?php _e('بیشتر بخوانید', 'Avenue'); ?> <span class="block-arrows">»</span></a> </div> <?php endwhile; endif; ?> <?php kriesi_pagination($pages = '', $range = 2); ?> </div> <div class='block full' style='padding-top: 20px;'> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Homepage (Blog Style)')): ?> <?php endif; ?> </div> <?php endif; ?> <!-- END HOMEPAGE BLOCKS --> </div> <!-- END MAIN --> <?php get_sidebar(); ?> <?php get_footer(); ?>​
کد:
<?php get_header(); ?>
و style.css:


@import url("css/reset.css");@import url("css/nivo-slider.css");@import url("custom.css");
@font-face { font-family: 'Yekan'; src: url('fonts/Yekan.eot?#') format('eot'), /* IE6–8 */ url('fonts/Yekan.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('fonts/Yekan.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */}
/*** General Styles ***/body { background:#f6f6f6 url(images/patterns/pattern6.png) repeat; font-family:Tahoma, Arial; font-size:12px; }
a { text-decoration:none; color:#d00000; }a:hover { text-decoration:underline; }a { transition: all .2s linear; -o-transition: all .2s linear; -moz-transition: all .2s linear; -webkit-transition: all .2s linear;}h1, h2, h3, h4, h5, h6 { font-family:'Yekan'; color:#333333; }.arrows { font-family:'Yekan'; font-size:37px; color:#d00000; text-align: right; }
#wrapper { background:url(images/wrapper-bg.png) repeat-y; width:1020px; margin:0 auto; overflow:hidden; }#wrapper-content { width:940px; margin:0 auto; padding:25px 0 25px 0; overflow:hidden; }
.clear { clear: both; }
/*** Header Styles ***/#header { margin-bottom:25px; }
/** Header Top Styles **/ .topNav { height: 35px; background:url(images/header-top-bg.png) repeat-x; padding: 0px 20px 0px 20px; width:940px; margin:0 auto; position: relative; } .topNav { } .topNav li { height: 35px; float:right; display:block; margin-left:18px; text-transform: uppercase; color:#999; text-shadow: 1px 1px 1px #FFF; position: relative; z-index: 10000; } .topNav li a { color:#999; display: block; float: right; height: 35px; line-height: 33px; } .topNav li ul { display: none; } .topNav li:hover > ul, #navigation li.hover > ul { display: block; position: absolute; top: 35px; right: 0; z-index: 10; width: 150px; border: 1px solid #dcdcdc; border-top: 0; background: #fff url('images/criteria-bg.gif') repeat-x bottom right; } .topNav li > ul li { background: #fff url('images/criteria-bg.gif') repeat-x bottom right; width: 150px; height: 35px; padding: 0; position: relative; border-bottom: 1px solid #dcdcdc; } .topNav li > ul li a { width: 120px; padding: 0 15px; text-align: right; font-size: 11px; color: #555; text-shadow: none; text-transform: normal; height: 35px; line-height: 35px; } .topNav li > ul li a:hover { background: #fff url('images/criteria-bg.gif') repeat-x bottom right; } .topNav li ul li:hover > ul, #navigation li ul li.hover > ul { display: block; position: absolute; top: 0px; right: 150px; z-index: 10; width: 150px; border: 1px solid #dcdcdc !important; background: url('images/criteria-bg.gif') repeat-x bottom right; } #social-media { float:left; margin-top: 9px; } #social-media img { margin-right:4px; } /** Header Middle Styles **/ #header-middle { margin-bottom:22px; overflow:hidden; } #logo { float:right; } #header-banner { float:left; padding-top:14px; } /** Main Navigation styles **/ #wrapper-navigation { background:url(images/navigation-bg.jpg) no-repeat; height:50px; } #navigation { font-family:'Yekan'; font-size:20px; } #navigation li { background:url(images/navigation-line.gif) no-repeat left; float:right; height:45px; padding:0 0 0 2px; position: relative; z-index: 1000; } #navigation li a { color:#FFF; text-shadow: 1px 1px 1px #000; padding:6px 18px 13px 18px; display:block; } #navigation li a:hover { text-decoration:none; } #navigation > div > ul > li > a:hover, #navigation > div > ul > li.current-menu-item > a { background:url(images/navigation-current.png) repeat-x; } #navigation li ul { display: none; } #navigation li:hover > ul, #navigation li.hover > ul { display: block; position: absolute; top: 45px; right: 0; z-index: 10; width: 170px; border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background: url('images/subnav_bg.png') repeat-x top right; padding-top: 5px; } #navigation li > ul li { background: url('images/subnav_item_bg.png') repeat-x top right; width: 170px; height: 34px; padding: 0; position: relative; } #navigation li > ul li a { padding: 0 15px; text-align: right; line-height: 35px; font-size: 16px; color: #555; text-shadow: none; } #navigation li > ul li a:hover { background: url('images/subnav_item_hover_bg.png') repeat-x top right; } #navigation li > ul li.current-menu-item > a { background: url('images/subnav_item_bg.png') repeat-x top right; } #navigation li ul li:hover > ul, #navigation li ul li.hover > ul { display: block; position: absolute; top: 0px; right: 170px; z-index: 10; width: 170px; border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background: url('images/subnav_bg.png') repeat-x top right; padding-top: 5px; } /*** Main Styles ***/#main { width:620px; margin-left:20px; float:right; }
/** Featured Slider Styles **/ #wrapper-featured { background:url(images/featured-bg.png) repeat; padding:10px 10px 10px 10px; overflow:hidden; margin-bottom:40px; } #wrapper-slides { float: none; margin-left:10px; } #slider { background: url('images/loader.gif') no-repeat 50% 50%; } #slider .nivo-controlNav { position: absolute; top: -1px; left: -83px; width: 70px; height: 60px; } #slider .nivo-controlNav img { display: inline-block; /* Unhide the thumbnails */ position: relative; border: 1px solid #000; margin-bottom: 5px; width: 70px; height: 60px; } #slider .nivo-controlNav .nivo-control { position: relative; } #slider .nivo-controlNav .active .overlay { background: url('images/current-thumb.png'); position: absolute; top: 1px; right: 1px; display: block; width: 70px; height: 60px; } .nivo-caption h1 a { color: #fff; }
/** Block styles **/ .block.half { width:300px; float:right; margin-left:18px; } .block.half.last { margin-left:0px; } .block h3 { background:url(images/heading-box.png) no-repeat; font-size:26px; margin-bottom:25px; text-shadow: 1px 1px 1px #FFF; height:51px; padding-right:10px; line-height:47px; } .block h3 a { color: #333; } .block img { border:1px solid #D7D7D7; padding:2px; } .block img:hover { border: 1px solid #c2c2c2; background: #f8f8f8; } .block-meta { font-size:11px; color:#888; margin-bottom:4px; display:block; } .block-meta a { color:#888 !important; } .block-meta a:hover { color: #333 !important; text-decoration: none; } .block p { line-height:18px; color:#545454; } .block-arrows, .block-arrows a { color:#d00000; } .block-item-big { border-bottom:1px dashed #CCC; padding-bottom:15px; margin-bottom:20px; width:300px; } .block-item-big .block-meta { font-size: 12px; } .block-item-big h2 { font-size:20px; margin-bottom:2px; } .block-item-big h2 a { color: #333; } .block-item-big img { margin-bottom:2px; } .block-item-small { border-bottom:1px dashed #CCC; padding-bottom:13px; margin-bottom:13px; overflow:hidden; width:300px; height:56px; } .block-item-small h2, .block-item-small h2 a { font-size:16px; font-family:'Yekan'; line-height:18px; color: #333; } .block.full { overflow: hidden; width: 100%; } .block.full .block-item-big { float:right; margin-left:20px; } .block.full .block-item-big.last { margin-leftt:0px; } /** Article Icons **/ .block-image { position:relative; } .video-icon { position:absolute; bottom:13%; left:20%; background:url(images/video-icon.png) no-repeat; width:26px; height:26px; } .gallery-icon { position:absolute; bottom:13%; left:20%; background:url(images/gallery-icon.png) no-repeat; width:26px; height:26px; } .audio-icon { position:absolute; bottom:13%; left:20%; background:url(images/music-icon.png) no-repeat; width:26px; height:26px; } .block-item-small .block-image { position:relative; display:inline-block; margin-left:12px; float:right; } .block-item-small .video-icon { position:absolute; bottom:19%; left:18%; background:url(images/video-icon-small.png) no-repeat; width:16px; height:16px; } .block-item-small .gallery-icon { position:absolute; bottom:19%; left:18%; background:url(images/gallery-icon-small.png) no-repeat; width:16px; height:16px; } .block-item-small .audio-icon { position:absolute; bottom:19%; left:18%; background:url(images/music-icon-small.png) no-repeat; width:16px; height:16px; } .block-item-big .block-image { position:relative; display:inline-block; margin-left:12px; float:right; } .block-item-big .video-icon { position:absolute; bottom:18%; left:5%; background:url(images/video-icon.png) no-repeat; width:26px; height:26px; } .block-item-big .gallery-icon { position:absolute; bottom:18%; left:5%; background:url(images/gallery-icon.png) no-repeat; width:26px; height:26px; } .block-item-big .audio-icon { position:absolute; bottom:18%; left:5%; background:url(images/music-icon.png) no-repeat; width:26px; height:26px; } /** Carousel styles **/ .wrapper-carousel { padding: 0 62px 0 0; position: relative; } .anyClass img { float:right; margin-left:20px;display: block; width:140px; height:90px; } .anyClass { height:102px; margin-bottom:0px; } .anyClass ul li { position:relative; } a.prev, a.next { background: url(images/carousel-arrows.png) no-repeat transparent; width: 34px; height: 32px; display: block; position: absolute; top: 35px; } a.prev span, a.next span { display: none; } a.prev { left: 0; background-position: 0 0; } a.prev:hover { background-position:0 -34px; } a.next { right: 0; background-position: -34px 0; } a.next:hover { background-position: -34px -34px; } /** Reviews block styles **/ .block .stars { border:none; padding:0; margin:0; } .block .block-item-big .stars { margin-bottom:4px; padding-top:2px; float:right; margin-left:6px; } /** Archive block styles **/ .block.archive .block-item-big { width:620px; overflow:hidden; } .block.archive .block-item-big h2 { margin-bottom:4px; } .block.archive .block-item-big p { line-height:20px; } .block.archive .block-item-big .block-meta { margin-bottom:8px; } .block.archive .block-item-big .block-meta span { font-size:11px; text-transform: uppercase; color:#888; text-shadow: 1px 1px 1px #FFF; margin-left:8px; } .block.archive .block-item-big .readmore { color:#888; background:url(images/readmore.png) no-repeat; font-size:11px; text-shadow: 1px 1px 1px #FFF; width:85px; height:25px; display:block; text-align:center; float:right; padding-top:3px; margin-top:10px; } .block.archive .block-item-big .block-arrows { font-size:14px; }

.rating { background: #ccc; color: #fff; padding: 1px 4px; margin-right: 5px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
/*** Sidebar styles ***/#sidebar { float:left; width:300px; }.widget { overflow:hidden; margin-bottom:25px; }.widget a { color: #333; }.widget-title { background:url(images/widget-title-bg.png) repeat-x; font-size:24px; color:#888; text-shadow: 1px 1px 1px #FFF; padding:2px 10px 5px 0; margin-bottom:25px; height:33px; }.widget .block-item-small img { border:1px solid #D7D7D7; padding:2px; }.widget .block-item-small .stars { border:none; padding:0; margin:0; }
/** Social Widget **/ .social-item { float:right; margin-right:22px; border:1px solid #E5E5E5; width:83px; background:url(images/social-bg.png) repeat; text-align:center; padding:10px 0 10px 0; height: 77px; } .social-item:hover { border:1px solid #D9D9D9; } .social-item.last { margin-right:1px; margin-left:0; float:right; } .social-item img { padding-top:3px; } .social-count { font-family:'Yekan'; font-size:22px; color:#666; display:block; margin-bottom:-2px; text-shadow: 1px 1px 1px #FFF; } .social-descrip { font-size:11px; font-style:italic; color:#999; display:block; text-shadow: 1px 1px 1px #FFF; } /** Tabbed widget **/ ul.tabs { background:url(images/widget-title-bg.png) repeat-x; float: right; height: 41px; width: 100%; padding-right: 0 !important; margin-bottom: 0 !important; } ul.tabs li { background: none !important; float: right; border: 1px solid #d6d6d6; margin: 8px 0px 0px 8px !important; padding-right: 0 !important; overflow: hidden; padding-bottom: 0; position: relative; bottom: -3px; background:#ebebeb url(images/tab-bg.png) repeat-x; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius:5px 0 0 5px; border-radius: 5px 0 0 5px; } ul.tabs li a { height: 28px; line-height: 30px; text-decoration:none; font-family:'Yekan'; font-size:18px; color: #777; display: block; padding: 0 10px; outline: none; text-shadow: 1px 1px 1px #FFF; -moz-border-radius: 5px 0 0 5px; -webkit-border-radius:5px 0 0 5px; border-radius: 5px 0 0 5px; } ul.tabs li a:hover { background: #FFF !important; } html ul.tabs li.active, html ul.tabs li.active a:hover { background: #fff !important; border-bottom: 1px solid #fff; } .tabs_container { border-top: none; overflow: hidden; clear: both; float: right; width: 300px; background: #fff; clear: both; } .tab_content { padding: 25px 0 0 0; } .post-entry .tabs_container { width: 100%; } /** Generic Widget Styles **/ .widget ul a { #333; } .widget li { border-bottom: 1px dashed #CCC; padding-bottom: 10px; margin-bottom: 10px; } .widget p { line-height: 18px; } /** Calendar **/ #calendar_wrap { margin: 0 auto; } #calendar_wrap caption { text-align: center; } #wp-calendar caption { font: bold 1.1em; margin-bottom: 5px; } #wp-calendar { border-right: 1px solid #e6e6e6; border-top: 1px solid #e6e6e6; line-height:15px; margin:0 0 22px 0; text-align:right; } #wp-calendar th { font: bold 11px; color: #fff; border-left: 1px solid #e6e6e6; letter-spacing: 2px; text-transform: uppercase; padding: 6px 12px 6px 6px; background: #666; } #wp-calendar td { border-left: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; padding: 6px 12px 6px 6px; color: #333; } tr.even { background: #fafafa; } .widget-excerpt { margin-bottom: 5px; }
/*** Footer styles ***/#wrapper-footer { background: #f8f8f8; margin:0 auto; width:980px; padding:25px 0 15px 0; overflow:hidden; }#footer { width:940px; margin:0 auto; }#footer-bottom { border-top:1px solid #DDD; clear:both; padding-top:15px; color:#888; }#footer-bottom .left { float:left; }#footer-bottom .right { float:right; }#footer-bottom a { color: #333; }
/** Footer widget **/ #footer .widget { float:right; margin-left:20px; width:300px; margin-bottom:25px; } #footer .widget.last { margin-left:0; } #footer .backToTop { background: url('images/arrowup.png') no-repeat center right; padding-right: 20px; margin-right: 20px; height: 12px; } /*** Post Styles ***/.post-heading { padding:0px 0 25px 0; }.post-heading h1 { font-size:32px; text-shadow: 1px 1px 1px #FFF; }.post-heading span { font-size:11px; color:#888; text-shadow: 1px 1px 1px #FFF; margin-right:8px; }.heading-author { background:url(images/author-icon.png) no-repeat right; padding-right:20px; }.heading-date { background:url(images/clock-icon.png) no-repeat right; padding-right:20px; }.heading-comments { background:url(images/comment-icon.png) no-repeat right; padding-right:24px; }.heading-comments a { color:#888; }.post-thumb { margin-bottom:20px; }.post-thumb img { border:1px solid #D7D7D7; padding:5px; }.post-entry p { margin-bottom:20px; line-height:21px; font-size:13px; }.post-meta { border-top:1px solid #DDD; border-bottom:1px solid #DDD; padding:8px 2px 10px 2px; font-size:11px; color:#777; overflow:hidden; margin-bottom:1px }.post-meta a { color:#444; }.post-meta-tags { float:right; background:url(images/tag-icon.png) no-repeat right; padding-right:18px; }.post-meta-cats { float:left; background:url(images/category-icon.png) no-repeat right; padding-right:18px; }
.post-author { background:#EEE; padding:20px; margin-bottom:40px; overflow:hidden; }.post-author img { background:#FFF; border:1px solid #D7D7D7; padding:5px; float:right; margin-left:12px; }.post-author h5 { font-size:15px; font-family:'Yekan', Arial; border-bottom:1px solid #dbdbdb; overflow:hidden; padding-bottom:5px; margin-bottom:10px; text-shadow: 1px 1px 1px #FFF; }.post-author h5 em { color:#636363; }.post-author small { float:left; color:#636363; }.post-author a { color:#333; }.author-descrip { color:#444; line-height:19px; text-shadow: 1px 1px 1px #FFF; }.navigation { width: 100%; overflow: hidden; margin-bottom: 20px; }.navigation .alignleft { float: left; }.navigation .alignright { float: right; }
/** HTML styling **/ .post-entry ul { padding-right: 30px; margin-bottom:20px; } .post-entry ul li{ background:url(images/ul-dot.png) no-repeat right; padding-right:28px; margin-bottom:10px; } .post-entry ol { padding-right:53px; margin-bottom:20px; font-size:14px; } .post-entry ol li { list-style-type: decimal; margin-bottom:6px; } .post-entry h1 { font-size:28px; margin-bottom:14px; } .post-entry h2 { font-size:24px; margin-bottom:14px; } .post-entry h3 { font-size:20px; margin-bottom:14px; } .post-entry h4 { font-size:18px; margin-bottom:14px; } .post-entry h5 { font-size:16px; margin-bottom:14px; } .post-entry h6 { font-size:14px; margin-bottom:14px; } .post-entry hr { border:0; background-color: #DDD; height:1px; margin-bottom:14px; color:#DDD; } .post-entry blockquote { background:url(images/quote.png) no-repeat right; padding-right:32px; padding-top:3px; margin-right:25px; color:#777; font-style:italic; } .post-entry ol { padding-right:42px; margin-bottom:20px; font-size:12px; } .post-entry ol li { list-style-type: decimal; margin-bottom:6px; } .post-entry ul { padding-right: 26px; margin-bottom:20px; font-size:12px; } .post-entry ul li { background:url(images/ul-dot.png) no-repeat; padding-right:18px; margin-bottom:10px; } .post-entry pre { overflow: auto; margin-bottom:20px; } .post-entry .alignright { float:right; margin:0 0 4px 10px; } .post-entry .alignleft { float:left; margin:0 10px 4px 0; } .wp-caption, .gallery-caption { border: 1px solid #D7D7D7; padding-top: 4px; margin-bottom:20px; text-align: center; } p.wp-caption-text { margin-bottom:2px; } .aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; } /** Review box **/ .post-review { float:left; width:200px; border:1px solid #D7D7D7; margin-right:10px; margin-bottom:20px; } .overall-score { background:#EEE; margin:1px; padding:10px; text-align:center; } .post-review ul { border-top:1px solid #D7D7D7; padding:0; margin:0; } .post-review ul li { background:url(images/criteria-bg.gif) repeat-x bottom; border-bottom:1px solid #D7D7D7; padding:10px; color:#555; margin:0; } .post-review ul li:last-child { border-bottom:none; } .score { float:left; } .post-review-widget img { border: 0 !important; padding: 0 !important; } /** Comments styles **/ #comments { margin-top: -10px; } #comments h3 { font-size:26px; border-bottom:4px solid #DDD; margin-bottom:25px; } ol.commentlist { margin-bottom:40px; } li.commentlist { } .the-comment { margin-bottom:24px; } .avatar { border:1px solid #CCC; float:right; margin-left:14px; } .comment-arrow { background:url(images/comment-arrow.png) no-repeat right; width:8px; height:15px; float:right; margin-top:16px; margin-left:-1px; } .comment-box { background:url(images/comment-bg.png) repeat-x; border:1px solid #CCC; -moz-border-radius: 5px; -webkit-border-radius:5px; border-radius: 5px; padding:14px; overflow:hidden; } .comment-author { margin-bottom:10px; } .comment-author small { color:#888; } .comment-text { line-height:18px; } #comments .children { margin: 20px 83px 0 0; } #comments .children li.comment { margin: 0 0 20px 0; } .cancel-comment-reply { margin-bottom:10px; } .no-comments { color:#888; } .comment-author a { color:#3a3a3a; } .comment-text-side { color:#888; font-style:italic; line-height:18px; } #comment-input { float:right; margin-left:20px; } #comment-input input { border:0; margin-bottom:17px; } #comment-input input:focus, textarea:focus { outline:none; } #comment-input label { display:block; margin-bottom:5px; } #comment-input label .req { color:#999; } .input-name { background:url(images/input-name.png) no-repeat right; width:198px; padding:11px 34px 14px 10px; } .input-email { background:url(images/input-email.png) no-repeat right; width:198px; padding:11px 34px 14px 10px; } .input-website { background:url(images/input-website.png) no-repeat right; width:198px; padding:11px 34px 14px 10px; } #comment-textarea { float:left; } .textarea-comment { background:url(images/textarea-comment.png) no-repeat right; border:0; width:308px; height:163px; padding:14px; font-family:Tahoma, arial; } #comment-textarea label { display:block; margin-bottom:5px; } #comment-textarea-admin { float:none; margin-bottom:16px; } #comment-textarea-admin label { display:block; margin:10px 0 5px 0; } #comment-submit { clear:both; float:left; margin-bottom:10px; } #comment-submit-admin { clear:both; margin-bottom:10px; } .comment-submit { background:url(images/black-button.png) repeat-x; border:1px solid #000; padding:11px 10px 7px 10px; -moz-border-radius: 5px; -webkit-border-radius:5px; border-radius: 5px; font-family:'Yekan'; font-size:18px; color:#FFF; text-shadow: 1px 1px 1px #000; cursor:pointer; } .comment-submit:hover { background:url(images/black-button.png) repeat-x; background-position:0 -42px; } /** Related posts **/ .related-item { float:right; margin-left:20px; width: 140px; position: relative; } div.related-item:last-child { margin-left:0; } .related-item img { margin-bottom:6px; } .related-item h2 a { font-family:'Yekan', arial; font-size:14px; color:#333; } .related-item span { top: 46%; left: 5%; }
/** Post Share **/.post-share { width: 80px; padding: 10px 0px; padding-bottom: 0; background: #ffffff; border: 1px solid #CCC; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; text-align: center; position: fixed; top: 255px; left: auto; z-index: 15; margin-right: -120px;}
.share-widget { margin-bottom: 10px;}

/*** Gallery ***/
.gallery-item .gallery-icon { position: relative; top: auto; left: auto; right: auto; background-image: none; width: auto; height: auto;}
/*** Page styles ***/
/** Full width page **/ #fullwidth { width:940px; } #fullwidth .post-entry { width:940px; } /** 404 page **/ .entry404 { padding:55px; } .entry404 img { border-left:1px dashed #D7D7D7; padding-left:30px; margin-left:30px; float:right; } .text404 p { line-height:18px; color:#666; margin-bottom:10px; } /** Widgets Styles */.homepage-widget { margin-bottom: 40px; overflow: hidden; width: 100%; }.homepage-widget:last-child { margin-bottom: 0; }.homepage-widget .block .block-item-small:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }.homepage-widget .block .block-item-big-last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }.widget .block-item-small:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
#sidebar .widget { margin-bottom: 35px; }#sidebar .widget .block-item-small:last-child { border-bottom: 1px dashed #CCC; padding-bottom: 13px; margin-bottom: 0px;}
.tag_cloud a { color: #333; background: #EEE; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 5px; float: right; margin-left: 5px; margin-bottom: 5px;}
.tag_cloud a:hover { background: #444; color: #DDD; text-decoration: none;}
li .rsswidget { display: block; font-weight: bold; margin-bottom: 5px; }.rss-date, #sidebar cite { font-size: 11px; color: #888; display: block; margin-bottom: 5px; font-style: italic; }#sidebar cite { margin-top: 5px; }.flickr-photo { border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; float: right; padding: 5px !important; border: 1px solid #D7D7D7 !important; margin: 6px !important; }
/** Search widget **/ #searchform { background:#F8F8F8; width:278px; border:1px solid #D9D9D9; padding:10px; overflow:hidden; } #searchform #s { background:none; border:none; color:#777; font-family:'Yekan'; font-style:italic; width:240px; float:right; } #searchform #s:focus { outline:none; } input#search-button{ width:16px; height:16px; float:left; } /** Twitter widget **/ .tweets { width:300px; } .tweet { background:url(images/twitter.png) no-repeat right top; padding-right:26px; line-height:18px; } /** Text widget **/ .textwidget { width:300px; color:#444; } .textwidget p { margin-bottom:18px; line-height:18px; } .textwidget p:first-child { margin-top: -4px; } .textwidget p:last-child { margin-bottom: -3px; }/*** Shortcodes ***/
/** Columns **/ .one_half, .one_third, .two_third, .three_fourth, .one_fourth { margin-left: 4%; float: right; line-height:21px; margin-bottom:20px; } .one_half { width: 48%; } .one_third { width: 30.6666%; } .two_third { width: 65.3332%; } .one_fourth { width: 22%; } .three_fourth { width: 74%; } .last { margin-left: 0 !important; clear: left; } .clearboth{ clear: both; display: block; font-size: 0px; height: 0px; line-height: 0; width: 100%; overflow:hidden; } /** Dropcap **/ .dropcap { font-size:32px; margin-left:6px; padding-top:4px; text-transform: uppercase; float: right; position: relative; top: 5px; color:#888; } /** Highlight **/ .highlight1 { background:#f6f67a; } .highlight2 { background:#000; color:#CCC; } /** Video **/ .video-shortcode { margin-bottom:20px; } /** Tabs **/ .tab-content{padding:16px 16px 0 16px; overflow:hidden; } .tabs-wrapper { overflow: hidden; width: 100%; } .tabs-wrapper .tab-content { border:1px solid #d7d7d7; border-width:0 1px 1px 1px; } /** Toggles **/ .toggle { background:url(images/light-button.png) repeat-x; border:1px solid #AAA; padding:11px 14px 9px 10px; -moz-border-radius: 5px; -webkit-border-radius:5px; border-radius: 5px; cursor:pointer; margin-bottom:6px; } .toggle:hover { background:url(images/light-button.png) repeat-x; background-position:0 -42px; } .toggle a { background:url(images/toggle-arrow.png) no-repeat right; color:#FFF; text-decoration:none; padding-right:30px; text-shadow: 1px 1px 1px #FFF; color:#444; font-size:18px; } .toggle-content { display:none; background:#e6e6e6; -moz-border-radius: 5px; -webkit-border-radius:5px; border-radius: 5px; padding:20px; border:1px solid #DDD; font-size:14px; line-height:18px; text-shadow: 1px 1px 1px #FFF; margin-bottom:16px; } .toggle-content .block {padding:0px;} /** Checklist **/ .checklist li { background:url(images/check-list.png) no-repeat right !important; padding-right:28px !important; } /** Badlist **/ .badlist li { background:url(images/bad-list.png) no-repeat right !important; padding-right:28px !important; } /** Buttons **/ .button { padding:11px 10px 9px 10px; display:inline-block; margin:0 0 20px 10px; -moz-border-radius: 5px; -webkit-border-radius:5px; border-radius: 5px; font-family:"BYekan"; font-size:18px; cursor:pointer; } .button a { color:#FFF; text-shadow: 1px 1px 1px #000; } .button a:hover { text-decoration:none; } .button.black { background:url(images/black-button.png) repeat-x; border:1px solid #000; } .button.black:hover { background:url(images/black-button.png) repeat-x; background-position:0 -42px; } .button.red { background:url(images/red-button.png) repeat-x; border:1px solid #690000; } .button.red:hover { background:url(images/red-button.png) repeat-x; background-position:0 -42px; } .button.green { background:url(images/green-button.png) repeat-x; border:1px solid #0e5800; } .button.green:hover { background:url(images/green-button.png) repeat-x; background-position:0 -42px; } .button.blue { background:url(images/blue-button.png) repeat-x; border:1px solid #003162; } .button.blue:hover { background:url(images/blue-button.png) repeat-x; background-position:0 -42px; } .button.orange { background:url(images/orange-button.png) repeat-x; border:1px solid #824700; } .button.orange:hover { background:url(images/orange-button.png) repeat-x; background-position:0 -42px; } .button.light { background:url(images/light-button.png) repeat-x; border:1px solid #afafaf; } .button.light a { color:#5d5d5d; text-shadow: 1px 1px 1px #FFF; } .button.light:hover { background:url(images/light-button.png) repeat-x; background-position:0 -42px; }
/** Pagination **/.pagination { font-family: 'Yekan'; font-size: 18px; }.pagination a { background: url('images/pagination_normal_bg.png') repeat-x top right; height: 28px; border: 1px solid #d1d1d1; display: block; float: right; line-height: 30px; padding: 0 10px; color: #333333; margin-left: 6px; }.pagination span.current { background: url('images/pagination_hover_bg.png') repeat-x top right; height: 30px; border: 0px solid #d1d1d1; display: block; float: right; line-height: 30px; padding: 0 10px; color: #fff; margin-left: 6px; }.pagination span.arrows { font-size: 18px; }
/** Form **/.postForm label { font-size: 12px; font-weight: bold; display: block; color: #555555; margin-bottom: 5px; }.postForm label span { font-style: italic; color: #888888; font-weight: normal; }.postForm div { margin-bottom: 20px; }.postForm .text { background: url('images/form_bg.png') repeat-x bottom right; border: 1px solid #d8d8d8; color: #555555; font-size: 12px; width: 278px; padding: 9px 10px; }.postForm .error { border: 1px solid red; }.postForm textarea { background: url('images/textarea_bg.png') repeat-x bottom right; border: 1px solid #d8d8d8; color: #555555; font-size: 12px; width: 400px; padding: 10px; height: 170px; }.postForm .submit { background: #4e4e4e; border: 1px solid #3d3d3d; font-size: 12px; color: #fff; font-weight: bold; padding: 6px 20px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }.postForm .submit:hover { background: #414141; }.postForm .error_msg { display: none; margin-top: 5px; color: red; }.postForm .email_sent { color: green; margin-bottom: 10px; display: none; }​
کد:
/*Theme Name: AvenueDescription: A Premium Magazine ThemeAuthor: TemphaaAuthor URI: http://temphaa.comVersion: 1.2.1*/
یعنی اون شعر » بشه شعر

 
آخرین ویرایش توسط مدیر:

IAMIR

کاربر عضو
»
کد:

 

Moha112233

تازه وارد
آقا امیر من تمام » هارو از index.php حذف کردم ولی بازم همون مشکل رو دارم.

 
آخرین ویرایش توسط مدیر:

Moha112233

تازه وارد
کسی از دوستان نیست مشکل منو حل کنه؟؟ اون خط هایی که آقا امیر و محمد گفتن رو پاک کردم ولی تغییری ایجاد نشد.

 

mostafa98

کاربر عضو
سلام

داخل فایل index.phpاین کد رو پیدا کن

<!-- BEGIN HOMEPAGE BLOCKS -->

کد:
[B]<span class="arrows">»</span>[/B]
0e48-111111-Optimized.jpg

 

Moha112233

تازه وارد
سلامداخل فایل index.phpاین کد رو پیدا کن

<!-- BEGIN HOMEPAGE BLOCKS -->

کد:
[B]<span class="arrows">»</span>[/B]
0e48-111111-Optimized.jpg
آقا مصطفی اونو پاک کردم بازم نشد. از style.css هم پیدا کردم و پاک کردم بازم نشد.

 

Mohammad

مدیر انجمن
پرسنل مدیریت
شاید توی index.php نیست. فایل های دیگه رو جستجو کنید!

 

Moha112233

تازه وارد
اون کدی که گفتید رو از category.php حذف کردم:

<!-- BEGIN MAIN --> <div id="main"> <div class="block archive"> <h3> <?php echo single_cat_title('', false); ?> <span class="arrows">»</span> </h3> <?php if(category_description($category)): ?> <?php echo category_description($category); ?> <br /><br /> <?php endif; ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('block-item-big'); ?>> <?php if(has_post_format('video') || has_post_format('audio') || has_post_format('gallery')) { $icon = '<span class="' . get_post_format($post->ID) . '-icon"></span>'; } else { $icon = ''; } ?> <?php if(has_post_thumbnail()): ?> <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'widget-image'); ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php echo $image[0]; ?>" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div> <?php else: ?> <div class="block-image"><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><img src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php bloginfo('template_directory'); ?>/images/thumbnail.png&w=290&h=160" alt="<?php the_title(); ?>" width='290' height='160' /></a><?php echo $icon; ?></div> <?php endif; ?> <h2><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>'><?php the_title(); ?></a></h2> <span class="block-meta"> <span class="heading-author"><?php the_author(); ?></span> <span class="heading-date"><?php the_time('F j, Y'); ?></span> <span class="heading-comments"><?php comments_popup_link('0','1','%'); ?></span> </span> <p><?php echo string_limit_words(get_the_excerpt(), 34); ?></p><a href='<?php the_permalink(); ?>' title='<?php the_title(); ?>' class="readmore"><?php _e('بیشتر بخوانید', 'Avenue'); ?> <span class="block-arrows">»</span></a> </div> <?php endwhile; endif; ?> <?php kriesi_pagination($pages = '', $range = 2); ?> </div> </div> <!-- END MAIN --> <?php get_sidebar(); ?>
<?php get_footer(); ?>​
کد:
<?php get_header(); ?>
این قسمتشو حذف کردم:

کد:
<span class="arrows">»</span>
این تو صفحه ای که رو دسته ها کلیک میکنن تغییر ایجاد میکنه.

تو بقیه بخش ها هم <span class="arrows">»</span> رو پیدا کردم و پاک کردم ولی تو صفحه اصلی تغییری ایجاد نشد.



 
آخرین ویرایش توسط مدیر:
بالا