mohammad hosein 99 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 (ویرایش شده) سلامدوستان من بخش دیدگاه های وردپرس م رو تازگی ها درست کرده بودم و درست نشون داده می شد که امروز اومدم دیدم بخش دیدگاه ها هست ولی نظراتی که ثبت شده در پایان مطالب نشون داده نمی شه.این آدرس رو لطفا یه سری بزنید:http://pichakmag.ir/...گذر/#comment-37مشکل از کجاست؟من وردپرس رو آپدیت کردم . آیا مشکل از وردپرس 3.5 هست یا از جا ی دیگه اییه؟ ویرایش شده آذر 91 توسط mohammad hosein نقل قول لینک به ارسال
Morteza 34190 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 سلامبا پوسته پیش فرض تست بگیرید چیزی نمایش میده یا خیر 3 نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 بله.پوسته رو عوض می کنم درست میشه.مشکل از کجای پوسته است؟چی شد که سالم بود ولی یهو اینجوری شد؟به خاطر تبلیغاته که تازه گذاشتم؟ نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 دوستان کسی نیست ؟ یه روزه منتظرما.لطفا یکی کمک کنه نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 ببینید شما باید محتویات فایل قالبتون رو قرار بدید تا بررسی بشه ببینیم کد های مشکل ساز کجاست . . . بعد از بررسی میتونیم اشکال یابی کنیم و راهنماییتون کنیم برای حل مشکل 1 نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 (ویرایش شده) بفرمایید.این بخش single.php هستش :<?php/*** Theme: silverOrchid* Theme URL: http://gazpo.com/2012/04/silverorchid* Created: April 2012* Author: Sami Ch.* URL: http://gazpo.com***/get_header();?><div id="content"><?php the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h2><?php the_title(); ?></h2><div class="post-meta"> <span class="info"> <span class="date"><?php the_time('M. d') ?></span> <span class="category"><?php the_category(', ' ); ?></span> <span class="comments"><?php comments_popup_link( __('no comments', 'gazpo'), __( '1 comment', 'gazpo'), __('% comments', 'gazpo')); ?></span> </span> </div> <!-- /post-meta --><div class="entry"> <?php the_content(); ?></div> <!-- entry --> <div class="post-tags"> <?php the_tags(); ?></div><br>..............................................................................<br>کپی از مطالب فقط بادرج نام و لینک فعال منبع مجاز هست<br>..............................................................................<br><script type="text/javascript" src="http://pms.mihanstore.net/partner/show_ads.php?ads_type=banner&ref=9726&row=1&col=1&class=1" ></script><script type="text/javascript" src="http://pms.mihanstore.net/partner/show_ads.php?ads_type=banner&ref=9726&row=1&col=1&class=1" ></script><script type="text/javascript">var anetwork_pram = anetwork_pram || [];anetwork_pram['aduser'] = '1354190003';anetwork_pram['adheight'] = '60';anetwork_pram['adwidth'] = '468';</script><script type="text/javascript" src="http://static-cdn.anetwork.ir/showad/pub.js"></script><br><br>مطالب تصادفی:<br><ul><?php$args = array( 'numberposts' => 10, 'orderby' => 'rand', 'post_status' => 'publish', 'offset' => 1);$rand_posts = get_posts( $args );foreach( $rand_posts as $post ) : ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li><?php endforeach; ?></ul> </div><!-- /post --><?phpwp_link_pages( __('before=<div class="post-page-links">Pages:&after=</div>', 'gazpo') ) ;comments_template();?></div> <!-- /content --><?php get_sidebar(); ?><?php get_footer(); ?>این مطلبی که عرض کردم 3 تا دیدگاه داره که هیچکدوم نمایش داده نمیشه! ویرایش شده آذر 91 توسط mohammad hosein 1 نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 بجای<?phpwp_link_pages( __('before=<div class="post-page-links">Pages:&after=</div>', 'gazpo') ) ;comments_template();?>از<?php comments_template(); ?>استفاده کنید ببینید چه تغییری حاصل میشه .بعد بفرمایید داخل تم شما فایلی به نام comments.php هست یا نه . محتویات اون رو هم قرار بدید. 1 نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 (ویرایش شده) هیچ تغییری ایجاد نشد /*Theme Name: SilverOrchid - ارکیده سفیدTheme URI: http://dbstheme.com/silverorchid'>http://dbstheme.com/silverorchidDescription: پوسته مجله خبری قدرتمند و بسیار زیبا ی ارکیده سفید به صورت کاملا پارسی برای اولین بار در ایرانVersion: 1.1.0Author: تیم دی بی اس تمAuthor URI: http://dbstheme.com*/@import url(DBS-Fonts.css);html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {border: 0;margin: 0;padding: 0;}textarea{font:inherit;}ol, ul {list-style: none;}blockquote {quotes: none;}blockquote:before, blockquote:after {content: '';content: none;}del {text-decoration: line-through;}table {border-collapse: collapse;border-spacing: 0;}img {border: 0;}a img {border: none;}:focus {outline: 0;}body {font-family: Tahoma,Arial,Helvetica,sans-serif;font-size: 12px;color: #333333;Background-image: url(http://pichakmag.ir/wp-content/uploads/2012/12/1pars.gif);line-height:1.4;direction: rtl;text-align: right;}h1, h2, h3, h4, h5, h6 {font-family: Tahoma, Arial, Helvetica, sans-serif;font-weight: normal;line-height:1.6;color:#666;text-shadow: 1px 1px 0px #FFFFFF;}h1 {font-size: 36px;}h2 {font-size: 21px;}h3 {font-size: 16px;}h4 {font-size: 16px;}h5 {font-size: 14px;}h6 {font-size: 12px;}a, a:link {text-decoration: none;color: #1F4F82;}a:hover {color: #333333;-moz-transition: color 0.3s ease-in-out;-webkit-transition: color 0.3s ease-in-out;-o-transition: color 0.3s ease-in-out;transition: color 0.3s ease-in-out;}h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);}ul, ol {margin: 0 2.5em 1.5em 0;}ul {list-style: square;}ol {list-style-type: decimal;}ol ol {list-style: upper-alpha;}ol ol ol {list-style: lower-roman;}ol ol ol ol {list-style: lower-alpha;}ul ul, ol ol, ul ol, ol ul {margin-bottom: 0;}dl {margin: 0 1.5em;}dt {font-weight: bold;}dd {margin-bottom: 1.5em;}strong {font-weight: bold;}cite, em, i {font-style: italic;}blockquote {font-style:italic;margin: 7px 45px 7px 35px;font-style:italic;border-right:1px solid #777777;padding-right:10px;}blockquote p {margin: 0px;padding: 0px;}blockquote em, blockquote i, blockquote cite {font-style: normal;}pre {background: rgba(0, 0, 0, 0.05);font: 87.5% Helvetica, Arial, sans-serif;line-height: normal;margin-bottom: 1.5em;padding: 0.75em 1.5em;}code, kbd {font: 13px Helvetica, Arial, sans-serif;}abbr, acronym {border-bottom: 1px dotted #666;cursor: help;}ins {background: #fff9c0;text-decoration: none;}sup, sub {font-size: 62.5%;height: 0;line-height: 1;position: relative;vertical-align: baseline;}sup {bottom: 1ex;}sub {top: .5ex;}input[type=text], textarea {border: 1px solid #888;}textarea {padding-right: 3px;width: 98%;}address {display: block;margin: 0 0 1.625em;}table {border-bottom: 1px solid #ddd;margin: 0 0 1.625em;width: 100%;text-align:right;}th {color: #666;font-size: 14px;font-weight: 600;letter-spacing: 0.1em;line-height: 2.6em;}td {border-top: 1px solid #ddd;padding: 6px 0 6px 10px;}.whitebg{background: #ffffff;background: -webkit-linear-gradient(top, #ffffff, #f6f6f6);background: -moz-linear-gradient(top, #ffffff, #f6f6f6);background: -ms-linear-gradient(top, #ffffff, #f6f6f6);background: -o-linear-gradient(top, #ffffff, #f6f6f6);box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);}.wp-caption {text-align:center;}.wp-caption img {height:auto;margin-top:5px;}.wp-caption a[rel] {border: 0 none;}.gallery-caption{text-align: center;}.bypostauthor .avatar {background:#4083A9 !important;}.sticky {padding-top:10px !important;}.sticky:before{content: "Sticky Post";font-weight:bold;color:#ffffff;font-size:12px;background:#bfbfbf;padding:3px 5px;letter-spacing:1px;border-radius:3px;}#wrapper {width: 960px;margin: 0px auto;overflow:auto;}#content-container{overflow:auto;clear:both;}/*----------------------------------Header------------------------------------*/#gazpo-header{overflow:auto;margin:20px 0 10px;}#gazpo-header .logo{width:300px;float:right;}#gazpo-header .ad468_60{width:468px;float:left;}#gazpo-header .site-title{font: 36px 'DBS-BYekan', B Yekan, Tahoma;line-height:1.1;}#gazpo-header .site-title a{color:#666;text-shadow: 1px 1px 0 #FFFFFF;}/*----------------------------------Main Menu------------------------------------*/#gazpo-nav {background:#f6f6f6 url("images/nav-bg.png") repeat-x 0 0;border-bottom:2px solid #ccc;border-top:1px solid #ececec;display: block;float: right;margin: 0 auto;width: 100%;position:relative;z-index:4;}#gazpo-nav .main-menu ul,div.menu ul {list-style: none;margin: 0;padding-right:0;white-space:nowrap;}#gazpo-nav .main-menu li,div.menu li {float: right;position: relative;}#gazpo-nav a {color:#737373;display: block;font-family: 'DBS-BYekan', B Yekan, Tahoma, Arial, sans-serif;text-shadow: 1px 1px 0px #fff;font-size: 18px;line-height: 28px;margin-top: 1px;padding: 6px 20px;text-decoration: none;}#gazpo-nav .menu ul li.hover,#gazpo-nav .menu ul li:hover,#gazpo-nav ul.menu li.hover,#gazpo-nav ul.menu li:hover {position: relative;z-index: 599;cursor: default;}#gazpo-nav ul ul {float: right;right: 0;position: absolute;display:none;top: 40px;width: 180px;z-index: 598;}#gazpo-nav ul ul li {min-width: 180px;}#gazpo-nav ul ul ul {right: 100%;top: 0;padding-right:2px;}#gazpo-nav ul ul a {line-height: 1em;padding: 10px;width: 160px;height: auto;margin-bottom:-1px;font:13px 'DBS-BYekan', B Yekan, Tahoma;background: #f9f9f9;border-bottom: 1px solid #ddd;overflow:hidden;}#gazpo-nav ul ul a:hover {color: #373737;}#gazpo-nav li:hover > a,#gazpo-nav ul ul :hover > a {color: #373737;}#gazpo-nav ul li:hover > ul {display: block;}#gazpo-nav ul li.current_page_item > a,#gazpo-nav ul li.current-menu-ancestor > a,#gazpo-nav ul li.current-menu-item > a,#gazpo-nav ul li.current-menu-parent > a {color: #373737;}* html #gazpo-nav ul li.current_page_item a,* html #gazpo-nav ul li.current-menu-ancestor a,* html #gazpo-nav ul li.current-menu-item a,* html #gazpo-nav ul li.current-menu-parent a,* html #gazpo-nav ul li a:hover {color: #373737;}#gazpo-nav li.submenu>a{background: url(images/arrow_down.png) no-repeat 0 50%;}#gazpo-nav li ul li.submenu>a{background:#f9f9f9 url(images/arrow_right.png) no-repeat 7px 50%;}#gazpo-nav li ul li.submenu>a:hover{background:#f9f9f9 url(images/arrow_right.png) no-repeat 7px 50%;}/*------------------------------------Slider------------------------------------*/#gazpo-slider{width: 655px;height: 300px;margin-bottom: 10px;}#gazpo-slider .slider_image{width: 430px;height: 300px;float: right;}#gazpo-slider .slider_thumb{width: 70px;height: 50px;float: right;}#gazpo-slider ul.ui-tabs-nav{float: left;list-style: none;padding: 0;margin: 0;width: 219px;}#gazpo-slider ul.ui-tabs-nav li{font-size: 12px;color: #666;border-bottom: 1px solid #D7D7D7;}#gazpo-slider ul.ui-tabs-nav li img{float:right; margin:2px 5px;padding:2px;border:1px solid #eee;}#gazpo-slider ul.ui-tabs-nav li span{font-size:11px;line-height:18px;}#gazpo-slider li.ui-tabs-nav-item a{display:block;height:68px;color:#666666;padding-top:6px;line-height:18px;text-decoration:none;background:#ffffff;background: -webkit-linear-gradient(top, #ffffff, #f6f6f6);background: -moz-linear-gradient(top, #ffffff, #f6f6f6);background: -ms-linear-gradient(top, #ffffff, #f6f6f6);background: -o-linear-gradient(top, #ffffff, #f6f6f6);box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);}#gazpo-slider .ui-tabs-nav-item .title{font: 14px 'DBS-BKoodakBold', B Koodak, Tahoma;overflow: hidden;line-height: 1;}#gazpo-slider .ui-tabs-nav-item .date{font-size: 12px;color:#888888;}#gazpo-slider li.ui-tabs-nav-item a:hover{background: #f1f1f1;}#gazpo-slider ul.ui-tabs-nav li.ui-tabs-selected a{background: #f1f1f1;}#gazpo-slider .ui-tabs-panel{width: 430px;height: 300px;float: right;position: relative;z-index:1;}#gazpo-slider .ui-tabs-panel .info{position:absolute;top:230px;width:430px;height:65px;right:0px;background: url('images/tr-bg.png');z-index:2;padding-top: 5px;}#gazpo-slider .info h2{font: 18px 'DBS-BKoodakBold', B Koodak, Tahoma;color:#fff; padding:5px; margin:0;overflow:hidden;line-height: 1;}#gazpo-slider .info p{margin:0 5px;font-size:12px;line-height:15px;color:#f0f0f0;}#gazpo-slider .info a{text-decoration:none;color:#fff;}#gazpo-slider .info a:hover{text-decoration:underline;}#gazpo-slider .ui-tabs-hide{display:none;}/*----------------------------------Content------------------------------------*/#content {float: right;width: 655px;margin-left:15px;margin-top:10px;margin-bottom:20px;}#content .details{overflow:auto;}#content .tags span{font-size:13px;font-weight:bold;}#content .post-meta{color:#888888;margin-bottom:5px;overflow:auto;font-size:12px;}#content .post-meta .date{background:url(images/clock.png) no-repeat center right;padding-right:16px;margin-left:15px;}#content .post-meta .category{background:url(images/tag.png) no-repeat center right;padding-right:16px;margin-left:15px;}#content .image-nav, #content .post-nav {margin: 12px 0 0;overflow:auto;}#content .image-nav .previous, #content .post-nav .previous {float: right;text-align: right;width: 50%;}#content .image-nav .next, #content .post-nav .next {float: left;text-align: left;width: 50%;}#content .post-meta .comments{background:url(images/comments.png) no-repeat center right;padding-right:16px;}#content .post,#content .page{margin-bottom:10px;border-bottom: 1px solid #E3E3E3;padding:10px;background: #ffffff;background: -webkit-linear-gradient(top, #ffffff, #f6f6f6);background: -moz-linear-gradient(top, #ffffff, #f6f6f6);background: -ms-linear-gradient(top, #ffffff, #f6f6f6);background: -o-linear-gradient(top, #ffffff, #f6f6f6);box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);}#content .entry {overflow:hidden;clear:both;}#content .entry p{margin-bottom: 15px;}#content .post .entry img{border: 5px solid #F3F3F3;outline: 1px solid #e2e2e2;max-width: 98%;height:auto;}#content .post h2{font: 22px 'DBS-BKoodakBold', B Koodak, Tahoma;}#content .more-link{margin-top:8px;display:block;}#content hr{width:90%;background:url(images/bg-border.png) repeat-x bottom right;border:0;display:block;border:none;height:10px;clear:both;}#content .entry ul{list-style-type:square;margin: 5px 40px 10px 10px;}#content .entry ol{list-style-type:decimal;margin: 5px 40px 10px 10px;}#content .search-title{margin-bottom:15px;}#content .wp-caption-text{text-align:center;font-size:12px;color:#888888;}.wide-content{width:960px !important;}#content .post .entry form input[type=password]{box-shadow:0 0 3px #eee inset;color: #888888;height:25px;line-height:25px;padding:5px 7px;width: 248px;border: 1px solid transparent;font-family:inherit;border:1px solid #eee;margin-bottom:10px;}#content .post .entry form input[type=submit]{border: 1px solid #DDDDDD;border-radius: 3px 3px 3px 3px;box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);color:#777777;padding: 5px;width:100px;}.entry-attachment .attachment img {margin: 20px 0;border: 1px solid #ced8df;padding: 1px;background: #fff;}p img {margin: 1em 0;max-width: 98%;height:auto;}img.alignleft {margin-left: 1.5em;}img.alignright {margin-right: 1.5em;}.alignleft {display: inline;float: right;margin-left: 1.5em;}.alignright {display: inline;float: left;margin-right: 1.5em;}.aligncenter {clear: both;display: block;margin-right: auto;margin-left: auto;}.gallery-columns-2 .attachment-medium {max-width: 85%;height: auto;}.gallery-columns-3 .attachment-thumbnail,.gallery-columns-4 .attachment-thumbnail,.gallery-columns-6 .attachment-thumbnail {max-width: 85%;height: auto;}.gallery .gallery-caption {color: #888;font-size: 12px;margin: 0 0 12px;}.gallery dl {margin: 0;}.gallery br+br {display: none;}#content .parent-post-link{margin:10px 0;text-align: center;}/*----------------------------------Homepage Featured Category------------------------------------*/.feat-cat{overflow:auto;margin-bottom:10px;}.feat-cat .category-content{overflow:auto;padding:10px;}.feat-cat .left{width:295px;float:right;margin-left:15px;overflow:hidden;}.feat-cat .left .post-meta{margin:1px 0 !important;}.feat-cat .left img{width:285px;height:170px;border: 1px solid #E9E9E9;border-radius: 3px 3px 3px 3px;padding:4px;}.feat-cat .right{width:322px;float:right;}.feat-cat .right p{line-height:1.2;}.feat-cat .category-content h3{line-height:1.2;font: 18px 'DBS-BKoodakBold', B Koodak, Tahoma;}.feat-cat h3{line-height:1.2;font: 18px 'DBS-BYekan', B Yekan, Tahoma;}.feat-cat .right h5{line-height:1.2;font: 15px 'DBS-BKoodakBold', B Koodak, Tahoma;}.feat-cat .right ul{margin:0;padding:0;}.feat-cat .right li{overflow:auto;margin-bottom:12px;}.feat-cat .right .post-right{float:right;width:205px;margin-right:5px;}.feat-cat .right .post-right .post-meta{margin:1px 0 !important;}.feat-cat .right .thumb{float:right;}.feat-cat .right ul img{width:100px;height:70px;border: 1px solid #E9E9E9;border-radius: 3px 3px 3px 3px;padding:4px;}.feat-cat .right .buttons{float:left;margin-top:5px;}/*----------------------------------Homepage Carousel------------------------------------*/#gazpo-carousel{margin-bottom:10px;direction: ltr;}#content h3.title,#respond #reply-title,#comments .nocomments {background: url("images/hbg.png") repeat-x center bottom;border-bottom: 1px solid #D7D7D7;line-height:32px;padding-right:10px;font: 18px 'DBS-BYekan', B Yekan, Tahoma;}#respond #submit {font: 16px 'DBS-BKoodakBold', B Koodak, Tahoma;line-height: 1;}#gazpo-carousel .carousel-posts ul {overflow:auto;}#gazpo-carousel .carousel-posts li {width:204px;background: #ffffff;background: -webkit-linear-gradient(top, #ffffff, #f8f8f8);background: -moz-linear-gradient(top, #ffffff, #f8f8f8);background: -ms-linear-gradient(top, #ffffff, #f8f8f8);background: -o-linear-gradient(top, #ffffff, #f8f8f8);border-bottom:2px solid #e7e7e7;list-style:none;margin:0;padding:5px;margin-right:7px;float:right;height:190px;}#gazpo-carousel .carousel-posts img {width:190px;height:130px;border:1px solid #e9e9e9;padding:4px;border-radius:3px 3px 3px 3px;}#gazpo-carousel .carousel-posts li h5 {font: 14px 'DBS-BKoodakBold', B Koodak, Tahoma;direction: rtl;}/*----------------------------------Sidebar------------------------------------*/#sidebar {width: 288px;float: right;margin-top:10px;}#sidebar ul, #sidebar ol{margin:0;list-style:none;overflow:auto;}#sidebar .widget h4,#gazpo-footer h4{margin-bottom: 5px;font:18px 'DBS-BYekan', B Yekan, Tahoma;text-shadow: 1px 1px 0 #FFFFFF;}#sidebar .widget{margin-bottom: 20px;padding:10px;background: #ffffff;background: -webkit-linear-gradient(top, #ffffff, #f6f6f6);background: -moz-linear-gradient(top, #ffffff, #f6f6f6);background: -ms-linear-gradient(top, #ffffff, #f6f6f6);background: -o-linear-gradient(top, #ffffff, #f6f6f6);box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);}#sidebar .widget_search{overflow:auto;}#sidebar .widget_search input{box-shadow:0 0 3px #eee inset;color: #888888;height:25px;line-height:25px;padding:5px 7px;width: 248px;background: url("images/search.png") no-repeat 4% 50%;border: 1px solid transparent;font-family:inherit;border:1px solid #eee;}#sidebar .widget_calendar #wp-calendar {color: #666666;text-align: center;width: 100%;}#sidebar .widget_calendar #wp-calendar caption {font-size: 12px;font-weight:bold;padding: 8px 0;text-transform: uppercase;}#sidebar .widget_calendar #wp-calendar th {background: #f2f2f2;}#sidebar .widget_calendar #today {background-color: #f2f2f2;}#sidebar .widget_calendar #wp-calendar tfoot td {border-top: 2px solid #F3F3F3;}#sidebar .widget_calendar #wp-calendar tfoot td#prev {text-align: right;}#sidebar .widget_calendar #wp-calendar tfoot td#next {text-align: left;}#sidebar .widget_archive li,#sidebar .widget_categories li{float:right;display:inline-block;margin-left:14px;width:115px;padding: 6px 0px 6px 0;background: url(images/sidebar_sep.png) repeat-x center bottom;}#sidebar .widget_links li,#sidebar .widget_recent_comments li,#sidebar .widget_recent_entries li{padding: 6px 0px 6px 0;background: url(images/sidebar_sep.png) repeat-x center bottom;display:block;color:#888888;}#sidebar .widget_ad125 ul{overflow:auto;margin-right:4px;}#sidebar .widget_ad125 li{float:right;margin-bottom:5px;}#sidebar .widget_ad125 li:first-child{float:right;margin-left:12px;}#sidebar .widget_ad125 li:last-child{float:right;margin-right:12px;}#gazpo-footer .tagcloud a , #sidebar .tagcloud a {background: url("images/button-bg.png") repeat-x 0 0 #f5f5f5;border: 1px solid #DDDDDD;border-radius: 3px 3px 3px 3px;box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);color: #666666;display: inline-block;font-size: 13px !important;margin: 5px 0 5px 5px;padding: 3px 6px;}#gazpo-footer .tagcloud a:hover, #sidebar .tagcloud a:hover {background: url("images/button-bg.png") repeat-x 0 0 #ffffff;}#sidebar .widget_tweets .twtr-ft{display:none;}#sidebar .twtr-tweet-text em{display:none !important;}#sidebar .widget_social_count {padding: 5px;overflow:auto;width:266px;}#sidebar .widget_social_count ul{overflow:hidden;}#sidebar .widget_social_count a{color:#737373;}#sidebar .widget_social_count a:hover{color:#333333;}#sidebar .widget_social_count li {float: right;font-size: 23px;line-height: 13px;font-weight: bold;color: #666;padding-top: 9px;padding-right: 40px;}#sidebar .widget_social_count li .small {font-size: 14px;line-height: 16px;font-weight: normal;color: #999;}#sidebar .widget_social_count li .small a {color: #999;}#sidebar .widget_social_count .rss {background: url(images/rss32.png) 0px 5px no-repeat;margin-left:15px;width:82px;}#sidebar .widget_social_count .twitter {background: url(images/twitter32.png) 0px 5px no-repeat;width: 72px;}/*----------------------------------Footer------------------------------------*/#gazpo-footer {text-shadow: none;margin-bottom: 20px;background: #ffffff;background: -webkit-linear-gradient(top, #ffffff, #f6f6f6);background: -moz-linear-gradient(top, #ffffff, #f6f6f6);background: -ms-linear-gradient(top, #ffffff, #f6f6f6);background: -o-linear-gradient(top, #ffffff, #f6f6f6);box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);}#gazpo-footer .wrap{width:960px;margin:0 auto;padding:5px 0;}#gazpo-footer .widgets_area{overflow:auto;margin-bottom:10px;}#gazpo-footer .widget{width:300px;float:right;margin-right: 10px;padding:5px;}#gazpo-footer .widget ul{margin:0;float:0;}#gazpo-footer .widget_archive li,#gazpo-footer .widget_categories li,#gazpo-footer .widget_links li{display:inline-block;margin-left:14px;width:130px;padding: 6px 0px 6px 0;background: url(images/sidebar_sep.png) repeat-x center bottom;}#gazpo-footer .widget_links li,#gazpo-footer .widget_recent_comments li,#gazpo-footer .widget_recent_entries li{padding: 6px 0px 6px 0;background: url(images/sidebar_sep.png) repeat-x center bottom;display:block;}#gazpo-footer .widget_text{line-height:1.2;}#gazpo-footer .widget_tweets .twtr-tweet-wrap {padding: 6px 0 !important;}#gazpo-footer .widget_tweets .twtr-widget .twtr-tweet{padding-bottom:3px;border-bottom:none !important;background: url(images/sidebar_sep.png) repeat-x center bottom;}#gazpo-footer .widget_tweets .twtr-ft{display:none;}#gazpo-footer .widget_tweets .twtr-tweet-text em{display:none !important;}#gazpo-footer .info{margin-top:20px;padding-top:10px;color: #888888;font:13px 'DBS-BYekan', B Yekan, Tahoma;background: url(images/sidebar_sep.png) repeat-x center top;text-align:center;}/*----------------------------------Comments------------------------------------*/#comments h3.title{margin-bottom:15px;}#comments .commentlist {background-color: #FFFFFF;list-style: none outside none;margin: 0 0 1em;}#comments .commentlist li div.vcard cite.fn {font-style:normal;}#comments .commentlist li div.vcard cite.fn a.url {font-size:12px;font-weight:bold;}#comments .commentlist li div.vcard img.avatar {float:right;margin-left:8px;margin-bottom:3px;border: border: 1px solid rgba(0, 0, 0, 0.2);outline: 3px solid rgba(0, 0, 0, 0.03);padding: 2px;}#comments .commentlist li div.vcard span.says {display:none;}#comments .commentlist p{margin-bottom:5px;}#comments .commentlist li div.comment-meta {font-size:12px;margin-bottom:5px;}#comments .commentlist li div.comment-meta a {color:#999;}#comments .commentlist li ul {margin:0 2em 1em 0;}#comments .commentlist li div.reply {margin-top:0px;}#comments .commentlist li div.reply a {font-size:12px}#comments .commentlist li ul.children li.comment {margin-bottom:5px;list-style:background:#bbff00;}#comments .commentlist li ul.children li.depth-2 {margin-right:5px;}#comments .commentlist li ul.children li.depth-3 {margin-right:5px;}#comments .commentlist li ul.children li.depth-4 {margin-right:5px;}#comments .commentlist li.pingback {border-bottom:1px dotted #666;padding:10px;}#comments .reply {text-align:left;margin:25px 0 0 15px;}#comments .commentlist li.pingback{border-bottom:none;}#respond {width:98%;}#respond #reply-title{margin-top:10px;}#respond .comment-notes{display:none;}#respond .required {display:none;}#respond .form-allowed-tags{display:none;}#respond #cancel-comment-reply-link{font-size:13px;} #respond input {width:92%;padding:9px;border:1px solid #d8d7d7;background-color:#fff;}#respond input:focus,#respond textarea:focus {background-color:#f7f7f7;}#respond textarea {width:97%;border:1px solid #d8d7d7;background-color:#fff;height:135px;padding:10px;font-family:inherit;}#respond #submit{background: url("images/button-bg.png") repeat-x 0 0 #f5f5f5;border: 1px solid #DDDDDD;border-radius: 3px 3px 3px 3px;box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);color:#777777;margin:0 0 20px;padding: 7px;float:left;width:120px;}#respond #submit:hover {cursor:pointer;color:#555;}#respond label {width:101.5px;clear:right;display:block;float:right;font: 15px 'DBS-BKoodakBold', B Koodak, Tahoma;line-height:40px;margin:0;text-align:right;vertical-align:middle;}#respond p {padding:10px 0 0px;margin-bottom:0;float:right;width:32%;margin-left:2%;}#respond #email, #respond #url {font-family: Georgia;direction: ltr;text-align: left;}#respond p.comment-form-comment {width:100%;}#respond p.comment-form-url {margin-left:0;}#respond p.form-submit {border-bottom:none;width:100%;}#respond p.comment-form-author label,#respond p.comment-form-email label,#respond p.comment-form-url label {height:38px;}#respond #commentform p.logged-in-as{float:none;}#pagination{text-align:center;text-shadow: none;}#pagination a:hover, #pagination span.current {background: #ccc;}#pagination .page-numbers{background-color: #FFFFFF;border-left: 1px solid #EEEEEE;box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);display: block;float: right;margin-left:3px;padding: 4px 8px;position: relative;} style.css هست. ویرایش شده آذر 91 توسط NESTED قرار دادن محتوای استایل در بی بی کد longbox 1 نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 نه این فایل نه . فایل comments.php رو قرار بدید . احتمال زیاد میدم مشکل از این فایل باشه . اگر فایل دیگه ای هم هست که نام comments روش هست رو هم برام بفرستید .لازم نیست کد هاشو قرار بدید . فایل رو فشرده کنید و پیوست کنید . 2 نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 ببخشید من نمی دونم چجوری فشرده اش کنم.اما فایل coments.php این هست:<?php/*** Theme: silverOrchid* Theme URL: http://gazpo.com/2012/04/silverorchid* Created: April 2012* Author: Sami Ch.* URL: http://gazpo.com***/?><div id="comments"><h3 class="title"><?php comments_number( __('No Comments', 'gazpo'), __( '1 Comment', 'gazpo'), __('% Comments', 'gazpo') );?></h3><ol class="commentlist"> <?php wp_list_comments('avatar_size=32&type=comment'); ?></ol><div class="navigation"> <?php paginate_comments_links(); ?></div><?php comment_form(); ?></div>سه چهار تا فایل دیگه هم هست که coments ندارند ولی ی شاخه هایی از نظرات تو شون هست.اسم هاشون این هاست:carousel.phpfeat_cat1.phpfeat_cat2.phpfeat_cat3.phpfeat_cat4.phpfeat_cat5.php نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 (ویرایش شده) بجای<ol class="commentlist"> <?php wp_list_comments('avatar_size=32&type=comment'); ?></ol>از<ol class="commentlist"> <?php wp_list_comments('callback=custom_theme_comment'); ?> </ol>یا از این<ol class="commentlist"> <?php wp_list_comments('type=all&avatar_size=40');?> </ol>استفاده کنید . ببینید نتیجش رو .من خودن اونقدر حرفه نیستم توی کدهای php اما با آزمون و خطا همیشه جواب گرفتم . ویرایش شده آذر 91 توسط shahab2005 3 نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 (ویرایش شده) بازم هیچ تغییری اتفاق نیوفتاد... .......................................................یه لحظهبازم هیچ تغییری اتفاق نیوفتاد... ویرایش شده آذر 91 توسط mohammad hosein نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 می گم یعنی اینکه باید پوسته ام رو عوض کنم؟! من برای این پوسته خیلی زحمت کشیدم.خیلی ساده و زیبا هم هست.دلم نمیاد عوض کنم. نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 در نهایت طبق دستور وردپرسhttp://codex.wordpress.org/Function_Reference/wp_list_commentsمیتونید از این فرمت استفاده کنید . و باز هم اگر جواب نگرفتید اگر تونستید بک دسترسی ftp به قالب بهم بدید تا شاید بتونم براتون کاری انجام بدم .<ol class="commentlist"><?php wp_list_comments(); ?></ol>مشکل در قالب هست . قسمت کامنت ها باید ویرایش بشه تا قابل استفاده باشه . 2 نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 من کدهای شما رو توی لوکال تست کردم . بدون مشکل بود و نظرات نمایش داده میشد . فکر میکنم مشکل از این فایل نباشه 1 نقل قول لینک به ارسال
mohammad hosein 99 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 (ویرایش شده) دوستان فهمیدم مشکل از کجاست!از فایل single,php هست.نمی دونم چه کدی خرابش کرده .وقتی قالب رو یه بار دیگه نصب می کنم.درسته.ولی وقتی single.php اش رو عوض میکنم خراب میشه!کشف کردم!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :lol: :lol:مشکل از این کد ناکَس بود!: مطالب تصادفی:<br><ul><?php$args = array( 'numberposts' => 10, 'orderby' => 'rand', 'post_status' => 'publish', 'offset' => 1);$rand_posts = get_posts( $args );foreach( $rand_posts as $post ) : ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li><?php endforeach; ?></ul>حالا چیکار کنم که مطالب تصادفی نمایش داده بشه ولی نظرات هم نمایش داده بشه؟ ویرایش شده آذر 91 توسط mohammad hosein 1 نقل قول لینک به ارسال
Parsa 23463 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 از این توابع پس از مطالب تصادفی استفاده کنیدwp_reset_postdata();wp_reset_query(); 4 نقل قول لینک به ارسال
نوین ادمین 3860 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 بجای مطالب تصادفی از افزونه yet another related post استفاده کن . مطالب مرتبط رو نشون میده . بجای این کد ها فقط کد مربوط به این افزونه رو قرار بده . افزونه رو هم نصب کن .خیلی مفیده 2 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .