رفتن به مطلب

مشکل با قالب


پست های پیشنهاد شده

سلام. این قالب باید پست های دسته ها رو نمایش بده ولی توی فایل ایندکسش کوئری یا کدی وجود نداره که شماره دسته رو بدم! و یه مشکل دیگه هم هست که ابزارک های سمت چپش نمایش داده نمیشن آدرس آنلاین: http://www.sahel-chap.com/online/

اینم لینک قالب http://www.zirmizi.c...Zirmizi-com.zip

لینک به ارسال

این کدهای فایل ایندکسه :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?><meta name="description" content="<?php the_excerpt_rss(); ?>">

<meta name="description" content="تفریحی,سرگرمی,سایت,پاتوق,">

<META name=googlebot content="index, follow">

<meta name="google-site-verification" content="AjCS6CWpH7D1q_jaxJt3SemTw_e6DNE2MDvjhrLeZq0" />

<meta name="keywords" content="تفریحی,سرگرمی,سایت,خرید پستی">

<meta name="abstract" content="">

<META name=googlebot content="index, follow">

<meta name="abstract" content="<?php the_excerpt_rss(); ?>">

<?php endwhile; ?><?php else : ?><?php endif; ?>

<meta name="google-site-verification" content="AjCS6CWpH7D1q_jaxJt3SemTw_e6DNE2MDvjhrLeZq0" />

<meta http-equiv="Content-Language" content="fa">

<meta http-equiv="expires" content="never">

<meta name="robots" content="all,index,follow">

<meta name="author" content="Mohammad Ghanbari">

<META name="classification" content="News-Fun-Entertainment-Learn-Articles-sundries">

<meta name="document-rating" content="General">

<meta name="revisit-after" content="1 days">

<meta name="geography" content="Iran">

<meta name="language" content="Persian">

<meta name="distribution" content="Global">

<meta name="country" content="Iran">

<meta name="resource-type" content="document">

<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.css" type="text/css" media="all" />

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/menu/favicon.ico">

<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php echo home_url(); ?>/feed/atom" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

</head>

<body>

<div align="center">

<!-- Header and Logo and ADS and Menu -->

<div class="header">

<div class="socialIcons">

<a href="http://www.facebook.com/pages/Zirmizi/296348507068068" target="_blank"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/icon/iconFacebook.png" alt="Follow us on Facebook" /></a>

<a href="http://www.twitter.com/zirmizi" target="_blank"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/icon/iconTwitter.png" alt="Follow us on Twitter" /></a>

<a href="http://www.flickr.com/photos/zirmizi" target="_blank"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/icon/iconFlickr.png" alt="Flickr" /></a>

<a href="http://www.youtube.com/zirmizi" target="_blank"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/icon/iconYouTube.png" alt="Watch us on YouTube" /></a>

<a href="http://www.myspace.com/zirmizi" target="_blank"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/icon/iconMySpace.png" alt="My Space" /></a>

<a href="#"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/icon/iconBlogger.png" alt="Blogger" /></a>

</div>

<div class="translate">

<a href="http://www.zirmizi.com"><img'>http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http://www.zirmizi.com"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/en.png" alt="English" title="English" width="25px" height="21px"></a>

<a href="http://www.zirmizi.com"><img src="http://www.zirmizi.com/wp-content/themes/TD-Design-Zirmizi/Images/fa.png" alt="Persian" title="Persian" width="25px" height="21px"></a>

</div>

<div class="logos"></div>

<div class="lastpostTD">

<div class="takdune-post-lastpostTD">

<div class="takdune-post-p-lastpostTD">آخرین مطالب</div>

<div class="takdune-post-sabet-lastpostTD" dir="rtl">

<ul><?php wp_get_archives('type=postbypost&limit=11'); ?></ul>

</div>

</div>

</div>

<div class="adsTD">

<?php include(TEMPLATEPATH."/ads-center-home.php");?>

</div>

<div class="menus" dir="rtl">

<a href="http://www.zirmizi.com/">صفحه اصلی</a>    

<a href="http://www.zirmizi.com/link/links.php">تبادل لينك</a>    

<a href="http://shop.zirmizi.com/">فــــروشـگـــاه</a>    

<a href="http://www.zirmizi.com/%d8%aa%d8%a8%d9%84%d9%8a%d8%ba%d8%a7%d8%aa/">تبلیغات</a>    

<a href="http://www.zirmizi.com/%d8%aa%d9%85%d8%a7%d8%b3-%d8%a8%d8%a7-%d9%85%d8%a7/">تماس با ما</a>

</div>

<div style="margin-top:-100px;">

<!-- Header and Logo and ADS and Menu -->

<!-- Right Sidebar -->

<div id="Body"><div id="Menu-R">

<div class="takdune-post">

<div class="takdune-post-p">تبلیغات</div>

<div class="takdune-post-sabet">

<div style="height:3px;"> </div>

<a href="http://l4u.ir" alt="وااااااااااااي " title="چـــــت روم" target="_blank"><img class="" src="http://up.zirmizi.com/images/zd8um8vq65r5qgh0wbu.gif" alt="ads" height="" width="" ></a>

</div>

</div>

<br>

<!-- Right Sidebar -->

<!-- Right Sidebar Category -->

<div class="takdune-post">

<div class="takdune-post-p">موضوعات</div>

<div class="takdune-post-sabet" dir="rtl">

<ul>

<li><?php if (function_exists('put_cat_icons')) put_cat_icons( wp_list_categories('echo=0')); else wp_list_categories('hide_empty=0&title_li'); ?></li>

</ul>

<div style="height:5px;"> </div>

</div>

</div>

<br>

<div class="takdune-post">

<div class="takdune-post-p">لینک دوستان</div>

<div class="takdune-post-sabet" dir="rtl">

<div style="height:3px;"> </div>

<ul>

<li><a href="http://www.takdune.com/forum" alt="انجمن گفتمان تکدونه" title="انجمن گفتمان تکدونه">انجمن گفتمان تکدونه</a></li>

<?php

$bm = get_bookmarks( array(

'orderby' => 'name',

'order' => 'ASC',

'limit' => -1,

'category' => null,

'hide_invisible' => 1,

'show_updated' => 0,

'include' => null,

'exclude' => null,

'search' => '.'));

foreach ($bm as $bookmark){

echo "<li><a rel='nofollow' href='{$bookmark->link_url}' target='_blank'>

{$bookmark->link_name}

</a></li>";

}

?>

</ul>

<div style="height:3px;"> </div>

</div>

</div>

<br>

<!-- Right Sidebar Category -->

<div class="takdune-post">

<div class="takdune-post-p">آرشیو</div>

<div class="takdune-post-sabet" dir="rtl">

<ul>

<?php if (function_exists('wp_get_jarchives')) { ?>

<?php wp_get_jarchives('type=monthly'); ?>

<?php } else { ?>

<?php wp_get_archives('type=monthly'); ?>

<?php } ?>

</ul>

<div style="height:3px;"> </div>

</div>

</div>

<br>

<div class="takdune-post">

<div class="takdune-post-p">آمار سایت</div>

<div class="takdune-post-sabet" dir="rtl">

بازديد امروز : <?php cystats_countVisits(today); ?><br>

بازديد ديروز : <?php cystats_countVisits(yesterday); ?><br>

افراد آنلاين : <font color="red"><b><?php cystats_countUsersOnline(); ?></b></font><br>

ورودي گوگل : <?php cystats_getSearchengineRefererCount($showmode=true);?><br>

تعداد کل مطالب : <?php cystats_countPosts(); ?><br>

تعداد لينک ها : <?php cystats_countLinks(); ?><br>

بازديد اين هفته : <?php cystats_countVisits(week); ?><br>

بازديد اين ماه : <?php cystats_countVisits(month); ?><br>

بازديد کل : <?php cystats_countVisits(all); ?><br>

<!-- Begin WebGozar.com Counter code -->

<script type="text/javascript" language="javascript" src="http://www.webgozar.ir/c.aspx?Code=2464216&t=counter" ></script>

<noscript><a href="http://www.webgozar.com/counter/stats.aspx?code=2464216" target="_blank">آمار</a></noscript>

<!-- End WebGozar.com Counter code -->

</div>

</div>

<br>

<br>

<!-- Right Sidebar Status-->

<br></div></div>

<div id="MyBox" style="margin-left: -0px">

<table align="left" cellpadding="0" cellspacing="0" Style="width: 850px;">

<tr>

<td valign="top">

<div class="takdune-post-single-post">

<div class="takdune-post-p-single-post">جستجو در سایت</div>

<div class="takdune-post-sabet-single-post" dir="rtl">

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">

<table width="200px" dir="rtl" style="border-collapse: collapse">

<tr>

<td width="25%" class="InputTitle2">جستجو</td>

<td class="InputTD" style="height: 22px; text-align: right">

<input value="" name="s" class="MyInput" id="KeyWord" size="25" style="background-color: #FFF;" /></td>

<td ><input type="submit" class="SearchBTN" value="بگرد!" style="background-color: #E0000E;"/></td>

</tr>

</table>

</form>

</div>

</div>

<br>

<div class="takdune-post-single-post">

<div class="takdune-post-p-single-post">تبلیغات</div>

<div class="takdune-post-sabet-single-post" dir="rtl">

<center>

<div style="height:4px;"> </div>

<a href="http://www.makki.ir"><img src="http://up.zirmizi.com/images/oz3nvz26grwvz73za7a0.gif" alt="ads" height="240" width="110"></a>

<a href="http://www.zirmizi.com/%d8%aa%d8%a8%d9%84%d9%8a%d8%ba%d8%a7%d8%aa/"><img src="http://www.up.vbiran.ir/images/e2lo0o3qy2mmgrfjvij.png" alt="ads" height="240" width="110"></a>

<center>

</div>

</div>

<br>

<div class="takdune-post-single-post">

<div class="takdune-post-p-single-post">-(کلاه کاسکت شریکی هم مگه داریم - كليپ روز(پخش آنلاين</div>

<div class="takdune-post-sabet-single-post" dir="rtl">

<br>

<br>

<center><embed height="160" width="240" flashvars="config=http://www.aparat.com//video/video/config/videohash/9576347d2a4438d5b3b12397fc302071146612" allowfullscreen="true" quality="high" name="aparattv" id="aparattv" style="" src="http://www.aparat.com/public/public/player/aparattv" type="application/x-shockwave-flash"><center>

<br>

</div>

</div>

<br>

<div class="takdune-post-single-post">

<div class="takdune-post-p-single-post">جدیدترین نظرات</div>

<div class="takdune-post-sabet-single-post" dir="rtl">

<?php

global $wpdb;

$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID,

comment_post_ID, comment_author, comment_date_gmt, comment_approved,

SUBSTRING(comment_content,1,62) 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 15";

$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;?>

</ul>

</div>

</div>

<br>

</td>

<td width="2%">

 </td>

<td Style="width:70%;" valign="top">

<div class="takdune-post-single">

<div class="takdune-post-sabet-single" dir="ltr" align="center">

<div style="height:4px;"> </div>

<center><a href="https://s3.amazonaws.com/com.alexa.toolbar/atbp/CuqjAg/download/index.htm" target="_blank"><img src="http://up.zirmizi.com/images/58szf5bln8fycyevm0pv.png"></a></center>

</div>

</div>

<br>

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>

<div class="takdune-post-single-post">

<div class="takdune-post-p-single-post" dir="rtl">

<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','bicnow'); ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a>

</div>

<div class="takdune-post-sabet-single-post" dir="rtl">

ارسال شده توسط: <?php the_author() ?> | تاریخ ارسال: <?php the_time('j F Y') ?> | ساعت: <?php the_date();?> | موضوع: <?php the_category(' - ') ?> </center>

<?php the_content(__('','bicnow')); ?>

<div style="text-align:left;"><?php edit_post_link('ويرايش مطلب','',''); ?>       

<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link to','bicnow'); ?> <?php the_title_attribute(); ?>">ادامه مطلب</a>

</div>

</div>

</div>

<br>

<?php endwhile; ?> <?php endif; ?>

<br>

<div class="takdune-post-single-post">

<div class="takdune-post-p-single-post" dir="rtl">

<center>صفحات</center>

</div>

<div class="takdune-post-sabet-single-post" dir="rtl">

<center>

<span dir="ltr"><?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?></span>

</center>

</div>

</div>

<br><br>

</td>

</tr>

</table>

</div></div>

</div></div>

<div class="footers" align="center">

<div class="CopyRight">

كپي رايت 2011 © تمامي حقوق اين سايت براي مديران آن محفوظ است هرگونه كپي برداري بدون ذكر نام و لينك منبع غير مجاز است<br />

<b><a title="Atom" href="http://www.zirmizi.com/wp-atom.php">Atom</a></b>|

<b><a title="الکسا" href="http://www.alexa.com/siteinfo/zirmizi.com#trafficstats">Alexa</a></b> |

<b><a title="RSS 2.0" href="http://www.zirmizi.com/wp-rss.php">RSS</a></b> |

<b><a title="RSS 2.0" href="http://www.zirmizi.com/wp-rss2.php">RSS 2.0</a></b> |

<b><a title="RSS 2.0" href="http://www.zirmizi.com/wp-rdf.php">RSD</a></b> |

<b><a href="http://www.zirmizi.com/sitemap.xml">sitemap</a></b> |

<b><a href="http://www.wp-persian.com/"> Wordpress</a></b> |

<b><a href="http://www.takdune.com/forum/member1.html" alt="Designer Them" title="Designer Them">Designer</a></b> |

<b><a href="http://www.google.com/"> Google</a></b>

</div>

</div>

</div>

</body>

</html>

ویرایش شده توسط Morteza
استفاده از longbox
لینک به ارسال

این قالب باید پست های دسته ها رو نمایش بده ولی توی فایل ایندکسش کوئری یا کدی وجود نداره که شماره دسته رو بدم!

خوب اگر میخوان از دسته خاص باشه خودتون اضافه کنید

مشکلی نداره

ابزارک های سمت چپش نمایش داده نمیشن

شما چرا فایل سایدبار ندارید؟

کدش فراخوانی در کجاست؟ نمیبینم؟

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...