<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>P30Help -  کمک رایانه &#187; پوسته</title>
	<atom:link href="http://www.p30help.ir/category/themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.p30help.ir</link>
	<description>مطالبی از دنیای IT و طراحی</description>
	<lastBuildDate>Wed, 08 Sep 2010 19:45:31 +0000</lastBuildDate>
	<language>fa</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>کتاب چگونه برای وردپرس پوسته بسازیم (PDF)</title>
		<link>http://www.p30help.ir/how-to-make-wordpress-theme-pdf/</link>
		<comments>http://www.p30help.ir/how-to-make-wordpress-theme-pdf/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 01:19:02 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[آموزش وردپرس]]></category>
		<category><![CDATA[کتاب PDF]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1401</guid>
		<description><![CDATA[همانطور که به شما قول داده بودم، قرار شد تا PDF سری آموزشی چگونه برای وردپرس پوسته بسازیم را آماده کنم. برای انجام اینکار یکسری مشکلات پیش آمد ولی به هر حال، پی دی اف (PDF) این سری آماده شد. این فایل شامل ۱۴۱ صفحه و با حجم ۱.۵ مگابایت می باشد. از شکیبایی شما [...]]]></description>
			<content:encoded><![CDATA[<p>همانطور که به شما قول داده بودم، قرار شد تا PDF <a href="http://www.p30help.ir/how-make-wordpress-theme/" target="_blank">سری آموزشی چگونه برای وردپرس پوسته بسازیم</a> را آماده کنم. برای انجام اینکار یکسری مشکلات پیش آمد ولی به هر حال، پی دی اف (PDF) این سری آماده شد. این فایل شامل ۱۴۱ صفحه و با حجم ۱.۵ مگابایت می باشد. از شکیبایی شما برای ساخت این کتاب بسیار متشکرم&#8230;</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1402" title="pdf-wordpress" src="http://www.p30help.ir/wp-content/images/2009/10/pdf-wordpress.jpg" alt="pdf-wordpress" width="450" height="301" /></p>
<p><a href="http://www.4shared.com/file/143286988/e73c2c97/How_to_Make_WordPress_Theme.html" target="_blank">دانلود از ۴shared</a></p>
<p><strong>نکته</strong>: در صورتی که قادر به خواندن نوشته های این فایل نیستید، <a href="http://www.4shared.com/file/143324709/7999b88c/BYekan.html" target="_blank">فونت B Yekan را دانلود</a> کرده و به پوشه ی Fonts ویندوز خود بریزید.</p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-translate-wordpress-plugin-to-farsi/" title="چگونه افزونه (پلاگین) های وردپرس را فارسی کنیم؟">چگونه افزونه (پلاگین) های وردپرس را فارسی کنیم؟</a></li><li><a href="http://www.p30help.ir/multimedia-learning-install-wordpress-on-host/" title="آموزش تصویری نصب وردپرس بروی هاست">آموزش تصویری نصب وردپرس بروی هاست</a></li></ul>
				<div>
					<h4>47 comment(s) for this post:</h4><ol>
						  <li><i>merlin:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-make-wordpress-theme-pdf/comment-page-1/#comment-2737">2009-Oct-25</a></small>
							لینک مستقیم http://download.online-dl.com/files/How_to_Make_Wordpress_Theme_www.online-dl.com.pdf
						  </li>
						  <li><i>سجاد:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-make-wordpress-theme-pdf/comment-page-1/#comment-2738">2009-Oct-25</a></small>
							مرسی

Http://sajjad.ir
						  </li>
						  <li><i>snhasani:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-make-wordpress-theme-pdf/comment-page-1/#comment-2743">2009-Oct-25</a></small>
							عزیز لینک رپیدشیر خرابه!
						  </li>
						  <li><i>ali.gh:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-make-wordpress-theme-pdf/comment-page-1/#comment-2747">2009-Oct-25</a></small>
							آقا جان دستت درد نکنه خیلی احتیاج داشتم
						  </li>
						  <li><i>هانیبال:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-make-wordpress-theme-pdf/comment-page-1/#comment-2748">2009-Oct-25</a></small>
							سلام
واقعاً جای خالی چنین کتابی حس می شد.
ممنون که زحمتش را کشیدید
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1401">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-to-make-wordpress-theme-pdf/#comments'>42 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-to-make-wordpress-theme-pdf/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>چگونه پوسته های وردپرس را فارسی کنیم؟</title>
		<link>http://www.p30help.ir/how-to-translate-wordpress-theme/</link>
		<comments>http://www.p30help.ir/how-to-translate-wordpress-theme/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 19:53:19 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[فارسی سازی]]></category>
		<category><![CDATA[قالب]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1372</guid>
		<description><![CDATA[حال بعد از اتمام سری آموزشی چگونه برای وردپرس پوسته بسازیم، یک بخش اساسی باقی مانده که آن را هم به امید خدا امروز به پایان می رساینم. مسلماً فارسی سازی یک قالب بسیار مهم است و بدون داشتن دانش این امر حتی ساخت پوسته برای فارسی زبانان بی معنی خواهد بود. در ابتدا قصد [...]]]></description>
			<content:encoded><![CDATA[<p>حال بعد از اتمام <a href="http://www.p30help.ir/how-make-wordpress-theme/" target="_blank">سری آموزشی چگونه برای وردپرس پوسته بسازیم</a>، یک بخش اساسی باقی مانده که آن را هم به امید خدا امروز به پایان می رساینم. مسلماً فارسی سازی یک قالب بسیار مهم است و بدون داشتن دانش این امر حتی ساخت پوسته برای فارسی زبانان بی معنی خواهد بود.</p>
<p style="text-align: center;"><img class="size-full wp-image-1373 aligncenter" title="wordpress-logo" src="http://www.p30help.ir/wp-content/images/2009/09/wordpress-logo.jpg" alt="wordpress-logo" width="365" height="365" /></p>
<p>در ابتدا قصد داشتم که خودم نحوه ی فارسی سازی قالب ها را به شما آموزش دهم، ولی بیاد آوردم که دوستان زیادی مطالب بسیار جامع و کاملی در این زمینه نوشته اند. بنابراین این کار را بیهوده دیدم و تصمیم گرفتم که آموزش های این عزیزان را برای شما دوستان قرار دهم. تا هم شما استفاده کنید و هم از این عزیزان برای تلاش شان قدر دانی شود.</p>
<p>لیست آموزش ها را در پایین قرار داده ایم:</p>
<p>۱- <a href="http://p30design.net" target="_blank">علی ایرانی</a> از مدت ها قبل نحوه ی فارسی سازی پوسته های وردپرس را در ۵ جلسه آموزش داده است، این مطالب می تواند برای شما بسیار مفید باشد (<a href="http://p30design.net/1386/08/wordpress-farsi-theme.html" target="_blank">+</a>)</p>
<p>۲- <a href="http://www.naghies.ir/" target="_blank">ناقیس</a> عزیز هم آموزش سریع فارسی سازی پوسته های وردپرس رو در چند جلسه آموزش داده، مسلماً این آموزش هم مثل بقیه ی کارهای بهرنگ عزیز خوب و مفید خواهد بود (<a href="http://www.naghies.ir/1387/08/19/theme-persianization/" target="_blank">+</a>)</p>
<p>۳- اما معینی عزیز هم از وبلاگ <a href="http://metablog.ir" target="_blank">متابلاگ</a> بیکار نشسته و یک آموزش بسیار عالی به فرمت PDF در ۲۳ صفحه را بوجود آورده است، انصافاً آموزش بسیار کاملی است و خودم به شخصه این آموزش را به شما پیشنهاد می کنم، بعلاوه چون این آموزش در فرمت PDF است براحتی می توانید بروی هارد خود نگهداری کرده و در مواقع ضروری از آن استفاده کنید. (<a href="http://metablog.ir/1388/05/15/guide-of-translate-wordpress-theme.html" target="_blank">+</a>)</p>
<p>با اجازه ی این بزرگوار لینک دانلود این فایل را در اینجا نیز قرار می دهم&#8230;.<a href="http://metablog.ir/wp-content/uploads/2009/08/Guide-of-translate-wordpress-theme.zip" target="_blank"><br />
<span style="text-decoration: line-through;"> لینک دانلود</span></a><br />
<span style="text-decoration: line-through;"><a href="http://uploadingit.com/files/1247583_teuxp/Guide-of-translate-wordpress-theme.zip" target="_blank">لینک کمکی</a></span></p>
<p><strong>آپدیت (۸ اردیبهشت ۸۹)</strong>- با توجه به اینکه لینک دانلودها مشکل پیدا کرده اند، فایل مورد نظر را در سایت ۴shared آپلود کرده ام که از طریق لینک زیر قادر به دریافت آن هستید:</p>
<p><a href="http://www.4shared.com/document/dyeht16q/Guide_of_translate_wordpress_t.html" target="_blank">لینک دانلود</a></p>
<p>۴- <a href="http://minimalist.bloghaa.com/" target="_blank">حمید رضای</a> عزیز نحوه ی فارسی سازی و هم کار با نرم افزار آرتیستر را تهیه کرده است که حتماً مفید خواهد بود.(<a href="http://minimalist.bloghaa.com/301" target="_blank">+</a>)</p>
<p><strong>پ.ن:</strong> شما هم اگر آموزشی درباره ی نحوه ی فارسی سازی پوسته های وردپرس نوشته اید، حتماً من را باخبر کنید تا این آموزش را به دیگران معرفی کنم&#8230;</p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li><li><a href="http://www.p30help.ir/shayan-theme-for-wordpress/" title="قالب شایان برای وردپرس">قالب شایان برای وردپرس</a></li><li><a href="http://www.p30help.ir/radian-ver2-theme-for-wordpress/" title="پوسته رادیان ورژن 2 برای وردپرس">پوسته رادیان ورژن 2 برای وردپرس</a></li><li><a href="http://www.p30help.ir/mahan-theme-for-wordpress/" title="قالب ماهان برای وردپرس">قالب ماهان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-and-6c-lesson-8-9/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)">چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 20)">چگونه برای وردپرس پوسته بسازیم؟(بخش 20)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 18)">چگونه برای وردپرس پوسته بسازیم؟(بخش 18)</a></li><li><a href="http://www.p30help.ir/yahoo-theme-for-wordpress/" title="قالب یاهو برای وردپرس">قالب یاهو برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-15/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 15)">چگونه برای وردپرس پوسته بسازیم؟(بخش 15)</a></li></ul>
				<div>
					<h4>24 comment(s) for this post:</h4><ol>
						  <li><i>میلاد:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-translate-wordpress-theme/comment-page-1/#comment-2359">2009-Sep-28</a></small>
							پست جدید میذاری ولی جواب ما رو نمیدی !!!
						  </li>
						  <li><i>یک قلم:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-translate-wordpress-theme/comment-page-1/#comment-2369">2009-Sep-28</a></small>
							واقعاً به خاطر این دوره آموزشی که گذاشتی ازت ممنونم، خیلی خیلی استفاده کردیم.
خسته نباشین!!
						  </li>
						  <li><i>مسیح:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-translate-wordpress-theme/comment-page-1/#comment-2377">2009-Sep-29</a></small>
							تقریباً انقدر فارسی سازی دردسر داشت که ترجیه دادم از صفر یه پوسته بسازم و البته چیز هایی هم یاد بگیرم . 
به زودی سایت جدیدم رو میبینی مهدی جان که آموزش تو کمک زیادی بهم کرد ...
						  </li>
						  <li><i>علی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-translate-wordpress-theme/comment-page-1/#comment-2379">2009-Sep-29</a></small>
							خیلی خوب بود
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-to-translate-wordpress-theme/comment-page-1/#comment-2387">2009-Sep-29</a></small>
							منتظر هستم مسیح جان.....
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1372">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-to-translate-wordpress-theme/#comments'>19 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-to-translate-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>چگونه برای وردپرس پوسته بسازیم؟(بخش ۲۱ و پایانی)</title>
		<link>http://www.p30help.ir/how-make-wordpress-theme-lesson-21/</link>
		<comments>http://www.p30help.ir/how-make-wordpress-theme-lesson-21/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 19:57:36 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[page.php]]></category>
		<category><![CDATA[single.php]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[قالب]]></category>
		<category><![CDATA[وبلاگ]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1362</guid>
		<description><![CDATA[خوب باید این خبر خوش را به شما بگویم، که بعد از مدتها این سری آموزشی به اتمام رسید. اولین پست این سری آموزشی در تاریخ 03/10/1387 نوشته شد و امروز یعنی در تاریخ  26/6/1388 این سری آموزشی به پایان می رسد، یعنی نزدیک به 7 ماه این سری آموزشی که شامل 21 جلسه بود، ادامه پیدا کرد...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;" dir="rtl"><span style="font-size: large;">قالب دهی نظرات</span></p>
<p dir="rtl">خوب باید این خبر خوش را به شما بگویم، که بعد از مدتها این سری  آموزشی به اتمام رسید. اولین پست این سری آموزشی در تاریخ<strong> ۰۳/۱۰/۱۳۸۷</strong> نوشته شد  و امروز یعنی در تاریخ  <strong>۲۶/۶/۱۳۸۸</strong> این سری آموزشی به پایان می رسد، یعنی نزدیک  به <strong>۷ ماه</strong> این سری آموزشی که شامل <strong>۲۱</strong> جلسه بود، ادامه پیدا کرد. دوستان  زیادی به من گفتند که این سری آموزشی را سریعتر ادامه بدهم،  و باید الان به اینان گفت که این سری در نهایت به پایان رسید. با  وجود تمام سختی ها و مشکلات، باید بگویم که  خوشحالم که توانستم خدمتی هر چند کوچک به وردپرس کرده باشم&#8230;</p>
<p style="text-align: center;" dir="rtl"><img class="alignnone size-full wp-image-764" title="wp-php-theme" src="http://www.p30help.ir/wp-content/images/wp-php-theme.jpg" alt="wp-php-theme" width="420" height="294" /></p>
<p dir="rtl">شما تقریباً همه چیز را می دانید. و برای کامل کردن اطلاعات  وردپرسی خود این سری آموزشی را نیز ادامه دهید.  امروز شما نحوه ی زندگی بخشی به تمام وبلاگ ها را یعنی نحوه ی قرار دادن بخش نظرات  را خواهید آموخت<strong style="font-weight: 400;">. در تصورات من، وبلاگی که در آن  خواننده هایش مجاز نباشند که نظر بدهند، وبلاگ نیست. البته برای برخی،  بخش نظرات آنچنان مهم نیست ولی برای من واقعاً تصور نبود نظرات هم سخت است.</strong></p>
<p dir="rtl">برای خواندن بقیه ی درس ادامه مطلب را مطالعه کنید&#8230;.</p>
<p dir="rtl"><span id="more-1362"></span></p>
<p dir="rtl">در ابتدا باید بگویم که روش ساختن بخش نظرات به دوشکل ممکن است، <span style="color: #ff0000;"><strong>یک-</strong></span> حالت پیش فرض وردپرس، که با تایپ فقط یک خط  کد امکانش میسر می شود. <span style="color: #ff0000;"><strong>دو-</strong></span> روشی که ما نظرات را  با نظر و سلیقه ی خود، درون فایلی بنام <strong><span lang="en-us">comments.php</span></strong> می نویسیم تا سبک نمایش را خودمان تعیین کنیم. که در این درس ما روش دوم را به شما  می آموزیم.</p>
<p dir="rtl"><strong style="font-weight: 400;">البته شما باید بدانید:<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> روش دوم یعنی تنظیم کردن قالب در فایل </strong><strong><span lang="en-us"> commnets.php</span></strong><strong style="font-weight: 400;"> راه آنچنان  استانداردی نیست و بهتر است که از پیش فرض وردپرس استفاده شود.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span> بیشتر طراحان وردپرس از الگو  پیش فرض نظرات <strong style="font-weight: 400;">وردپرس استفاده می کنند.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> بعضی از طراحان از الگوی پیش فرض وردپرس صرف نظر می کنند چون حتماً آن نیازشان را  براورده نمی کند.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> شما از ورژن اصلاح شده ی الگو پیش فرض نظرات  من استفاده می کنید.</strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی اول:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> یک فایل جدید بنام </strong><strong>comments.php</strong><strong style="font-weight: 400;"> بسازید<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> کدهای داخل فایل </strong> <strong> <a href="http://www.p30help.ir/other/wp-learn-theme/21/comments.txt" target="_blank"> comments.txt</a></strong> را به درون فایل <strong>comments.php</strong><strong style="font-weight: 400;"> کپی کنید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> کدهای داخل فایل </strong> <strong>comments.php</strong><strong style="font-weight: 400;"> را <span lang="en-us">save</span> کنید.</strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">•</span></span></strong><strong> مرحله ی دوم:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> کدهای درون فایل </strong> <strong> <a href="http://www.p30help.ir/other/wp-learn-theme/21/comments-css.txt" target="_blank"> comments-template-css</a></strong> را <span lang="en-us">ک</span>پی کنید.<span lang="en-us"><br />
</span><span style="color: #ff0000;"><strong>»</strong></span><span lang="en-us"> </span>این کدها را در پایین یا در زیر سلکتور  <span style="color: #ff0000;"> <strong><span dir="ltr">#footer</span></strong></span><strong style="font-weight: 400;"> بچسبانید.</strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">•</span></span></strong><strong> مرحله ی سوم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">در فایل </strong><strong>single.php</strong><strong style="font-weight: 400;">، در زیر تگ  باکس مخفی ای که </strong><strong>مشخصه ی <span lang="en-us">id</span></strong><strong style="font-weight: 400;"> آن </strong><span style="color: #ff0000;"><strong> <span lang="en-us">entry</span></strong></span><strong style="font-weight: 400;"> است، کدهای زیر را تایپ کنید:</strong></p>
<p dir="ltr"><code>&lt;div class=”comments-template”&gt;<br />
&lt;?php comments_template(); ?&gt;<br />
&lt;/div&gt;</code>
</p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1363" title="comments-template" src="http://www.p30help.ir/wp-content/images/2009/09/comments-template.gif" alt="comments-template" width="300" height="227" /></p>
<p dir="rtl"><strong style="font-weight: 400;">تابع </strong><strong> <span style="color: #ff0000;"><span dir="ltr">comments_template()</span></span></strong><strong style="font-weight: 400;"> بخش نظرات وبلاگ را صدا می زند. البته بخش جالب این تابع این است که اگر  فایلی بنام </strong><strong><span lang="en-us">comment.php</span></strong><strong style="font-weight: 400;"> وجود داشته باشد، الگوی نمایش بخش نظرات پوسته از این فایل گرفته می شود و اگر چنین  فایلی وجود نداشته باشد، این تابع نحوه ی نمایش بخش نظرات را از بخش پیش فرض وردپرس  می گیرد که البته امکانات آن ممکن است راضی کننده نباشد.</strong></p>
<p dir="rtl">شما همچنین می توانید از تابع  <strong> <span dir="ltr">comments_template()</span></strong><strong style="font-weight: 400;"> در فایل </strong> <strong> page.php</strong><strong style="font-weight: 400;"> استفاده کنید، تا به بینندگان  اجازه دهید تا امکان نظر دهی برای برگه های قالب شما نیز میسر باشد. اگر مایلید  که اینکار را انجام دهید، دقیقاً همین مراحل را برای  فایل </strong> <strong> <span lang="en-us">page.php</span></strong><strong style="font-weight: 400;"> انجام دهید.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی چهارم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">خوب مراحل اصلی را انجام دادیم. این مرحله  برای اعتبار نامه ی قالب است. یعنی با اینکار می توانید متوجه شوید که کدهای شما بی  نقص هستند یا نه. البته اگر نتوانستید این اعتبار نامه را بگیرید خیلی دلسرد نشوید،  چون گرفتن این اعتبار نامه آسان نیست. حال برای گرفتن اعتبار نامه مراحل زیر را  انجام دهید:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> به  آدرس </strong> <strong>View &gt; Page Source</strong> یا <strong> Source</strong><strong style="font-weight: 400;"> بروید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> تمامی این کدها را  کپی کنید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> به سایت </strong> <strong><a href="http://validator.w3.org/">validator</a></strong> بروید.<br />
<span style="color: #ff0000;"><strong>»</strong></span> تمامی این کدها را در بخش <strong>Direct Input</strong><strong style="font-weight: 400;"> بچسبانید و یا <span lang="en-us">paste</span> کنید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> بروی  دکمه ی </strong><strong> <span lang="en-us">check</span></strong><strong style="font-weight: 400;"> کلیک کنید.</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">برای مرجع بعدی (وقتی شما پوسته ی خودتان و بخش  نظرات را طراحی کردید) از صفحات زیر نیز اعتبار سنجی کنید:</strong></p>
<ul>
<li>Home page</li>
<li>Archive pages</li>
<li>Category pages</li>
<li>Search result pages</li>
<li>Pages (مثل: About)</li>
<li>Single post با page</li>
<li>Single post بدون بخش نظرات</li>
<li>Single post با بخش نظرات</li>
<li>Single post با پیغام باید برای نظر دادن حتماً وارد شوید</li>
<li>Single post بدون محدودیتی برای نظر دادن</li>
<li>Password protected single post با comments</li>
</ul>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊ </span>توضیحات بیشتر برای الگوی نظرات:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span> الگوی نظرات اساساً یک  لیستی با تگ <span style="color: #ff0000;"><strong><span lang="en-us">ol</span></strong></span> می  باشد. اگر چه این تگ با سایر تگهای این سبکی فرقی ندارد (مانند تگهای <strong><span lang="en-us">li</span></strong>) اما یک تفاوت کوچک  دارد. تگ <strong>غیر <span lang="en-us">ol</span></strong> هر آیتم را با یک نقطه از دیگری  متمایز می کنند ولی تگ <strong><span lang="en-us">ol</span></strong> هر آیتم را با شماره از  دیگری متمایز می کند. (اگر متوجه نشده اید، ناراحت نباشید، این خط در حقیقت تنها  برای دادن اطلاعات بیشتر بود و در امتحان پایان ترم نمی آید.)<br />
<span style="color: #ff0000;"><strong>»</strong></span> در فایل <strong> <span lang="en-us">single.php</span></strong>، شما   تگ <strong><span lang="en-us">div</span></strong> با نام <strong>مشخصه ی آی دی </strong> <strong> comments-template</strong><strong style="font-weight: 400;"> بدور تابع</strong> <strong><span dir="ltr">comments_template()</span></strong><strong style="font-weight: 400;"> قرار داده اید. در حقیقت تگهای </strong><span lang="en-us"><strong>ol</strong><strong style="font-weight: 400;"> </strong></span><strong style="font-weight: 400;">توسط تگ </strong><span lang="en-us"><strong>div</strong><strong style="font-weight: 400;"> </strong></span><strong style="font-weight: 400;">محصور شده اند.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span> وقتی شما مطلبی را با پسورد  منتشر می کنید، بخش نظرات شما نیز  همچنین بوسیله ی پسورد محافظت می شوند.
</p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1364" title="password-protected" src="http://www.p30help.ir/wp-content/images/2009/09/password-protected.gif" alt="password-protected" width="435" height="61" /></p>
<p dir="rtl"><strong style="font-weight: 400;">این کدهای عکس زیر هستند که لیست  نظرات را می سازند:</strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1365" title="comments-template-core" src="http://www.p30help.ir/wp-content/images/2009/09/comments-template-core.gif" alt="comments-template-core" width="320" height="384" /></p>
<p dir="rtl"><strong style="font-weight: 400;">و این آنچه که واقعاً منظور ماست  در عکس زیر مشهود است:</strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1366" title="comments-template-simple" src="http://www.p30help.ir/wp-content/images/2009/09/comments-template-simple.gif" alt="comments-template-simple" width="299" height="212" /></p>
<p dir="rtl"><strong style="font-weight: 400;">تابع </strong> <span style="color: #ff0000;"><strong><span dir="ltr">comment_text()</span></strong></span><strong style="font-weight: 400;"> محتوای نظر هر شخص را صدا می زند. مثلاً اگر من نظر داده باشم، که </strong> <span style="color: #800000;"><strong>چطوری رفیق خیلی مطلبت باحال بود داداش&#8230;</strong></span><strong style="font-weight: 400;"> این نوشته دقیقاً توسط تابعی که گفته شد نمایش داده می شود.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">من شرح کدها درون فایل <span lang="en-us">Style</span> را به خود شما واگذار می کنم . بر خلاف کدهای درون فایل </strong><strong>comments.php</strong><strong style="font-weight: 400;"> شما  واقعاً می توانید با کدهای </strong><strong><span lang="en-us">CSS</span></strong><strong style="font-weight: 400;"> بدون ایجاد ایرادی بازی کنید تا به آنچه که نیاز دارید برسید.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">خوب دوستان عزیز این سری آموزشی که  درس مقدماتی نحوه ی ساخت پوسته بود به اتمام رسید. همانطور که گفته شد، در آینده می  خواهم سری آموزشی جدیدی را با نام </strong><span style="color: #ff6600;"><strong>سوال و جواب وردپرسی</strong></span><strong style="font-weight: 400;"> راه بیاندازم بنابراین هر  شخصی که سوالی در زمنیه ی وردپرس و طراحی آن دارد، می تواند سوال خود را برای من مطرح کند تا از این سری آموزشی جدید که طی پستهایی سوال آنها مطرح و جواب داده خواهد شد، هم خودتان و هم دیگران استفاده کنید.<br />
</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">البته یک درس متفرقه ی دیگر باقی  مانده و آن نحوه ی فارسی سازی قالب های وردپرس است که به آن نیز خواهیم پرداخت&#8230;</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">از اینکه مدتی را در خدمت شما دوستان بودم، بسیار خوشحالم و امیدوارم که این سری آموزشی مورد توجه شما قرار گرفته باشد. موفق و سربلند باشید&#8230;.<br />
</strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><br />
</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">به زودی نسخه ی </strong><strong> <span lang="en-us">PDF</span></strong><strong style="font-weight: 400;"> این سری  آموزشی را که شامل تمامی درسها است نیز منتشر می کنم تا راحت تر بتوانید استفاده  کنید.</strong></p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 20)">چگونه برای وردپرس پوسته بسازیم؟(بخش 20)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-2/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 2)">چگونه برای وردپرس پوسته بسازیم؟(بخش 2)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-3/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 3)">چگونه برای وردپرس پوسته بسازیم؟(بخش 3)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme/" title="چگونه برای وردپرس پوسته بسازیم؟">چگونه برای وردپرس پوسته بسازیم؟</a></li><li><a href="http://www.p30help.ir/how-to-translate-wordpress-theme/" title="چگونه پوسته های وردپرس را فارسی کنیم؟">چگونه پوسته های وردپرس را فارسی کنیم؟</a></li><li><a href="http://www.p30help.ir/shayan-theme-for-wordpress/" title="قالب شایان برای وردپرس">قالب شایان برای وردپرس</a></li><li><a href="http://www.p30help.ir/radian-ver2-theme-for-wordpress/" title="پوسته رادیان ورژن 2 برای وردپرس">پوسته رادیان ورژن 2 برای وردپرس</a></li><li><a href="http://www.p30help.ir/mahan-theme-for-wordpress/" title="قالب ماهان برای وردپرس">قالب ماهان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-and-6c-lesson-8-9/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)">چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)</a></li></ul>
				<div>
					<h4>43 comment(s) for this post:</h4><ol>
						  <li><i>علی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/comment-page-1/#comment-2205">2009-Sep-18</a></small>
							لطفا چند مرجع کامل و دسته بندی شده  در رابطه با ساخت قالب در وردپرس هم معرفی کنید 
با سپاس
						  </li>
						  <li><i>رضا حريري:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/comment-page-1/#comment-2211">2009-Sep-19</a></small>
							دستت درد نكنه خيلي عالي بود. من همه‌ي صفحاتي رو كه توشون آموزش طراحي سايت دادي رو سيو كردم و مطالعه مي كنم. الان جلسه‌ي 10م هستم .خيلي عالي بود. دستت درد نكنه. خدا خيرت بده!
پيروز باشي
						  </li>
						  <li><i>مهرداد:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/comment-page-1/#comment-2214">2009-Sep-19</a></small>
							دمت گرم ولی من نخوندم :D
						  </li>
						  <li><i>امیر:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/comment-page-1/#comment-2216">2009-Sep-19</a></small>
							سلام
سايت خوبي داريد من از سايتتان خوشم امد
اگر تمايل به تبادل لينک داريد
من رابا نام سايت موبايل لينک کن
وبعد در سايتم در قسمت نظرات به من اطلاع بده
که من شما را با چه نامي ليک کنم
با تشکر
						  </li>
						  <li><i>merlin:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/comment-page-1/#comment-2217">2009-Sep-19</a></small>
							لطفا تمامی بخش ها را در قالب pdf قرار دهید
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1362">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-make-wordpress-theme-lesson-21/#comments'>38 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-make-wordpress-theme-lesson-21/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>قالب ایساتیس (isatis) برای سایت</title>
		<link>http://www.p30help.ir/isatis-theme-for-wordpress/</link>
		<comments>http://www.p30help.ir/isatis-theme-for-wordpress/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 19:09:35 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[اخبار سايت]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[پی سی هلپ]]></category>
		<category><![CDATA[isatis]]></category>
		<category><![CDATA[قالب]]></category>
		<category><![CDATA[قالب ایساتیس]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1355</guid>
		<description><![CDATA[همانطور که مشاهده می کنید، این سایت نیز ظاهرش را تغییر داده و یک شکل جدید را به خود گرفته است. در طراحی قالب جدیدی که مشاهده می کنید با توجه به آمار Wakoopa تقریباً بیش از ۳۰ ساعت کد نویسی و ۱۰ ساعت طراحی زمان استفاده شده است&#8230;. خوشحال می شوم که نظر شما [...]]]></description>
			<content:encoded><![CDATA[<p>همانطور که مشاهده می کنید، این سایت نیز ظاهرش را تغییر داده و یک شکل جدید را به خود گرفته است. در طراحی قالب جدیدی که مشاهده می کنید با توجه به آمار Wakoopa تقریباً بیش از ۳۰ ساعت کد نویسی و ۱۰ ساعت طراحی زمان استفاده شده است&#8230;.</p>
<p style="text-align: center;"><img class="size-full wp-image-1359 aligncenter" title="brush-picture" src="http://www.p30help.ir/wp-content/images/2009/09/brush-picture.jpg" alt="brush-picture" width="450" height="114" /></p>
<p style="text-align: center;">
<p>خوشحال می شوم که نظر شما را درباره ی قالب جدید بدانم و یا اگر ایرادی را یافتید با من نیز در میان بگذارید&#8230;.</p>
<p>با سپاس فراوان&#8230;..</p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-to-translate-wordpress-theme/" title="چگونه پوسته های وردپرس را فارسی کنیم؟">چگونه پوسته های وردپرس را فارسی کنیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li><li><a href="http://www.p30help.ir/shayan-theme-for-wordpress/" title="قالب شایان برای وردپرس">قالب شایان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-16/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 16)">چگونه برای وردپرس پوسته بسازیم؟(بخش 16)</a></li><li><a href="http://www.p30help.ir/yahoo-theme-for-wordpress/" title="قالب یاهو برای وردپرس">قالب یاهو برای وردپرس</a></li><li><a href="http://www.p30help.ir/radian-ver2-theme-for-wordpress/" title="پوسته رادیان ورژن 2 برای وردپرس">پوسته رادیان ورژن 2 برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-12/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 12)">چگونه برای وردپرس پوسته بسازیم؟(بخش 12)</a></li><li><a href="http://www.p30help.ir/little-fish-theme-for-wordpress/" title="قالب ماهی کوچولو برای وردپرس">قالب ماهی کوچولو برای وردپرس</a></li><li><a href="http://www.p30help.ir/mahan-theme-for-wordpress/" title="قالب ماهان برای وردپرس">قالب ماهان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-and-6c-lesson-8-9/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)">چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)</a></li></ul>
				<div>
					<h4>12 comment(s) for this post:</h4><ol>
						  <li><i>پیام:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/isatis-theme-for-wordpress/comment-page-1/#comment-2120">2009-Sep-10</a></small>
							قالب نو مبارک. قالب بسیار زیباییست و از فضا به خوبی استفاده کرده اید.
						  </li>
						  <li><i>مجید:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/isatis-theme-for-wordpress/comment-page-1/#comment-2121">2009-Sep-10</a></small>
							بسیا زیبا است و خسته نباشید. اگر آر اس اس و فایسبوکو ... قابل حذف ویا انتخاب باشد که عالی است.در ضمن من خدمت شما ایمیلی ارسال کردم
خسته نباشید و سلامت باشید
						  </li>
						  <li><i>علی.ق:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/isatis-theme-for-wordpress/comment-page-1/#comment-2126">2009-Sep-10</a></small>
							خسته نباشید 
قالب فوق العاده زیباست فقط یه اشکال داره سمت راست به جای دولت امید میر حسن موسوی لوگوی راه سبز امید را اضافه کنید
						  </li>
						  <li><i>مصطفی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/isatis-theme-for-wordpress/comment-page-1/#comment-2128">2009-Sep-11</a></small>
							خیلی قالب قشنگیه
واقعا خسته نباشی
همگانی نمیکنیش :دی
موفق باشی
						  </li>
						  <li><i>علی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/isatis-theme-for-wordpress/comment-page-1/#comment-2138">2009-Sep-12</a></small>
							سلام
مبارکه ، قشنگ و حرفه ای شده ... 
تبریک می گم :)
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1355">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/isatis-theme-for-wordpress/#comments'>7 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/isatis-theme-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>قالب شایان برای وردپرس</title>
		<link>http://www.p30help.ir/shayan-theme-for-wordpress/</link>
		<comments>http://www.p30help.ir/shayan-theme-for-wordpress/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 19:22:12 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[پی سی هلپ]]></category>
		<category><![CDATA[shayan]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[شایان]]></category>
		<category><![CDATA[قالب]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1326</guid>
		<description><![CDATA[نزدیک به یک سال پیش مشغول به ساختن قالب شایان (Shayan) شدم ولی به دلیل مشکلاتی آنرا بصورت کامل طراحی نکردم. اما بعد از مدتها فرصتی پیدا شد تا آنرا کامل کرده و مشکلاتی که در آن وجود داشت را برطرف و به صورت عمومی و رایگان منتشر کنم....]]></description>
			<content:encoded><![CDATA[<p>نزدیک به یک سال پیش مشغول به ساختن قالب شایان (Shayan) شدم ولی به دلیل مشکلاتی آنرا بصورت کامل طراحی نکردم. اما بعد از مدتها فرصتی پیدا شد تا آنرا کامل کرده و مشکلاتی که در آن وجود داشت را برطرف و به صورت عمومی و رایگان منتشر کنم.</p>
<p style="text-align: center;"><img class="size-full wp-image-1327 aligncenter" title="shayan-theme" src="http://www.p30help.ir/wp-content/images/2009/08/shayan-theme.png" alt="shayan-theme" width="500" height="312" /></p>
<p>برای ساخت این قالب ساعت ها وقت گذاشته ام و سعی کرده ام که مشکلات موجود در قالب های قبلی را در این قالب برطرف کنم. منتهی بعضی از مشکلات با تمام این تلاشها از چشم من پنهان می ماند، بنابراین از تمام شما عزیزان خواهشمندم که در صورت مشاهده ی ایرادی من را باخبر کنید.</p>
<p>این قالب دارای سه سایدبار با قابلیت ویجیت بوده و با تستهای مختلفی که در مرورگرهای مختلف صورت گرفته با انواع مرورگرها سازگار شده است.</p>
<p>این قالب برای راحتی کار مدیر وبلاگ دارای بخش اشتراک می باشد که برای فعال کردن آن باید مراحل زیر را پی بگیرید:</p>
<p style="text-align: center;"><img class="size-full wp-image-1331 aligncenter" title="subscribe-shayan" src="http://www.p30help.ir/wp-content/images/2009/08/subscribe-shayan.png" alt="subscribe-shayan" width="406" height="146" /></p>
<p>۱- در بخش تنظیمات وردپرس بروی <strong>تنظیمات قالب شایان</strong> کلیک کنید.</p>
<p style="text-align: center;"><img class="size-full wp-image-1330 aligncenter" title="tanzim-shayan-1" src="http://www.p30help.ir/wp-content/images/2009/08/tanzim-shayan-1.png" alt="tanzim-shayan-1" width="151" height="123" /></p>
<p>۲- در فیلد مورد نظر آدرس خوراک خود را در فیدبرنر وارد کرده و بروی <strong>ذخیره تغییرات</strong> کلیک کنید.</p>
<p style="text-align: center;"><img class="size-full wp-image-1328 aligncenter" title="tanzim-shayan-2" src="http://www.p30help.ir/wp-content/images/2009/08/tanzim-shayan-2.png" alt="tanzim-shayan-2" width="442" height="206" /></p>
<p>حال بخش اشتراک سایت شما فعال شده و هر شخص با کلیک بروی نماد Rss یا وارد کردن ایمیل خود، به اشتراک فید شما در می آید. امیدوارم که این قالب مورد توجه شما قرار بگیرد&#8230;.</p>
<p><a href="http://themes.wp-persian.com/shayan/" target="_blank">پیش نمایش و دانلود پوسته</a></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><span style="color: #ff6600;"><strong>از لطف همه دوستان سپاسگذارم و واقعاً خستگی رو از تنم بیرون کردید، انشاالله بتونم جبران کنم&#8230;..</strong></span></p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-to-translate-wordpress-theme/" title="چگونه پوسته های وردپرس را فارسی کنیم؟">چگونه پوسته های وردپرس را فارسی کنیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li><li><a href="http://www.p30help.ir/radian-ver2-theme-for-wordpress/" title="پوسته رادیان ورژن 2 برای وردپرس">پوسته رادیان ورژن 2 برای وردپرس</a></li><li><a href="http://www.p30help.ir/mahan-theme-for-wordpress/" title="قالب ماهان برای وردپرس">قالب ماهان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-and-6c-lesson-8-9/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)">چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 20)">چگونه برای وردپرس پوسته بسازیم؟(بخش 20)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 18)">چگونه برای وردپرس پوسته بسازیم؟(بخش 18)</a></li><li><a href="http://www.p30help.ir/yahoo-theme-for-wordpress/" title="قالب یاهو برای وردپرس">قالب یاهو برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-15/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 15)">چگونه برای وردپرس پوسته بسازیم؟(بخش 15)</a></li></ul>
				<div>
					<h4>80 comment(s) for this post:</h4><ol>
						  <li><i>علیرضا:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/shayan-theme-for-wordpress/comment-page-1/#comment-1909">2009-Aug-28</a></small>
							بسیار زیباست و کامل ، خشته نباشی مهدی جان
						  </li>
						  <li><i>حسين:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/shayan-theme-for-wordpress/comment-page-1/#comment-1918">2009-Aug-28</a></small>
							سلام... قالب قشنگي بود... خسته نباشيد.. .
						  </li>
						  <li><i>hadi:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/shayan-theme-for-wordpress/comment-page-1/#comment-1921">2009-Aug-28</a></small>
							سلام
قالب خوبیه.در فوتر قالب هم چیز زیادی نوشته نشده و این خیلی جالبه.
						  </li>
						  <li><i>بهروز:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/shayan-theme-for-wordpress/comment-page-1/#comment-1926">2009-Aug-28</a></small>
							دست شما درد نکنه ...
همیشه ماندگار و پیروز و سر بلند باشید
						  </li>
						  <li><i>آرمان:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/shayan-theme-for-wordpress/comment-page-1/#comment-1928">2009-Aug-28</a></small>
							قشنگ شده.خسته نباشی :)
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1326">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/shayan-theme-for-wordpress/#comments'>75 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/shayan-theme-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>80</slash:comments>
		</item>
		<item>
		<title>چگونه برای وردپرس پوسته بسازیم؟(بخش ۲۰)</title>
		<link>http://www.p30help.ir/how-make-wordpress-theme-lesson-20/</link>
		<comments>http://www.p30help.ir/how-make-wordpress-theme-lesson-20/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 20:25:13 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[archive.php]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Next Page]]></category>
		<category><![CDATA[page.php]]></category>
		<category><![CDATA[postmetadata]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[search.php]]></category>
		<category><![CDATA[single.php]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[جستجو]]></category>
		<category><![CDATA[وبلاگ]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1305</guid>
		<description><![CDATA[در درس قبل آموختید که چگونه فایل  index.php را برای مدیریت بهتر به فایلهای جداگانه ای تقسیم کنید، در این درس نیز قصد داریم تا همین عمل را برای بخش های دیگری انجام دهیم. که در اصطلاح به این فایلها Sub Template می گویند....]]></description>
			<content:encoded><![CDATA[<p dir="rtl">در درس قبل آموختید که چگونه فایل <strong> <span lang="en-us">index.php</span></strong> را برای مدیریت بهتر به فایلهای جداگانه ای تقسیم کنید، در این درس نیز قصد داریم  تا همین عمل را برای بخش های دیگری انجام دهیم. که در اصطلاح به این فایلها <span lang="en-us">Sub Template </span>می گویند. اگر بیاد داشته باشید در جلسه ی قبل  فایلهای <strong><span lang="en-us">index.php</span></strong> را به سه فایل <strong> <span lang="en-us"> header.php</span></strong> و <strong> <span lang="en-us">sidebar.php</span></strong> و <strong> <span lang="en-us"> footer.php</span></strong> مجزا کردیم تا مدیریت آنها ساده تر باشد.  در این جلسه این عمل را بصورت پیشرفته تری انجام خواهیم داد.</p>
<p style="text-align: center;" dir="rtl"><img class="size-full wp-image-764 aligncenter" title="wp-php-theme" src="http://www.p30help.ir/wp-content/images/wp-php-theme.jpg" alt="wp-php-theme" width="420" height="294" /></p>
<p dir="rtl">برای ادامه درس به ادامه مطلب مراجعه کنید&#8230;</p>
<p dir="rtl"><span id="more-1305"></span></p>
<p dir="rtl">هماگونه که گفته شده در این درس نیز <strong style="font-weight: 400;"> قصد تقسیم کردن فایل <span lang="en-us">index.php</span> را داریم ولی با پیش زمینه ی درس قبل اینکار بسیار ساده تر  خواهد بود.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی اول:</strong></p>
<p dir="rtl">در این مرحله می خواهیم که صفحه ای برای بخش آرشیو بسازیم. پس برای  اینکار مراحل زیر را انجام دهید.</p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span> یک فایل بنام   <strong><span style="color: #ff0000;">archive.php</span></strong><strong style="font-weight: 400;"> بسازید<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> تمامی کدهای موجود در فایل </strong><strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> را کپی کرده و داخل  فایل </strong><strong> <span lang="en-us">archive.php</span></strong><strong style="font-weight: 400;"> بچسبانید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> در داخل فایل </strong> <strong>archive.php</strong><strong style="font-weight: 400;"><span lang="en-us"> </span> تابع </strong> <strong>the_content</strong> را به <strong><span style="color: #ff0000;">the_excerpt</span></strong><strong style="font-weight: 400;"> تغییر دهید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> حال دوباره فایل </strong><strong> <span lang="en-us">archive.php</span></strong><strong style="font-weight: 400;"> را <span lang="en-us">save</span> کنید.</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">همانطور که از نام فایل </strong><strong> <span lang="en-us">archive.php</span></strong><strong style="font-weight: 400;"> مشخص است این فایل برای نحوه ی نشان دادن  صفحه ی آرشیو وبلاگ بکار می رود. و البته ما در اینجا این صفحه را دقیقاً مانند  صفحه ی اصلی سایت طراحی کردیم بغیر از یک تغییر کوچک که در آن بوجود آوردیم. حال  برای فهم بیشتر بروی یکی از آرشیو های قدیمی وبلاگ خود کلیک کنید تا تغییرات را  متوجه شوید.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">بله درست است در صفحه ی آرشیو شما  تنها خلاصه از هر مطلب را مشاهده می کنید نه کل مطلب را. عبارت </strong> <strong><span style="color: #ff0000;"><span lang="en-us">the_excerpt</span></span></strong><strong style="font-weight: 400;"> بجای کد </strong><strong><span lang="en-us">the_content</span></strong><strong style="font-weight: 400;"> باعث این عمل می شود.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊<span lang="en-us"> </span> </span></strong><strong>اما چرا اینکار را انجام دادیم؟<br />
</strong><strong style="font-weight: 400;">ما این عمل را برای محافظت در برابر جریمه ی گوگل انجام دادیم. چون اگر مطلبی  هم در  آرشیو و هم در صفحه ی اصلی سایت باشد، گوگل این مطالب را تکراری تلقی  می کند و  ممکن است که وبلاگ شما را جریمه کند و از رتبه ی وبلاگ شما کاسته شود.</strong>
</p>
<p dir="rtl"><span style="color: #ff0000;"><strong>نکته:</strong></span><strong style="font-weight: 400;"> اگر شما مایلید که صفحه ی </strong><strong>دسته های (<span lang="en-us">Category</span>)</strong><strong style="font-weight: 400;"> وبلاگ تان نیز با صفحه ی اصلی سایت شما متفاوت باشد، یک فایل بنام </strong> <strong>category.php</strong><strong style="font-weight: 400;"> ساخته و آنرا  آنطور که مایلید تنظیم کنید.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی دوم:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> یک فایل بنام </strong> <strong> <span style="color: #ff0000;"> <span lang="en-us">search.php</span></span></strong><strong style="font-weight: 400;"> بسازید.<span lang="en-us"><br />
</span></strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> هر آنچه که در فایل </strong><strong> <span lang="en-us">archive.php</span></strong><strong style="font-weight: 400;"> وجود دارد را کپی کرده و  درون فایل </strong><strong> <span lang="en-us">search.php</span></strong><strong style="font-weight: 400;"> بچسبانید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> تغییرات را <span lang="en-us">save</span> کنید.</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">با انجام این عمل تمامی </strong> <strong>نتایج  جستجوی وبلاگ</strong><strong style="font-weight: 400;"> نیز بصورت گلچین  نمایش داده خواهید بود.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊ </span></strong><strong>حال شاید این سوال برای شما پیش آید  که اگر فایل <span lang="en-us">search.php</span> یا <span lang="en-us"> archive.php</span> وجود نداشت، صفحه ی جستجوی وبلاگ یا بخش آرشیو وبلاگ چگونه نمایش  داده می شد؟<br />
</strong><strong style="font-weight: 400;">باید در جواب گفت که اگر فایلهای </strong> <strong> <span lang="en-us">search.php</span></strong><strong style="font-weight: 400;"> یا </strong> <strong> <span lang="en-us">archive.php</span></strong><strong style="font-weight: 400;"> وجود نداشته باشند، آنگاه وردپرس بصورت  هوشمندانه نحوه ی نمایش تمامی این صفحات را از فایل </strong> <strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> می گیرد.</strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی سوم:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> دو فایل با نام های </strong> <span style="color: #ff0000;"><strong>page.php</strong></span> و <span style="color: #ff0000;"> <strong>single.php</strong></span><strong style="font-weight: 400;"><span lang="en-us"> </span>بسازید<span lang="en-us">.<br />
</span></strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> تمامی کدهای موجود در فایل </strong><strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> را درون فایلهای </strong><strong> <span lang="en-us">single.php</span></strong><strong style="font-weight: 400;"> و </strong><strong> <span lang="en-us">page.php</span></strong><strong style="font-weight: 400;"> کپی  کنید. (الان باید فایلهای <span lang="en-us">Page </span> و <span lang="en-us">single</span> مانند هم باشند.)<span lang="en-us"><br />
</span></strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> تغییرات را در فایل <span lang="en-us">page</span> و <span lang="en-us"> single</span> ثبت کرده و فایل </strong><strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> و فایل </strong><strong> <span lang="en-us">single.php</span></strong><strong style="font-weight: 400;"> را ببیندید.</strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی چهارم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">فایل </strong> <span style="color: #ff0000;"><strong> <span lang="en-us">page.php</span></strong></span><strong style="font-weight: 400;"> در مورد نحوه ی نمایش برگه های وبلاگ شما وارد عمل می شود. حال برای بهتر شدن آن  مراحل زیر را پی بگیرید.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">۱- در فایل </strong><strong>page.php</strong><strong style="font-weight: 400;"><span lang="en-us"> </span> در زیر کد </strong><strong> <span dir="ltr">&lt;?php the_content(); ?&gt;</span></strong><strong style="font-weight: 400;"><span lang="en-us"> </span> کدهای زیر را تایپ کنید:</strong></p>
<p dir="ltr"><code>&lt;?php link_pages(’&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; ‘, ‘&lt;/p&gt;’, ‘number’); ?&gt;</code><code>&lt;?php edit_post_link(’Edit’, ‘&lt;p&gt;’, ‘&lt;/p&gt;’); ?&gt;</code></p>
<p dir="rtl">2- کدهای <strong>postmetadata</strong><strong style="font-weight: 400;"><span lang="en-us"> </span> از </strong> <strong> <span lang="en-us">page.php</span></strong><strong style="font-weight: 400;"> پاک کنید. چون اطلاعات </strong> <strong> <span lang="en-us"> postmetadata</span></strong><strong style="font-weight: 400;"> در برگه های وردپرس بی معنی هستند.</strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1307" title="page-php" src="http://www.p30help.ir/wp-content/images/2009/08/page-php.gif" alt="page-php" width="399" height="128" /></p>
<p dir="rtl"><strong style="font-weight: 400;">۳- کدهای </strong><strong> <span dir="ltr">posts_nav_link()</span></strong><strong style="font-weight: 400;"><span lang="en-us"> </span>یا </strong><strong>navigation</strong><strong style="font-weight: 400;"><span lang="en-us"> </span>را نیز در فایل </strong><strong> <span lang="en-us">page.php</span></strong><strong style="font-weight: 400;"> پاک کنید.</strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1308" title="remove-navigation" src="http://www.p30help.ir/wp-content/images/2009/08/remove-navigation.gif" alt="remove-navigation" width="385" height="123" /></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊ </span></strong><strong>چه اتفاقی افتاده است؟<br />
</strong><strong style="font-weight: 400;">کد خط اول که تایپ کردیم برای  نمایش تعداد صفحات یک برگه می باشد.</strong>
</p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1309" title="nextpage" src="http://www.p30help.ir/wp-content/images/2009/08/nextpage.gif" alt="nextpage" width="324" height="175" /></p>
<p dir="rtl">که ظاهر آن برای مجزا کردن در حالت <strong>ویرایش وردپرس</strong><span style="color: #333333;"><strong><span lang="en-us"></span></strong></span> به مانند عکس زیر  می باشد:</p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1310" title="add-nextpage" src="http://www.p30help.ir/wp-content/images/2009/08/add-nextpage.gif" alt="add-nextpage" width="290" height="292" /></p>
<p dir="rtl">البته این امکان هنگامی استفاده می شود که شما یک برگه خیلی طولانی  داشته باشید و بخواهید که مطلب مورد نظر خود را در چندین صفحه نشان دهید.</p>
<p dir="rtl">دومین خط تایپ شده به مدیر وبلاگ یک لینک بنام <span style="color: #ff0000;"><strong><span lang="en-us">Edit</span></strong></span> می دهد تا در صورت تمایل بتوانید با کلیک بروی آن  به بخش مدیریت وردپرس رفته و مستقیماً متن مورد نظر خود را ویرایش کند. در حقیقت  این دکمه برای سهولت دسترسی به ویرایش برگه ها می باشد.</p>
<p dir="rtl"><strong style="font-weight: 400;">تغییرات را ثبت کرده و فایل </strong> <strong> <span lang="en-us">page.php</span></strong><strong style="font-weight: 400;"> را ببیندید.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong>مرحله ی پنجم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">اما تنها یک فایل دیگر مانده و آن  هم </strong><strong><span style="color: #ff0000;"> <span lang="en-us">single.php</span></span></strong><strong style="font-weight: 400;"> است. فایل </strong> <strong> <span lang="en-us">single.php</span></strong><strong style="font-weight: 400;"> مربوط به نحوه ی نمایش صفحه ی اصلی مطالب است یعنی زمانی که شما بروی لینک ادامه  مطلب کلیک می کنید و صفحه ی اصلی مطلب گشوده می شود و در آن صفحه قادر هستید که  کامنت نیز بگذارید. (شما الان که در حال خواندن این مطلب هستید دقیقاً درون صفحه ی <span lang="en-us">single.php</span> قرار دارید.)</strong></p>
<p dir="rtl"><strong>۱-</strong> درون فایل <strong> <span lang="en-us">single.php</span></strong> در پایین کد <strong><span dir="ltr">&lt;?php the_content() ?&gt;</span></strong><strong style="font-weight: 400;"> کد زیر را</strong> تایپ کنید:</p>
<p dir="ltr"><code>&lt;?php link_pages(’&lt;p&gt;&lt;strong&gt;Pages:&lt;/strong&gt; ‘, ‘&lt;/p&gt;’,  ‘number’); ?&gt;</code></p>
<p dir="rtl"><strong style="font-weight: 400;">بله ، این کد همان خط از کدهایی برای لینک های </strong> صفحات می باشد. این کد نیز دقیقاً برای صفحه بندی پست ها بکار می رود.</p>
<p dir="rtl"><strong>۲-</strong> در بخش <strong style="font-weight: 400;">postmetadata</strong>،   تابع <strong><span dir="ltr">&lt;?php  comments_popup_link(); ?&gt;</span></strong><strong style="font-weight: 400;"> و همچنین تگ </strong><strong><span dir="ltr">&lt;br /&gt;</span></strong><strong style="font-weight: 400;"> قبل از آن  را پاک کنید. ولی کل بخش <span lang="en-us">postmetadata</span> را پاک نکنید. و دلیل پاک شدن تگ </strong><strong>br</strong><strong style="font-weight: 400;"> نیز این است که یک فاصله ی اضافی را بوجود می آورد که اضافی است.<br />
</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">دلیل اینکه شما تابع تعداد نظرات را  پاک می کنید این است که این تابع در بخش <span lang="en-us">single</span> دیگر کار  نمی کند</strong> بنابراین استفاده ای نخواهد شد، پس بهتر است که در  فایل <strong>single.php</strong> پاک شود.</p>
<p dir="rtl"><strong>۳- </strong>بجای کد <strong>&lt;?php posts_nav_link(); ?&gt;</strong><strong style="font-weight: 400;"> عبارت زیر جایگزین کنید:</strong></p>
<p dir="ltr"><code>&lt;?php previous_post_link(’&amp;laquo; %link’) ?&gt; &lt;?php next_post_link(’  %link &amp;raquo;’) ?&gt;</code></p>
<p dir="rtl"><strong style="font-weight: 400;">در صفحه ی اصلی، صفحه ی آرشیو، صفحه ی دسته ها و صفحه ی جستجو ، شما از تابع </strong> <strong><span dir="ltr">posts_nav_link()</span></strong><strong style="font-weight: 400;"> استفاده می کنید تا لینک های </strong><span style="color: #800000;"><strong>Next page</strong></span> و<strong> <span style="color: #800000;">Previous page</span></strong><strong style="font-weight: 400;"> را صدا بزنید. اما برای صفحه ی </strong><span style="color: #ff0000;"><strong>single </strong></span>چون لینک های  <strong>Next  page</strong> و <strong>Previous page</strong> وجود ندارند. شما از تابع های <span dir="ltr"> <strong>previous_post_link()</strong><strong> </strong>و<strong> </strong></span> <strong><span dir="ltr">next_post_link()</span></strong><strong style="font-weight: 400;"> استفاده کردید تا لینک پست های بعدی و قبلی را صدا بزنید.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">تغییرات را در فایل </strong> <strong> <span lang="en-us">single.php</span></strong><strong style="font-weight: 400;"> ثبت  کنید و آنها را در مروگر مشاهده کنید</strong><strong>.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊</span><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa"> </span> </span></strong><strong>خلاصه درس:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> شما   ۴ فایل</strong> با نام  های  	<strong><a href="../other/wp-learn-theme/20/archive.txt">archive.php</a></strong> و  <strong>search.php</strong> و <strong> <a href="../other/wp-learn-theme/20/page.txt">page.php</a></strong> و 	<strong><a href="../other/wp-learn-theme/20/single.txt">single.php</a></strong> ساختید.<br />
<span style="color: #ff0000;"><strong>»</strong></span> فایلهای  <strong style="font-weight: 400;">archive.php و search.php دقیقاً یکسان  هستند.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> بخش های اضافی را از فایل <span lang="en-us">page.php</span> حذف کردیم.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> بخش های اضافی را از فایل <span lang="en-us">single.php</span> حذف کردیم.</strong></p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-3/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 3)">چگونه برای وردپرس پوسته بسازیم؟(بخش 3)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-2/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 2)">چگونه برای وردپرس پوسته بسازیم؟(بخش 2)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme/" title="چگونه برای وردپرس پوسته بسازیم؟">چگونه برای وردپرس پوسته بسازیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-4b-lesson-5/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 5)">چگونه برای وردپرس پوسته بسازیم؟(بخش 5)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-4/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 4)">چگونه برای وردپرس پوسته بسازیم؟(بخش 4)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-12/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 12)">چگونه برای وردپرس پوسته بسازیم؟(بخش 12)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6e-lesson-10/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 10)">چگونه برای وردپرس پوسته بسازیم؟(بخش 10)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-and-6c-lesson-8-9/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)">چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)</a></li></ul>
				<div>
					<h4>16 comment(s) for this post:</h4><ol>
						  <li><i>Hamed:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/comment-page-1/#comment-1855">2009-Aug-24</a></small>
							سلام آقا مهدي
سايت فوق العاده اي دارين من كه بسيار از مطالب شما استفاده مي كنم.
من قصد راه اندازي يك سايت با وردپرس دارم  و در حال انتخاب پوسته مناسب هستم.سايتي پيدا كردم كه از پوستش خوشم اومد و ميخوام دقيقا سايتي با موضوع اين سايت پياده سازي كنم.لطفا منو راهنمايي كنيد :
آيا بايد خودم از روي پوسته اين سايت با راهنماي شما بشينم قالبو از اول طراحي كنم و يا اينكه ميشه قالبو يه جوري از اين سايت گرفت ؟؟؟

آدرس سايت:  http://wpthemeland.com

باتشكر :)
						  </li>
						  <li><i>امین:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/comment-page-1/#comment-1856">2009-Aug-24</a></small>
							من با همین آموزشها یه قالب نصفه نیمه ساختم که بد هم نشده ...
قالبی که دارم با فایرفاکس خوبه ولی روی IE مشکل داره ...
مشکلو اینجا مطرح کردم ، لینک دانلود قالبو اسکرین شاتا هم هست میتونید ببینید ...
http://forum.wp-persian.com/topic/5185?replies=3

خلاصه HELP ...
						  </li>
						  <li><i>حامد:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/comment-page-1/#comment-1882">2009-Aug-26</a></small>
							آقا یک پست هم راجب نرم افزار Artisteer بزن اگر کرکشم گیر بیاری خیلی عالی میشه
						  </li>
						  <li><i>حامد:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/comment-page-1/#comment-1892">2009-Aug-27</a></small>
							شرمنده من اینقدر سوال میکنم
اگر میشه توضیح بدید که چه طوری میشه بدون افزونه فروشگاه ساز یک فروشگاه ساخت؟؟؟
با تشکر
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/comment-page-1/#comment-1896">2009-Aug-27</a></small>
							حامد جان، والا بعید می دونم که این سایت این پوسته رو به صورت عمومی عرضه کنه...
پیشنهاد می کنم که خودتون این سایت رو طراحی کنید تا هم دستتون گرم بشه هم از پوسته ی خودتت لذت ببری....
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1305">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-make-wordpress-theme-lesson-20/#comments'>11 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-make-wordpress-theme-lesson-20/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>چگونه برای وردپرس پوسته بسازیم؟(بخش ۱۹)</title>
		<link>http://www.p30help.ir/how-make-wordpress-theme-lesson-19/</link>
		<comments>http://www.p30help.ir/how-make-wordpress-theme-lesson-19/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 03:17:37 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[style.css]]></category>
		<category><![CDATA[Template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[xampp]]></category>
		<category><![CDATA[فوتر]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1293</guid>
		<description><![CDATA[درس امروز ما کوتاه خواهد بود و در آن به نحوه ی ایجاد فوتر و مهم تر از آن تقسیم بندی فایل index.php به چندین فایل کوچکتر(برای مدیریت بهتر) خواهیم پرداخت. البته این مجزا کردن باعث نمی شود که فایل index.php اهمیت خود را از دست بدهد....]]></description>
			<content:encoded><![CDATA[<h3 class="entry-title" style="text-align: center;" dir="rtl"><strong>فوتر و تقسیم بندی فایل <span lang="en-us">index</span></strong></h3>
<p class="entry-title" dir="rtl">درس امروز ما کوتاه خواهد بود و در آن به نحوه ی  ایجاد فوتر و مهم تر از آن تقسیم بندی فایل <span lang="en-us">index.php</span> به  چندین فایل کوچکتر(برای مدیریت بهتر) خواهیم پرداخت. البته این مجزا کردن باعث نمی شود که فایل <span lang="en-us">index.php</span> اهمیت خود را از دست بدهد.</p>
<p class="entry-title" style="text-align: center;" dir="rtl"><img class="size-full wp-image-764 aligncenter" title="wp-php-theme" src="http://www.p30help.ir/wp-content/images/wp-php-theme.jpg" alt="wp-php-theme" width="420" height="294" /></p>
<p class="entry-title" dir="rtl">برای شروع درس به ادامه مطلب مراجعه کنید&#8230;.</p>
<p class="entry-title" dir="rtl"><span id="more-1293"></span></p>
<p class="entry-title" dir="rtl">برای شروع کار Xampp<span lang="en-us">,</span> Firefox, index.php, style.css را باز کنید.</p>
<p class="entry-title" dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"> <span lang="fa">• </span></span>مرحله اول:</strong></p>
<p class="entry-title" dir="rtl"><strong>۱۰ پیکسل فاصله</strong> (<strong><span lang="en-us">padding</span></strong>)  از بالا به <strong>باکس مخفی </strong> <strong>footer</strong> بدهید. بعد از این همه  درس باید  اینکار را خودتان بتوانید انجام  دهید. بنابراین کد را به شما نمی دهم، خود شما باید  اینکار ساده را انجام دهید.</p>
<p class="entry-title" dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"> <span lang="fa">• </span></span>مرحله دوم:</strong></p>
<p class="entry-title" dir="rtl">به تمام تگهای <span lang="en-us">P </span>داخل  باکس مخفی footer یک  <strong>ارتفاع خط  (<span lang="en-us">line-height</span>)</strong> <strong><span style="color: #ff0000;">هجده</span></strong> <strong>پیکسلی</strong> بدهید. به شما یک <strong>کمک</strong> می کنم، سلکتور مورد نظر برای تگهای پاراگراف درون div فوتر  <strong> <span dir="ltr">#footer p{}</span></strong><strong style="font-weight: 400;"> می باشد. (شما امروز خودتان  باید این ارتفاع خط را به این سلکتور بدهید.)</strong></p>
<p class="entry-title" dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"> <span lang="fa">• </span></span></strong><strong>مرحله سوم:</strong></p>
<p class="entry-title" dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong><span lang="en-us"> </span></strong><strong style="font-weight: 400;">یک فایل جدید بنام </strong> <span style="color: #ff0000;"><strong> <span lang="en-us">header.php</span></strong></span><strong style="font-weight: 400;"> بسازید. مطمئن  شوید که نوع یا پسوند فایل</strong><strong> <span lang="en-us">php</span></strong><strong style="font-weight: 400;"> باشد نه یک فایل <span lang="en-us">Document</span> معمولی.</strong></p>
<p class="entry-title" dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"><span lang="en-us"> </span>درون فایل </strong><strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> ، از </strong><strong>تگ پایانی  باکس مخفی <span lang="en-us">header</span></strong><strong style="font-weight: 400;"> شروع کنید به انتخاب کردن و تا هر  آنچه که در بالای آن قرار دارد را <span lang="en-us">select</span> کنید.  بعد از انتخاب کردن تمامی خطوط، آنها را </strong> <strong> <span lang="en-us">cut</span></strong><strong style="font-weight: 400;"> کرده و درون  فایل </strong><strong> <span lang="en-us">header.php</span></strong><strong style="font-weight: 400;"> بچسبانید یا همان </strong> <strong> <span lang="en-us">paste</span></strong><strong style="font-weight: 400;"> کنید.</strong></p>
<p class="entry-title" dir="rtl" align="center"><img class="alignnone size-full wp-image-1294" title="create-headerphp1" src="http://www.p30help.ir/wp-content/images/2009/08/create-headerphp1.gif" alt="create-headerphp1" width="136" height="92" /></p>
<p class="entry-title" dir="rtl" align="center"><img class="alignnone size-full wp-image-1296" title="copy-header1" src="http://www.p30help.ir/wp-content/images/2009/08/copy-header1.gif" alt="copy-header1" width="262" height="244" /></p>
<p class="entry-title" dir="rtl"><strong style="font-weight: 400;">حال می توانید  فایل </strong> <strong> <a href="../other/wp-learn-theme/19/header-lesson-19.txt">header.php</a></strong> من را برای فهم بیشتر دانلود کنید.</p>
<p class="entry-title" dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"> <span lang="fa">• </span></span>مرحله چهارم:</strong></p>
<p class="entry-title" dir="rtl">شما باید به فایل <strong> <span lang="en-us"> Index.php</span></strong> بفهمانید که  از این به بعد باید کدهای قبلی (کدهای مربوط به هدر)  را از داخل فایل <strong><span lang="en-us">header.php</span></strong> بخواند. برای اینکار خط زیر را  در ابتدای فایل <strong> <span lang="en-us">index.php</span></strong> در عوض کدهای قبلی بنویسید:</p>
<p style="text-align: left;" dir="ltr"><code>&lt;?php get_header(); ?&gt;</code></p>
<p align="center"><img class="alignnone size-full wp-image-1297" title="get-header" src="http://www.p30help.ir/wp-content/images/2009/08/get-header.gif" alt="get-header" width="298" height="203" /></p>
<p dir="rtl"><strong style="font-weight: 400;">کد بالا یک تابع داخل سیستم وردپرس  است که به طور ویژه  کدهای داخل فایل </strong><strong> <span lang="en-us">header.php</span></strong><strong style="font-weight: 400;"> را درون فایل </strong><strong><span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> می خواند. در  حقیقت کد بالا کد طولانی </strong> <strong> <span dir="ltr">&lt;?php include  (TEMPLATEPATH . ‘/header.php’); ?&gt;</span></strong><strong style="font-weight: 400;"> را برای شما خلاصه می کند.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">تغییرات را <span lang="en-us">save </span>کرده و مرورگر خود را <span lang="en-us">refresh</span> کنید. شما نباید  هیچ تغییری را  مشاهده کنید. اگر پوسته ی شما شکسته  به نظر برسد یا ایرادی داشته باشد  در هنگام انتقال کدها حتماً شما  اشتباهی انجام داده اید.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">•</span></span></strong><strong> مرحله ی  پنجم:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> مرحله ی پنجم نیز تقریباً مانند مراحل قبل است، منتها اینبار برای فایل </strong> <span style="color: #ff0000;"><strong>sidebar.php</strong></span><strong style="font-weight: 400;"> انجام خواهیم داد.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> از </strong><strong>شروع باکس مخفی <span lang="en-us">sidebar</span></strong><strong style="font-weight: 400;"> تا پایان آن باکس، کدها را  انتخاب، </strong><strong> <span lang="en-us">cut</span></strong><strong style="font-weight: 400;"> و درون فایل </strong> <strong> <span lang="en-us">sidebar.php</span></strong><strong style="font-weight: 400;"> بچسبانید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> سپس، در داخل فایل </strong> <strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> بجای کدهای برداشته شده کد </strong> <strong> <span dir="ltr">&lt;?php get_sidebar(); ?&gt;</span></strong> را تایپ کنید.<br />
<span style="color: #ff0000;"><strong>»</strong></span> تغییرات را <strong> <span lang="en-us">save</span></strong> کرده و مرورگرتان را <span lang="en-us"> refresh</span> کنید. دوباره شما نباید تغییری را مشاهده کنید.<br />
<span style="color: #ff0000;"><strong>»</strong></span> الان فایل <strong> <a href="../other/wp-learn-theme/19/sidebar-lesson-19.txt">sidebar.php</a></strong> من را می توانید برای فهم بیشتر دانلود کنید.
</p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1298" title="get-sidebar" src="http://www.p30help.ir/wp-content/images/2009/08/get-sidebar.gif" alt="get-sidebar" width="227" height="229" /></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span>مرحله ی ششم:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span> همین مراحل بالا را برای فایل <span style="color: #ff0000;"><strong> <span lang="en-us">footer.php</span></strong></span> نیز انجام دهید.<br />
<span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> در داخل فایل </strong> <strong> <span lang="en-us">index.php</span></strong><strong style="font-weight: 400;"> بجای کدهای برداشته شده کد </strong> <strong> <span dir="ltr">&lt;?php get_<span lang="en-us">footer</span>(); ?&gt;</span></strong> را تایپ کنید.<br />
<span style="color: #ff0000;"><strong>»</strong></span> فایل <strong> <a href="../other/wp-learn-theme/19/footer-lesson-19.txt"> footer.php</a></strong> من را می توانید برای فهم بیشتر دانلود کنید.
</p>
<p style="text-align: center;" dir="rtl"><img class="alignnone size-full wp-image-1300" title="get-footer" src="http://www.p30help.ir/wp-content/images/2009/08/get-footer.gif" alt="get-footer" width="180" height="131" /></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊<span lang="en-us"> </span> </span>بررسی کردن مراحل:</strong></p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span> شما ۳ فایل جدید  با نام های <strong>header.php</strong> و  <strong> sidebar.php</strong> و <strong>footer.php</strong><strong style="font-weight: 400;"> بوجود آوردید.<br />
</strong><span style="color: #ff0000;"><strong>»</strong></span><strong style="font-weight: 400;"> شما با ۳ تابع جدید آشنا شدید. تابع های </strong> <strong> <span dir="ltr">get_header()</span></strong> و <span dir="ltr"> <strong>get_sidebar()</strong></span> و <span dir="ltr"><strong>get_footer()</strong></span>.<br />
<span style="color: #ff0000;"><strong>»</strong></span> شما در پایان این درس می توانید به فایلهای من نگاهی  بیاندازید:  <strong> <a href="../other/wp-learn-theme/19/index-lesson-19.txt">index</a></strong>, <strong> <a href="../other/wp-learn-theme/19/style-lesson-19.txt">style</a></strong>, <strong> <a href="../other/wp-learn-theme/19/header-lesson-19.txt">header</a></strong>, <strong> <a href="../other/wp-learn-theme/19/sidebar-lesson-19.txt">sidebar</a></strong>, <strong> <a href="../other/wp-learn-theme/19/footer-lesson-19.txt">footer</a></strong> . تا اگر به ایرادی برخوردید از آنها کمک بگیرید.
</p>
<p dir="rtl">درس امروز کوتاه بود، چیزی به پایان دروس نمانده است&#8230; صبور باشید&#8230;&#8230;.</p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-4/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 4)">چگونه برای وردپرس پوسته بسازیم؟(بخش 4)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-3/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 3)">چگونه برای وردپرس پوسته بسازیم؟(بخش 3)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-2/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 2)">چگونه برای وردپرس پوسته بسازیم؟(بخش 2)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme/" title="چگونه برای وردپرس پوسته بسازیم؟">چگونه برای وردپرس پوسته بسازیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-6/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 6)">چگونه برای وردپرس پوسته بسازیم؟(بخش 6)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-4b-lesson-5/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 5)">چگونه برای وردپرس پوسته بسازیم؟(بخش 5)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 20)">چگونه برای وردپرس پوسته بسازیم؟(بخش 20)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 18)">چگونه برای وردپرس پوسته بسازیم؟(بخش 18)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-15/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 15)">چگونه برای وردپرس پوسته بسازیم؟(بخش 15)</a></li></ul>
				<div>
					<h4>14 comment(s) for this post:</h4><ol>
						  <li><i>محسن:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/comment-page-1/#comment-1656">2009-Aug-12</a></small>
							آموزش های بسیار فوق العاده ای است. تشکرات فراوان!
						  </li>
						  <li><i>admin:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/comment-page-1/#comment-1669">2009-Aug-13</a></small>
							با سلام جالب و آموزنده بود . 

خوشحال میشم با شما تبادل لینک داشته باشم 
موفق باشید
						  </li>
						  <li><i>ali:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/comment-page-1/#comment-1676">2009-Aug-14</a></small>
							عزیز آموزشهات عالیه.
ولی یه ندایی بده ببینیم این آموزشها به این زودی تموم میشه یا قسمت نوه و نتیجه هامون میشه؟
						  </li>
						  <li><i>امین:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/comment-page-1/#comment-1713">2009-Aug-18</a></small>
							ممنون بابت زحمتی که میکشی...
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/comment-page-1/#comment-1732">2009-Aug-20</a></small>
							دیگه آبمون نکن علی جون
قول می دم که حداکثر تلاشم رو بکنم که بزودی تمام بشه ولی چه کنم که الان یه مشکلی دارم که تمام وقتمو گرفته....
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1293">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-make-wordpress-theme-lesson-19/#comments'>9 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-make-wordpress-theme-lesson-19/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>چگونه برای وردپرس پوسته بسازیم؟(بخش ۱۸)</title>
		<link>http://www.p30help.ir/how-make-wordpress-theme-lesson-18/</link>
		<comments>http://www.p30help.ir/how-make-wordpress-theme-lesson-18/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 21:46:35 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[style.css]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[ابزارک]]></category>
		<category><![CDATA[سایدبار]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1279</guid>
		<description><![CDATA[کم کم در حال رسیدن به جلسات پایانی هستیم. در این درس به شما خواهیم آموخت که چگونه به سایدبار قالب خود ویژگی ببخشید و آنرا صفحه آرایی کنید. صفحه آرایی سایدبار شامل بخش های است. از همین جهت ما در این جلسه تنها می توانیم بخش های اصلی را به شما معرفی کنیم و شما برای مطالعه ی جزئیات باید خود تحقق و تفحص کنید...]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;" dir="rtl"><span lang="fa"><span style="font-size: large;">صفحه آرایی با سایدبار</span></span></p>
<p dir="rtl"><span lang="fa">کم کم در حال رسیدن به جلسات پایانی هستیم. در این  درس به شما خواهیم آموخت که چگونه به سایدبار قالب خود ویژگی ببخشید و آنرا صفحه  آرایی کنید. صفحه آرایی سایدبار شامل بخش های است. از همین جهت ما در این جلسه تنها  می توانیم بخش های اصلی را به شما معرفی کنیم و شما برای مطالعه ی جزئیات باید خود  تحقق و تفحص کنید&#8230;</span></p>
<p style="text-align: center;" dir="rtl"><img class="size-full wp-image-764 aligncenter" title="wp-php-theme" src="http://www.p30help.ir/wp-content/images/wp-php-theme.jpg" alt="wp-php-theme" width="420" height="294" /></p>
<p dir="rtl"><span lang="fa">برای شروع درس و اینکه چگونه سایدبار را صفحه آرایی  کنیم به ادامه مطلب بروید&#8230;</span></p>
<p dir="rtl"><span lang="fa"><span id="more-1279"></span></span></p>
<p dir="rtl"><span lang="fa">مثل همیشه شما بایستی </span>index.php<span lang="fa"> ، فایل </span>style.css<span lang="fa">، مرورگر فایرفاکس، فولدر پوسته ی مورد نظر  و در آخر تنظیمات برنامه ی </span>Xampp <span lang="fa"> را باز کنید</span>.</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span><span lang="fa">مرحله ی اول :</span></strong></p>
<p dir="rtl"><span lang="fa">کدهای زیر را در پایین </span><strong> <span dir="ltr">.sidebar{}</span></strong><strong style="font-weight: 400;"><span lang="fa"> تایپ کنید</span></strong></p>
<p dir="ltr"><code>.sidebar ul{<br />
list-style-type: none;<br />
margin: 0;<br />
padding: 0 10px 0 10px;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">حال شما  با این کد ها تگ های </span> </strong>ul <span lang="fa">ای که درون سایدبار  هستند را صفحه آرایی کرده اید و به آنها ویژگی بخشیده اید. تمامی تگ  های </span>ul<span lang="fa"> و همچنین </span>ul<span lang="fa"> های تو در تو،  ویژگی های مورد نظر را به ارث  خواهند برد.</span></p>
<p dir="rtl"><strong><span lang="fa">برای مثال :</span></strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1280" title="inheritance" src="http://www.p30help.ir/wp-content/images/2009/07/inheritance.gif" alt="inheritance" width="205" height="134" /></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">همانگونه که مشاهده  می کنید، </span>ul<span lang="fa"> های دوم که با رنگ آبی مشخص شده اند با وجود  اینکه در زیر مجموعه ی </span>ul<span lang="fa"> اصلی قرار دارند، باز هم ویژگی  های </span>ul<span lang="fa"> اول را به ارث می برند. برای مثال اگر شما حاشیه ای  را برای </span>ul<span lang="fa"> اول بدهید، همین حاشیه برای </span>ul<span lang="fa"> دوم  نیز داده خواهد شد</span>.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">تغییرات را ثبت کرده و</span> <span lang="fa">مرورگرتان را </span>refresh<span lang="fa"> کنید تا تغییرات را مشاهده کنید.</span></strong></p>
<p dir="rtl"><span lang="fa">توجه کنید که چطور  <strong>۱۰ پیکسل </strong> </span><strong>padding</strong><span lang="fa"> به بالا و پایین  سایدبار شما اضافه شده است.  (عکس زیر) </span></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1281" title="no-top-padding" src="http://www.p30help.ir/wp-content/images/2009/07/no-top-padding.gif" alt="no-top-padding" width="260" height="170" /></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span><span lang="fa">مرحله ی دوم :</span></strong></p>
<p dir="rtl"><span lang="fa">کدهای زیر را پایین کدهای </span><strong> <span dir="ltr">.sidebar  ul{}</span></strong><strong style="font-weight: 400;"><span lang="fa"> تایپ کنید.</span></strong></p>
<p dir="ltr"><code>.sidebar ul li{<br />
padding: 10px 0 10px 0;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">با این کد مشاهده خواهید  کرد که بین هر ابزارک یا ویجیت  درون سایدبار فاصله ای ۱۰ پیکسلی از بالا و پایین ایجاد  می گردد. (عکس زیر را با عکس بالایی مقایسه کنید)</span></strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1282" title="top-padding" src="http://www.p30help.ir/wp-content/images/2009/07/top-padding.gif" alt="top-padding" width="260" height="170" /></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊<span lang="fa"> </span> </span></strong><strong><span lang="fa">چرا  این ۱۰ پیکسل فاصله  را به تگ </span>ul</strong><span lang="fa"><strong> در مکان اول اضافه نکردیم؟<br />
</strong><strong style="font-weight: 400;">دلیل اینکار این بود که ما می خواهیم که بین اجزا یا ابزارک های داخل سایدبار فاصله  ایجاد کنیم، برای مثال می خواهیم بین فرم جستجو و تقویم فاصله ای وجود داشته باشد  یا بین تقویم و برگه ها فاصله ی مشخصی وجود داشته باشد. که در این صورت بایستی به  تگ </strong> </span><strong>li</strong><strong style="font-weight: 400;"><span lang="fa"> درون </span></strong> <strong>ul</strong><strong style="font-weight: 400;"><span lang="fa"> سایدبار ویژگی بخشید.  حال شما با فاصله ای (</span>padding<span lang="fa">) که به سایدبار داده اید بین  اجزای داخل سایدبار فاصله ای ۱۰ پیکسلی  ایجاد کرده اید.</span></strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong><span lang="fa"> مرحله ی سوم :</span></strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">خط های زیر را در  پایین کد های </span> </strong><span dir="ltr"><strong> </strong><strong style="direction: ltr;">.sidebar ul li{}</strong></span><span lang="fa"> تایپ کنید:</span></p>
<p dir="ltr"><code>.sidebar ul li h2{<br />
font-family: Georgia, Sans-serif;<br />
font-size: 14px;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">بیاد بیاورید که  چگونه </span></strong><strong>sub-heading</strong><span lang="fa"> های زیر مجموعه ی </span> <span dir="ltr"> <strong>post{}</strong></span><strong style="font-weight: 400;"><span lang="fa"> را صفحه آرایی کردیم</span></strong><span lang="fa">.  در حقیقت شما با سلکتور </span> <strong>ul li h2</strong><span lang="fa"> عنوان اصلی هر ابزارک را  صفحه بندی می کنید.</span></p>
<p dir="rtl"><span lang="fa">حالا شما می توانید ویژگی های داده شده به عنوان هر  ابزارک را مشاهده کنید.</span></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1283" title="h2-and-unnecessary-padding" src="http://www.p30help.ir/wp-content/images/2009/07/h2-and-unnecessary-padding.gif" alt="h2-and-unnecessary-padding" width="254" height="414" /></p>
<p dir="rtl"><span lang="fa">برای اینکه مدیریت بخش برگه ها حرفه ای تر باشد من  خود علاوه بر برگه ی  <span style="color: #ff0000;"><strong>درباره</strong></span> یکسری برگه ی دیگر بصورت های مختلف (بصورت تو در تو و  معمولی) از طریق مدیریت بخش وردپرس ایجاد کرده ام. اگر دقت کرده باشید فاصله ی هر  کدام از برگه ها با دیگری حدود ۱۰ پیکسل است که کمی نازیبا بوده و بخش سایدبار ما  را زشت می کند.</span></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊<span lang="fa"> </span> </span></strong><span lang="fa"><strong>دلیل این فاصله بین هر کدام از برگه ها چیست؟<br />
</strong>چون شما به </span><strong> <span dir="ltr">.sidebar ul li{}</span></strong><strong style="font-weight: 400;"><span lang="fa"> مقداری </span></strong><strong>padding</strong><strong style="font-weight: 400;"><span lang="fa"> داده اید. بنابراین </span></strong> <strong>li</strong><strong style="font-weight: 400;"><span lang="fa"> های سطوح زیر دست نیز بر اساس قانون وراثت از این فاصله (</span></strong><strong>padding</strong><strong style="font-weight: 400;"><span lang="fa">)  ویژگی به ارث می برند. برای حل این مشکل مرحله ی چهارم را بخوانید.</span></strong>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong><span lang="fa">مرحله ی چهارم :</span></strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">کد زیر را زیر کدهای بخش </span> </strong><strong><span dir="ltr">.sidebar ul li h2{}</span></strong><span lang="fa"> تایپ  کنید</span>:</p>
<p dir="ltr"><code>.sidebar ul ul li{<br />
padding: 0;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa"> با سلکتور </span></strong> <strong><span dir="ltr">.sidebar ul ul  li{}</span></strong><strong style="font-weight: 400;"><span lang="fa"> و مقدار  فاصله ی (</span></strong><strong>padding</strong><strong style="font-weight: 400;"><span lang="fa">) </span></strong> <span style="color: #ff0000;"><strong>صفر</strong></span><strong style="font-weight: 400;">، </strong> <strong style="font-weight: 400;">li<span lang="fa"> های زیر دست ویژگی فاصله ی ۱۰ پیسکلی را از دست داده و  به همان حالت اول باز می گردند.</span></strong></p>
<p dir="rtl"><strong><span lang="fa">نتیجه این هست:</span></strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1284" title="ul-ul-li" src="http://www.p30help.ir/wp-content/images/2009/07/ul-ul-li.gif" alt="ul-ul-li" width="252" height="218" /></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa"> کد </span></strong><strong> <span dir="ltr">line-height: 24px</span></strong><strong style="font-weight: 400;"><span lang="fa"> را نیز به </span></strong><strong><span dir="ltr">.sidebar  ul ul li{}</span></strong><strong style="font-weight: 400;"><span lang="fa"> اضافه کنید:</span></strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1285" title="line-height" src="http://www.p30help.ir/wp-content/images/2009/07/line-height.gif" alt="line-height" width="190" height="74" /></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">اگر با انجام  اینکار شما  در اینترنت اکسپلورر، فضای اضافی را در زیر فرم جستجو  پیدا کرده اید، عبارت </span></strong> <strong>form</strong><strong style="font-weight: 400;"> <span lang="fa">را به سلکتور های زیر در </span>style.css<span lang="fa"> اضافه کنید  تا این مشکل برطرف شود:</span></strong></p>
<p dir="ltr"><code>body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p{<br />
margin: 0;<br />
padding: 0;<br />
}</code>
</p>
<p dir="rtl"><span lang="fa">باید کد شما شبیه به این شده باشد:</span></p>
<p dir="ltr"><code>body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p<strong style="font-weight: 400;">, </strong><strong> form</strong>{<br />
margin: 0;<br />
padding: 0;<br />
}</code>
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span> </span></strong><strong><span lang="fa">مرحله ی پنجم  (مرحله ی اختیاری) :</span></strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">این مرحله تنها  برای افزایش زیبایی سایدبار و بویژه بخش تقویم می باشد. با انجام این مرحله تقویم  شما کشیده شده و تمام بخش سایدبار را پوشش می دهد و از این نظر سایدبار شما را  زیباتر می کند. الان شکل تقویم شما به صورت زیر است، همانطور که می بینید فضای خالی  زیادی در سمت راست تقویم وجود دارد که از آن استفاده نشده است.</span></strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1286" title="calendar1" src="http://www.p30help.ir/wp-content/images/2009/07/calendar1.gif" alt="calendar1" width="251" height="186" /></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">برای  صفحه آرایی تقویم باید ابتدا تگ مربوط به آن، مکان قرار گیری آن و نام </span> </strong><strong>id</strong><strong style="font-weight: 400;"><span lang="fa"> آن را پیدا کرد. برای انجام  اینکار در مرورگر فایرفاکس به تب </span></strong> <strong>View</strong><strong style="font-weight: 400;"> <span lang="fa">رفته و سپس</span> </strong> <strong>Page Source</strong><strong style="font-weight: 400;"> <span lang="fa">را انتخاب می کنیم. کدهای مروبط به سایدبار  در بخش پایین کدهای سورس هستند، بنابراین اسکرول را به پایین  کشیده تا به کدهای زیر برسید:</span></strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1287" title="caledar-id" src="http://www.p30help.ir/wp-content/images/2009/07/caledar-id.gif" alt="caledar-id" width="287" height="101" /></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">حالا شما می دانید که تقویم در تگ </span></strong><strong>Table</strong><strong style="font-weight: 400;"><span lang="fa"> با  مشخصه ی </span></strong><strong>id</strong><strong style="font-weight: 400;"><span lang="fa"> که مقدار آن </span></strong> <strong>wp-calendar</strong><strong style="font-weight: 400;"><span lang="fa"> است، قرار دارد.</span></strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #ff0000;">◊<span lang="fa"> </span></span></strong><strong><span lang="fa">اما سوال این است که چطور </span>wp-calendar<span lang="fa"> را داخل فایل </span>style.css<span lang="fa"> هدف گیری کنیم؟</span></strong></p>
<p dir="rtl"><strong><span lang="fa"> جواب </span><em><span dir="ltr">table#wp-calendar{}</span></em></strong><span lang="fa"><strong> هست.  اما چرا؟<br />
</strong><strong style="font-weight: 400;">قبلاً به شما نحوه ی هدف گیری </strong> <strong>باکس مخفی (</strong></span><strong>div</strong><span lang="fa"><strong>)</strong><strong style="font-weight: 400;"> که با مشخصه ی </strong> </span><strong>id</strong><strong style="font-weight: 400;"> <span lang="fa"> نام گذاری شده بود را آموزش داده بودیم (باید یک  علامت </span>#<span lang="fa"> را در ابتدای نام آن قرار می دادیم). در این مورد  شما فقط بجای </span></strong> <strong>div</strong><strong style="font-weight: 400;"><span lang="fa"> یک </span></strong> <strong>table</strong><strong style="font-weight: 400;"><span lang="fa"> دارید با  مشخصه ی </span></strong><strong>id</strong><strong style="font-weight: 400;"><span lang="fa"> پس بصورت </span></strong><strong> <span dir="ltr">table#wp-calendar</span></strong><strong style="font-weight: 400;"><span lang="fa"> آنرا هدفگیری می کنیم.</span></strong>
</p>
<p dir="rtl"><span lang="fa">چون </span><strong><span dir="ltr">#wp-calendar{}</span></strong><span lang="fa"> منحصر به فرد است بنابراین این سلکتور برای سایر تگها استفاده نخواهد شد. اما اگر  شما می خواهید که این مقدار را باز هم منحصر به فرد تر کنید می توانید از سلکتور </span><strong> <span dir="ltr">.sidebar ul li  table#wp-calendar{}</span></strong><strong style="font-weight: 400;"><span lang="fa"> استفاده کنید.</span></strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">اما  سوال اصلی اینجاست که چگونه این کشش را ایجاد کنیم تا تمامی فضای سایدبار پر شود. برای  اینکار از کد </span></strong> <strong>width: 100%</strong><strong style="font-weight: 400;"><span lang="fa"> کمک می گیریم. به همین سادگی&#8230;.</span></strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span lang="fa">پس کدهای زیر را در  پایین کدهای </span></strong> <strong><span dir="ltr">.sidebar ul ul li{}</span></strong><span lang="fa"> تایپ کنید:</span></p>
<p dir="ltr"><code>table#wp-calendar{<br />
width: 100%;<br />
}</code>
</p>
<p dir="rtl"><span lang="fa">تغییرات را ثبت و مشاهده کنید&#8230;</span></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1288" title="calendar-width" src="http://www.p30help.ir/wp-content/images/2009/07/calendar-width.gif" alt="calendar-width" width="250" height="176" /></p>
<p dir="rtl"><span style="color: #ff0000;"> <strong>»<span lang="fa"> </span></strong></span> <span dir="ltr"><strong><span lang="fa"> </span></strong><strong>width: 100%;</strong></span><span style="color: #ff0000;"><span lang="fa">-</span></span> <span lang="fa">این کد در  مورد پهنای بخش های مختلف مورد استفاده قرار گرفته می شود و در اینجا شما مقدار آن  را ۱۰۰% گذاشته اید که در این صورت تمامی فضای سایدبار توسط این مقدار پر خواهد شد.  البته بجای ۱۰۰% شما می توانید به آن پیکسل نیز بدهید مثلاً ۲۰۰ پیکسل.</span></p>
<p dir="rtl"><span lang="fa">فکر کنم که از حالت قبلی بهتر به نظر برسد. ظاهر  سایدبار را کمی بهتر کرده ایم ولی هنوز کمی کار دارد که در جلسات آینده به آن  خواهیم پرداخت&#8230;.</span></p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-13/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 13)">چگونه برای وردپرس پوسته بسازیم؟(بخش 13)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-12/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 12)">چگونه برای وردپرس پوسته بسازیم؟(بخش 12)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-15/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 15)">چگونه برای وردپرس پوسته بسازیم؟(بخش 15)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-14/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 14)">چگونه برای وردپرس پوسته بسازیم؟(بخش 14)</a></li><li><a href="http://www.p30help.ir/mahan-theme-for-wordpress/" title="قالب ماهان برای وردپرس">قالب ماهان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-11/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 11)">چگونه برای وردپرس پوسته بسازیم؟(بخش 11)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-2/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 2)">چگونه برای وردپرس پوسته بسازیم؟(بخش 2)</a></li><li><a href="http://www.p30help.ir/how-to-translate-wordpress-theme/" title="چگونه پوسته های وردپرس را فارسی کنیم؟">چگونه پوسته های وردپرس را فارسی کنیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li></ul>
				<div>
					<h4>7 comment(s) for this post:</h4><ol>
						  <li><i>آرمان:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/comment-page-1/#comment-1708">2009-Aug-18</a></small>
							نمیشه این آموزش هارو سریعتر کنید؟! خسته شدم دیگه! زیادی طولانی و خلاصه هستن
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/comment-page-1/#comment-1730">2009-Aug-20</a></small>
							آرمان جان من هم دقیقا می خوام همین کارو بکنم ولی چه کنم که یه مشکلی برام پیش اومده که واقعاً خودم رو هم کلافه کرده و من رو از سایر کارها غافل کرده ..... ولی حداکثر تلاشم رو می کنم...
						  </li>
						  <li><i>چگونه پوسته های وردپرس را فارسی کنیم؟ | سیاره واسا:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/comment-page-1/#comment-2363">2009-Sep-28</a></small>
							[...] چگونه برای وردپرس پوسته بسازیم؟(بخش ۱۸) [...]
						  </li>
						  <li><i>بزرگترين پرتال ايرانيان &raquo; آرشیو وبلاگ &raquo; قالب شایان برای وردپرس:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/comment-page-1/#comment-2580">2009-Oct-10</a></small>
							[...] چگونه برای وردپرس پوسته بسازیم؟(بخش ۱۸) [...]
						  </li>
						  <li><i>بزرگترين پرتال ايرانيان &raquo; آرشیو وبلاگ &raquo; چگونه پوسته های وردپرس را فارسی کنیم؟:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/comment-page-1/#comment-2590">2009-Oct-10</a></small>
							[...] چگونه برای وردپرس پوسته بسازیم؟(بخش ۱۸) [...]
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1279">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-make-wordpress-theme-lesson-18/#comments'>2 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-make-wordpress-theme-lesson-18/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>چگونه برای وردپرس پوسته بسازیم؟(بخش ۱۷)</title>
		<link>http://www.p30help.ir/how-make-wordpress-theme-lesson-17/</link>
		<comments>http://www.p30help.ir/how-make-wordpress-theme-lesson-17/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:34:58 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[Css]]></category>
		<category><![CDATA[اخبار سايت]]></category>
		<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[index.php]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[style.css]]></category>
		<category><![CDATA[Width]]></category>
		<category><![CDATA[xampp]]></category>
		<category><![CDATA[استایل]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1261</guid>
		<description><![CDATA[همانطور که از عنوان درس مشخص هست در این درس قرار است که پست ها یا مطالب پوسته را قالب بندی کنیم.
برای شروع رسمی درس به ادامه مطلب مراجعه کنید... ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;" dir="rtl"><span style="font-size: large;">قالب بندی پست ها و حواشی آن</span></p>
<p dir="rtl">نمی دانم که در این شرایط کشور، نوشتن یک پست آی تی جایز هست یا خیر &#8230;. به هر حال بعد از یک دقیقه سکوت بخاطر حوادث ناگوار اخیر درس را شروع می کنیم.</p>
<p style="text-align: center;" dir="rtl"><img class="size-full wp-image-764 aligncenter" title="wp-php-theme" src="http://www.p30help.ir/wp-content/images/wp-php-theme.jpg" alt="wp-php-theme" width="420" height="294" /></p>
<p dir="rtl">
<p dir="rtl">همانطور که از عنوان درس مشخص هست در این درس قرار است که پست ها یا مطالب پوسته را قالب بندی کنیم.<br />
برای شروع رسمی درس به ادامه مطلب مراجعه کنید&#8230;
</p>
<p dir="rtl"><span id="more-1261"></span></p>
<p dir="rtl">در این درس شما به فایل <strong><span lang="en-us">index.php</span></strong> نیازی ندارید.<br />
موارد <strong style="font-weight: 400;">Xampp Control</strong>, <strong style="font-weight: 400;">فولدر پوسته</strong>, <strong style="font-weight: 400;">Firefox</strong>, و <strong style="font-weight: 400;">style.css</strong> را باز کنید.
</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span></span></strong><strong>مرحله ی اول:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">فایل <span lang="en-us">style.css</span> را باز کنید و در بالای کد </strong><strong><span dir="ltr">body{}</span></strong> کد های زیر را وارد کنید:</p>
<p style="text-align: left;"><code>body, h1, h2, h3, h4, h5, h6, blockquote, p{<br />
margin: 0;<br />
padding: 0;<br />
}</code></p>
<p dir="rtl"><strong style="font-weight: 400;"><span style="font-family: Times New Roman; color: #ff0000;">•</span><span lang="en-us"> </span>توجه کنید که عبارت </strong><strong><span dir="ltr">margin: 0;</span></strong><strong style="font-weight: 400;"> دقیقاً همان عبارت </strong><strong><span dir="ltr">margin: 0 0 0 0;</span></strong><strong style="font-weight: 400;"> است. در حقیقت وقتی که تمامی مقادیر یکسان باشند، شما می توانید برای خلاصه نویسی از یک شماره استفاده کنید که این یک شماره برای تمامی حالت ها استفاده می شود. همین کار را برای </strong><strong><span lang="en-us">padding</span></strong><strong style="font-weight: 400;"> هم استفاده کردیم.<br />
<span style="font-family: Times New Roman; color: #ff0000;">•</span> فایل را <span lang="en-us">save </span>کرده و تغییرات را در مرورگر مورد نظر نگاه کنید.</strong>
</p>
<p dir="rtl"><strong><span style="color: #ff00ff;">نکته:</span></strong> من به شما گفتم که کد مورد نظر را بالا یا پایین کدهای دیگر قرار دهید. اما بدانید که این ها همگی اختیاری هستند. شما می توانید کدها را در هر کجا تایپ کنید و یا قرار دهید، این کار را تنها برای سازماندهی و مدیریت بهتر کدها به شما گفتم.</p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span></span>مرحله ی دوم :</strong></p>
<p dir="rtl">حال زمان آن رسیده که <strong>عنوان پست ها (<span lang="en-us">H1</span>)</strong> را استایل دهیم، پس کدهای زیر را در پایین <strong><span dir="ltr">body{}</span></strong><strong style="font-weight: 400;"><span lang="en-us"> </span>تاپپ کنید<span lang="en-us">:</span></strong></p>
<p style="text-align: left;"><code>h1{<br />
font-family: Georgia, Sans-serif;<br />
font-size: 24px;<br />
padding: 0 0 10px 0;<br />
}</code>
</p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong><span lang="en-us"> </span><span dir="ltr">font-family: Georgia, Sans-serif;</span></strong><strong> <span style="color: #ff0000;">-</span></strong> این کد عنوان پست ها را از فونت <span lang="en-us">Arial</span> به <span lang="en-us">Georgia</span> تغییر می دهد. و در صورت نبود فونت <span lang="en-us">Georgia</span>، از فونت <span lang="en-us">Sans serif</span> استفاده می کند.</p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong> </strong><strong><span dir="ltr">font-size: 24px;</span> <span style="color: #ff0000;">-</span></strong><strong style="font-weight: 400;"> این گزینه کاملاً واضح است. توجه کنید، شما اندازه ی فونت را در </strong><strong><span dir="ltr">body{}</span></strong><strong style="font-weight: 400;"> مقدار </strong><strong>۱۲<span lang="en-us">px</span></strong><strong style="font-weight: 400;"> تنظیم کردید، در صورتیکه تگ های <span lang="en-us">H1</span> و <span lang="en-us">H2</span> از این قانون یا این خط کد پیروی نمی کنند، بلکه تگ های </strong>heading از قانون خودشان پیروی می کنند. پس برای کنترل آنها، شما باید آنها را بصورت جداگانه قالب بندی کنید.</p>
<p dir="rtl"><span style="color: #ff0000;"><strong>»</strong></span><strong> </strong><strong><span dir="ltr">padding: 0 0 10px 0;</span> <span style="color: #ff0000;">-</span></strong><strong style="font-weight: 400;"> این کد به معنی این است که از ناحیه ی پایین <span lang="en-us">H1</span> ده<span lang="en-us"> </span>پیکسل فاصله بیافتد. این فضای ۱۰ پیکسلی را برای فضای بین عنوان وبلاگ ها و توضیحات وبلاگ مورد استفاده قرار خواهد گرفت.</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">تغییرات را <span lang="en-us">save</span> کنید و آنرا مشاهده کنید.</strong></p>
<p dir="rtl" align="center"><img class="alignnone size-full wp-image-1263" title="h1-styled" src="http://www.p30help.ir/wp-content/images/2009/06/h1-styled.gif" alt="h1-styled" width="365" height="89" /></p>
<p dir="rtl">
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span></span></strong><strong>مرحله ی سوم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">کد های زیر را در زیر سلکتور </strong><strong><span dir="ltr">#container{}</span></strong> تایپ کنید. (بعد از تغییر در هر بلاک و یا تایپ هر کد تغییرات را ثبت کرده و آنها را در مرورگر خود مشاهده کنید.)</p>
<p style="text-align: left;"><code>.post{<br />
padding: 10px 0 10px 0;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;">(شما با این کد ۱۰ پیکسل فاصله از ناحیه  بالا و پایین به هر <span lang="en-us">div</span> برای هر پست اضافه کرده اید.)</strong></p>
<p style="text-align: left;"><code>.post h2{<br />
font-family: Georgia, Sans-serif;<br />
font-size: 18px;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;">(</strong>سلکتور <strong>post h2</strong><strong style="font-weight: 400;"> به طور ویژه </strong>sub-headings<strong style="font-weight: 400;"> های </strong>H2<strong style="font-weight: 400;"> را فقط برای پست ها هدف گیری می کند، به زبان خودمان این سلکتور تنها به عنوان پستها ویژگی می بخشد).</strong></p>
<p style="text-align: left;"><code>.entry{<br />
line-height: 18px;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;">(کد </strong><strong><span lang="en-us">line-height</span></strong><strong style="font-weight: 400;"> فاصله ی بین خطوط یک مطلب را معین می کند که در اینجا ما برای آن مقدار متوسط  و مناسب </strong><strong>۱۸</strong><span lang="en-us"><strong>px</strong><strong style="font-weight: 400;"> </strong></span><strong style="font-weight: 400;">را انتخاب کرده ایم. می توانید مقدار آنرا به اعداد مختلف تغییر دهید تا وظیفه ی این خط کد را بهتر متوجه شوید. ولی در پایان مقدار را به همان ۱۸ پیکسل بازگردانید.)</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span></span></strong><strong>مرحله چهارم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">کد پاینن را در زیر سلکتور</strong><strong><span dir="ltr">a:hover{}</span></strong><strong style="font-weight: 400;"> تایپ کنید:</strong></p>
<p style="text-align: left;"><code>p{<br />
padding: 10px 0 0 0;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;">(سلکتور </strong><span lang="en-us"><strong>p</strong><strong style="font-weight: 400;"> </strong></span><strong style="font-weight: 400;">با پاراگراف های متن سروکار دارد و با توجه به مقدار </strong><strong><span lang="en-us">padding</span></strong><strong style="font-weight: 400;"> داده شده، فاصله ی هر پاراگراف از دیگری ۱۰<span lang="en-us">px</span> پیکسل خواهد بود).</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span></span></strong><strong>مرحله ی پنچم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">کد زیر را در پایین سلکتور</strong> <span dir="ltr"><strong>entry{}</strong></span> تایپ کنید:</p>
<p style="text-align: left;"><code>p.postmetadata{<br />
border-top: 1px solid #ccc;<br />
margin: 10px 0 0 0;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;">اگر بیاد داشته باشید، تگ باکس مخفی </strong><strong>postmetadata</strong><strong style="font-weight: 400;"> را درون </strong><strong>تگ های پاراگراف (<span lang="en-us">p</span>)</strong><strong style="font-weight: 400;"> </strong>قرار داده اید (اگر بیاد ندارید یک نگاهی به فایل <span lang="en-us">index.php</span> بیاندازید). پس برای استایل دادن به آن می توانید به صورت <strong><span lang="en-us">p.postmetadata</span></strong> آدرس دهی کنید.</p>
<p dir="rtl">برای تگ باکس مخفی <strong>postmetadata</strong><strong style="font-weight: 400;"> ، شما یک حاشیه خاکستری با ضخامت یک پیکسل از سمت بالا و یک فاصله ی ۱۰ پیکسلی از طرف بالا را به </strong><strong><span lang="en-us">postmetadata</span></strong><strong style="font-weight: 400;"> داده اید.<br />
</strong><strong><span style="color: #ff00ff;">نکته:</span></strong><strong style="font-weight: 400;"> اگه بیاد داشته باشید بخش </strong><strong><span lang="en-us">postmetadata</span></strong><strong style="font-weight: 400;"> برای این است که اطلاعات هر پست مانند دسته ی پست، تعداد نظرات پست و&#8230; را درون آن جای دهیم.</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">معنی عبارت </strong><strong>border-top</strong><strong style="font-weight: 400;"> حاشیه از بالا (فقط از بالا) است. عبارت </strong><strong>border-left</strong><strong style="font-weight: 400;"> معنی حاشیه از سمت چپ (فقط از سمت چپ) و به همین ترتیب برای </strong><span lang="en-us"><strong>border-bottom</strong><strong style="font-weight: 400;"> </strong></span><strong style="font-weight: 400;">و<span lang="en-us"> </span></strong><span lang="en-us"><strong>border-right</strong></span><strong style="font-weight: 400;"> نیز معنی اش واضح است. برای مثال معنی عبارت </strong><strong>border: 1px solid #ccc</strong><strong style="font-weight: 400;"> این است که: از هر چهار طرف حاشیه خاکستری با ضخامت یک پیکسل داده شود.</strong></p>
<p dir="rtl"><strong><span style="font-family: Tahoma; color: #3333cc;"><span lang="fa">• </span></span></strong><strong>مرحله ی ششم:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;">کدهای زیر را در پایین سلکتور </strong><strong><span dir="ltr">p.postmetadata{}</span></strong><strong style="font-weight: 400;"> تایپ کنید:</strong></p>
<p style="text-align: left;"><code>.navigation{<br />
padding: 10px 0 0 0;<br />
font-size: 14px;<br />
font-weight: bold;<br />
line-height: 18px;<br />
}</code>
</p>
<p dir="rtl"><strong style="font-weight: 400;">در این کد شما برای بخش</strong> <strong>navigation</strong><strong style="font-weight: 400;"> یا همان قسمت </strong><strong><span style="color: #ff0000;">صفحه ی بعدی</span></strong> و <strong><span style="color: #ff0000;">صفحه ی قبلی</span></strong><strong style="font-weight: 400;"> قالب بندی می کنید. در حقیقت شما:</strong></p>
<p dir="rtl"><strong style="font-weight: 400;"><span style="font-family: Times New Roman; color: #ff0000;">•</span> ۱۰ پیکسل حاشیه از بالا اضافه کردید.<br />
<span style="font-family: Times New Roman; color: #ff0000;">•</span> اندازه ی فونت را به <span lang="en-us">۱۴px</span> تغییر دادید.<span lang="en-us"><br />
</span><span style="font-family: Times New Roman; color: #ff0000;">•</span> پهنای فونت را به ضخیم عوض کردید<br />
<span style="font-family: Times New Roman; color: #ff0000;">•</span> ارتفاع خط را به ۱۸ پیکسل افزایش دادید.</strong>
</p>
<p dir="rtl"><strong style="font-weight: 400;">خوب درس امروز ما که کار و قالب دهی به بخش پست ها بود به پایان رسید. دیگر چیزی به پایان کلی دروس نمانده است&#8230;.</strong></p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-16/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 16)">چگونه برای وردپرس پوسته بسازیم؟(بخش 16)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-6/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 6)">چگونه برای وردپرس پوسته بسازیم؟(بخش 6)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme/" title="چگونه برای وردپرس پوسته بسازیم؟">چگونه برای وردپرس پوسته بسازیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 20)">چگونه برای وردپرس پوسته بسازیم؟(بخش 20)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-15/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 15)">چگونه برای وردپرس پوسته بسازیم؟(بخش 15)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-and-6c-lesson-8-9/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)">چگونه برای وردپرس پوسته بسازیم؟(بخش 8 و 9)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-6b-lesson-7/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 7)">چگونه برای وردپرس پوسته بسازیم؟(بخش 7)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-4/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 4)">چگونه برای وردپرس پوسته بسازیم؟(بخش 4)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-3/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 3)">چگونه برای وردپرس پوسته بسازیم؟(بخش 3)</a></li></ul>
				<div>
					<h4>18 comment(s) for this post:</h4><ol>
						  <li><i>مهدی فاریابی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-17/comment-page-1/#comment-1292">2009-Jun-25</a></small>
							ای ول من اول شدم :)
مهدی جان من از امروز شروع کردم به پی گیری مقالات از اول(چون تازه اینجا رو پیدا کردم) امیدوارم که وقت داشته باشی تا بتونم در مشکلاتم ازت کمک بگیرم .
راستی تو فروم خاصی فعالیت نداری چون نمی دونم سئوالات احتمالی رو ازت بپرسم .

بازم از زحماتی که واسه جمع آوری این مطالب میکشی تشکر می کنم .
خوش باشی .
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-17/comment-page-1/#comment-1298">2009-Jun-27</a></small>
							ایشالا تو همه چی اول باشی
نه مهدی جان تو فروم خاصی نیستم ولی می تونی علاوه بر اینجا مشکلاتت رو توی فروم وردپرس مطرح کنی که هم خیلی بهتره و هم حرفه ای تر...
موفق باشی..
						  </li>
						  <li><i>ستاره:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-17/comment-page-1/#comment-1301">2009-Jun-27</a></small>
							سلام:
ممنون از این اطلاعات.من یه سوال خارج از این مقوله دارم.چقدر مهمه که ای تی رو تو یه دانشگاه خوب بخونیم؟چقدر کار خود آدم مهمه؟!؟
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-17/comment-page-1/#comment-1304">2009-Jun-28</a></small>
							ستاره جان اگه از من بپرسی ، 80 درصد تلاش خود آدمه، 20 درصد شرایط.....
تازه آی تی خوشبختانه از جمله مقولاتی هست که بدون داشتن تحصیلات دانشگاهی هم میشه در این رشته پیشرفت کرد....
						  </li>
						  <li><i>ستاره:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/how-make-wordpress-theme-lesson-17/comment-page-1/#comment-1308">2009-Jun-28</a></small>
							خیلی ممنون از جوابتون :)
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1261">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/how-make-wordpress-theme-lesson-17/#comments'>13 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/how-make-wordpress-theme-lesson-17/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>پوسته ی پرشیا برای وردپرس</title>
		<link>http://www.p30help.ir/persia-theme-for-wordpress/</link>
		<comments>http://www.p30help.ir/persia-theme-for-wordpress/#comments</comments>
		<pubDate>Sat, 30 May 2009 10:40:23 +0000</pubDate>
		<dc:creator>مهدی رادی</dc:creator>
				<category><![CDATA[وبمستر]]></category>
		<category><![CDATA[وردپرس]]></category>
		<category><![CDATA[پوسته]]></category>
		<category><![CDATA[پی سی هلپ]]></category>
		<category><![CDATA[persia]]></category>
		<category><![CDATA[قالب وردپرس]]></category>
		<category><![CDATA[پرشیا]]></category>

		<guid isPermaLink="false">http://www.p30help.ir/?p=1233</guid>
		<description><![CDATA[قالبی سه ستونه دارای دو سایدبار با قابلیت ویجیت و یک هدر کوچک. این قالب تقریباً یه طرح جدید هست و از این لحاظ شاید مورد توجه شما قرار بگیرد. رنگهای بکار رفته در این قالب سبز و زرد می باشند. اسم این قالب پرشیا (Persia) است...]]></description>
			<content:encoded><![CDATA[<p>باز هم یه قالب دیگر را به شما تقدیم می کنم. قالبی سه ستونه دارای دو سایدبار با قابلیت ویجیت و یک هدر کوچک. این قالب تقریباً یه طرح جدید هست و از این لحاظ شاید مورد توجه شما قرار بگیرد. رنگهای بکار رفته در این قالب سبز و زرد می باشند. اسم این قالب پرشیا (Persia) است وعکس زیر اسکرین شاتی از این قالب :</p>
<p style="text-align: center;"><img class="size-full wp-image-1234 aligncenter" title="persia-theme" src="http://www.p30help.ir/wp-content/images/2009/05/persia-theme.png" alt="persia-theme" width="500" height="370" /></p>
<p><strong>ویژگیهای اصلی این قالب:</strong><br />
- پهنای ۹۰۰ پیکسلی<br />
- سه ستونه<br />
- دو سایدبار با قابلیت ویجیت<br />
- هدر قابل تعویض</p>
<p>برای تعوض هدر این قالب باید مراحل زیر را طی کنید:</p>
<p>۱- عکس مورد نظر خود را به سایز ۲۵۰ در ۱۵۵ پیکسل تهیه کنید.<br />
۲- قالب پرشیا (Persia) را فعال کنید.<br />
۳- در بخش نمایش بروی عنوان تصویر سربرگ دلخواه کلیک کنید. مانند عکس زیر:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-1235" title="sarbarg" src="http://www.p30help.ir/wp-content/images/2009/05/sarbarg.png" alt="sarbarg" width="147" height="120" /></p>
<p>۴- بعد از باز شدن صفحه بروی دکمه ی Browse.. کلیک کنید و عکس مورد نظر خود را وارد نمایید. در پایان نیز بروی دکمه ی فرستادن کلیک کنید.</p>
<p>با انجام کارهای بالا عکس مورد نظر شما بعنوان عکس هدر قرار خواهد گرفت. البته حتماً می دانید که برای آپلود فایل باید شاخه ی مادر آن قابل نوشتن باشد.</p>
<p>این قالب را هم برای دانلود و هم برای پیش نمایش می گذارم. به شدت منتظر نظرات شما برای بهبود و رفع ایرادات این قالب هستم&#8230;.</p>
<p><a href="http://themes.wp-persian.com/persia/" target="_blank">دانلود و پیش نمایش قالب (لینک غیر مستقیم)</a></p>
<h3  class="related_post_title">مطالب مرتبط</h3><ul class="related_post"><li><a href="http://www.p30help.ir/how-to-translate-wordpress-theme/" title="چگونه پوسته های وردپرس را فارسی کنیم؟">چگونه پوسته های وردپرس را فارسی کنیم؟</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-21/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
">چگونه برای وردپرس پوسته بسازیم؟(بخش 21 و پایانی)
</a></li><li><a href="http://www.p30help.ir/shayan-theme-for-wordpress/" title="قالب شایان برای وردپرس">قالب شایان برای وردپرس</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-20/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 20)">چگونه برای وردپرس پوسته بسازیم؟(بخش 20)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-19/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 19)">چگونه برای وردپرس پوسته بسازیم؟(بخش 19)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-18/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 18)">چگونه برای وردپرس پوسته بسازیم؟(بخش 18)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-15/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 15)">چگونه برای وردپرس پوسته بسازیم؟(بخش 15)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-14/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 14)">چگونه برای وردپرس پوسته بسازیم؟(بخش 14)</a></li><li><a href="http://www.p30help.ir/how-make-wordpress-theme-lesson-13/" title="چگونه برای وردپرس پوسته بسازیم؟(بخش 13)">چگونه برای وردپرس پوسته بسازیم؟(بخش 13)</a></li><li><a href="http://www.p30help.ir/radian-ver2-theme-for-wordpress/" title="پوسته رادیان ورژن 2 برای وردپرس">پوسته رادیان ورژن 2 برای وردپرس</a></li></ul>
				<div>
					<h4>14 comment(s) for this post:</h4><ol>
						  <li><i>پیمان:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/persia-theme-for-wordpress/comment-page-1/#comment-1168">2009-May-30</a></small>
							این قالب فوق العاده قشنگه. وقعاً دست مریزاد آقا مهدی .
						  </li>
						  <li><i>علیرضا:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/persia-theme-for-wordpress/comment-page-1/#comment-1169">2009-May-30</a></small>
							خیلی قشنگه مخصوصا اینکه از تمام فضا استفاده شده فقط ای کاش رنگش کمی ملایم تر بود
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/persia-theme-for-wordpress/comment-page-1/#comment-1174">2009-Jun-01</a></small>
							اگه رنگش سبز سایدبار راست رو کم رنگ تر کنم، به نظرم قالب رنگش مرده میشه ولی باز متشکرم که گفتی...
						  </li>
						  <li><i>محمود:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/persia-theme-for-wordpress/comment-page-1/#comment-1181">2009-Jun-02</a></small>
							مهدی جان سلام.از طرف من به 1بازی وبلاگی دعوت شدی.1نگاه به لینک بنداز حتما.منت میزاری بر من اگه چندخطی در موردش بنویسی :) http://mimonet.net/?p=6
						  </li>
						  <li><i>مهدی رادی:</i>
							<br />
							<small><a rel="nofollow" href="http://www.p30help.ir/persia-theme-for-wordpress/comment-page-1/#comment-1182">2009-Jun-02</a></small>
							بله محمود جان ، پیغام دیشبت رو هم دریافت کردم ، چشم ، سعی می کنم که یه چیزهایی بنویسم ...
هرچند که دست به قلم سیاسیم هم خوب نیست...
تو هم دستت درد نکنه که ما رو هم دعوت کردی...
						  </li>
					  </ol>
				  </div>
			  <p><b><a target="_blank" href="http://www.p30help.ir/wp-content/plugins/comments-on-feed/comments-template.php?id=1233">Write a quick comment</a></b> | View <a href='http://www.p30help.ir/persia-theme-for-wordpress/#comments'>9 more comment(s).</a></p><hr />
<!--start logo cod--><p align="center"><a href="http://www.niloodesign.com/"><img src="http://niloodesign.com/wp-content/uploads/2010/01/460-60.jpg" border="0" width="468" height="60" alt="نیلو دیزاین"></img></a></p><!--finish logo cod-->

]]></content:encoded>
			<wfw:commentRss>http://www.p30help.ir/persia-theme-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
