<?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>indirbig &#187; wordpress kodları</title>
	<atom:link href="https://indirbig.com/tag/wordpress-kodlari/feed" rel="self" type="application/rss+xml" />
	<link>https://indirbig.com</link>
	<description>Tek Tıkla İndir</description>
	<lastBuildDate>Sun, 15 Feb 2026 11:46:35 +0000</lastBuildDate>
	<language>tr-TR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>Tüm WordPress Kodları</title>
		<link>https://indirbig.com/tum-wordpress-kodlari.html</link>
		<comments>https://indirbig.com/tum-wordpress-kodlari.html#comments</comments>
		<pubDate>Sat, 13 Dec 2014 16:40:29 +0000</pubDate>
		<dc:creator><![CDATA[indirbig]]></dc:creator>
				<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Tüm Wordpress Kodları]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress code]]></category>
		<category><![CDATA[wordpress kodlar]]></category>
		<category><![CDATA[wordpress kodları]]></category>
		<category><![CDATA[wordpress kodları indir]]></category>
		<category><![CDATA[wordpress tüm kodları]]></category>
		<category><![CDATA[wordpressin kodları]]></category>

		<guid isPermaLink="false">http://melihatasever.com/?p=1810</guid>
		<description><![CDATA[<p>Tekrar merhaba ; bu yazımda ise şu andada websitemde kullanmış olduğum wordpress sisteminin bildiğiniz veya bilmediğiniz çoğu kodunu paylaşacağım. Nerelerde lazım olur diyecek olursanız , tema yapan arkadaşlarımız için ; temanızı düzenlerken vb. diğer wordpress işlemlerinizde işinize yarayabilir diye umuyorum. Siz bu kodlarla temanızı güzelleştirin ve tema yapın bizde paylaşalım değilmi ? Şimdiden herkese iyi ...</p>
<p>The post <a rel="nofollow" href="https://indirbig.com/tum-wordpress-kodlari.html">Tüm WordPress Kodları</a> appeared first on <a rel="nofollow" href="https://indirbig.com">indirbig</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><strong>Tekrar merhaba ; bu yazımda ise şu andada websitemde kullanmış olduğum wordpress sisteminin  bildiğiniz veya bilmediğiniz çoğu kodunu paylaşacağım. Nerelerde lazım olur diyecek olursanız , tema yapan arkadaşlarımız için ; temanızı düzenlerken vb. diğer wordpress işlemlerinizde işinize yarayabilir diye umuyorum. Siz bu kodlarla temanızı güzelleştirin ve tema yapın bizde paylaşalım değilmi ? Şimdiden herkese iyi çalışmalar.</strong></p>
<p><img src="http://melihatasever.com/wp-content/uploads/2014/12/wordpress-kodları.jpg" alt="Tüm WordPress Kodları" /></p>
<p><strong>1- Tema Url Kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php bloginfo('template_url'); ?&gt;</pre>
<p><strong>2- Site Url Kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php bloginfo('siteurl');?&gt;</pre>
<p><strong>3- Header.php Sayfa çağırma kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php get_header(); ?&gt;</pre>
<p><strong>4- Sidebar.php Sayfa çağırma kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php get_sidebar(); ?&gt;</pre>
<p><strong>5- Footer.php Sayfa çağırma kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php get_footer(); ?&gt;</pre>
<p><strong>6- Herhangi bir sayfayı çağırma kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php include (TEMPLATEPATH . '/sidebar2.php'); ?&gt;</pre>
<p><strong>7- Belirlediğimiz sayıda içerik Listeleme Kodu. Not: Bu kod ile sayfalama çalışmaz.</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php query_posts('showposts=8&amp;cat=1');?&gt;
     &lt;?php while (have_posts()) : the_post(); ?&gt;

   Çağıralacak kod				

     &lt;?php endwhile; ?&gt;</pre>
<p><strong>8- İçerik linki kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_permalink() ?&gt;</pre>
<p><strong>9- içerik başlığı kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_title(); ?&gt;</pre>
<p><strong>10- Wp-post views eklentisi izleme sayısı kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php if(function_exists('the_views')) { the_views(); } ?&gt;</pre>
<p><strong>11- İçerik kategori adı gösterme kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_category(', '); ?&gt;</pre>
<p><strong>12- Etiket Kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_tags(' ', ', ', ''); ?&gt;</pre>
<p><strong>13- Özel alan gösterim kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php if( get_post_meta($post-&gt;ID, &quot;resim&quot;, true) ): ?&gt;
    &lt;?php echo get_post_meta($post-&gt;ID, &quot;resim&quot;, true); ?&gt;
    &lt;?php else: ?&gt;
    &lt;?php endif; ?&gt;</pre>
<p><strong>14- Belli kelimede içerik yazısı gösterme kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_content_rss('', TRUE, '', 10); ?&gt;</pre>
<p><strong>15- Belirlediğimiz sayıda içerikleri listeleme kodu Not: Sayfalama çalışır kullanabilirsiniz.</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php
	$my_query = new WP_Query('orderby=rand&amp;showposts=15');
	while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post();$do_not_duplicate = $post-&gt;ID;
?&gt;

Çağırılacak kod

&lt;?php endwhile; ?&gt;</pre>
<p><strong>16- Sayfalama eklentisi wp-pagenavi dahil,içerik sayısının admin paneli okuma kısmında ayarlandığı içerik listeleme kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php if (have_posts()) : ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;

Çağırılacak kod

&lt;?php endwhile; ?&gt; 
&lt;div class='sayfalama'&gt;&lt;?php wp_pagenavi() ?&gt;&lt;/div&gt;
&lt;?php else : ?&gt;
&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link(__('&amp;laquo; Older Entries')) ?&gt;&lt;/div&gt;
&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link(__('Newer Entries &amp;raquo;')) ?&gt;&lt;/div&gt;
&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
 &lt;?php endif; ?&gt;</pre>
<p><strong>17 &#8211; single.php ve page.php içine içerik yani eklediğimiz yazının tamamını gösterme kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php 
			if (have_posts()) : while (have_posts()) : the_post(); 
			$do_not_duplicate = $post-&gt;ID;
			?&gt;
			içerik kodu 
  &lt;?php the_content(''); ?&gt;
  &lt;?php endwhile; else : endif; ?&gt;</pre>
<p><strong>18- single.php içerik yazısının kodu 17. kodda mevcut.	</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_content(''); ?&gt;</pre>
<p><strong>19- Yorum için comments.php çağırma kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php comments_template(); ?&gt;</pre>
<p><strong>20- Kategorileri veya alt kategorileri listeleme kodu.</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;li &lt;?php if(is_home()) { echo ' class=&quot;current-cat&quot; '; } ?&gt;&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;Anasayfa&lt;/a&gt;&lt;/li&gt;
&lt;?php wp_list_categories('depth=3&amp;child_of=1&amp;hide_empty=0&amp;orderby=name&amp;show_count=0&amp;use_desc_for_title=1&amp;title_li='); ?&gt;</pre>
<p><strong>21- Yorumları gösterme kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php
  global $wpdb;
  $sql = &quot;SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb-&gt;comments LEFT OUTER JOIN $wpdb-&gt;posts ON ($wpdb-&gt;comments.comment_post_ID = $wpdb-&gt;posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC LIMIT 10&quot;;

  $comments = $wpdb-&gt;get_results($sql);
  $output = $pre_HTML;
  $output .= &quot;\n&lt;ul&gt;&quot;;
  foreach ($comments as $comment) {
    $output .= &quot;\n&lt;li&gt;&quot;.strip_tags($comment-&gt;comment_author) .&quot;:&quot; . &quot;&lt;a href=\&quot;&quot; . get_permalink($comment-&gt;ID).&quot;#comment-&quot; . $comment-&gt;comment_ID . &quot;\&quot; title=\&quot;on &quot;.$comment-&gt;post_title . &quot;\&quot;&gt;&quot; . strip_tags($comment-&gt;com_excerpt).&quot;&lt;/a&gt;&lt;/li&gt;&quot;;
  }
  $output .= &quot;\n&lt;/ul&gt;&quot;;
  $output .= $post_HTML;
  echo $output;
?&gt;</pre>
<p><strong>22- İstemediğimiz kategoriyi kategoriyi göstermemek için kullandığımız içerik listeleme kodu .(cat=-416 dikkat ediniz, Bu kategori yazıları gözükmeyecek)</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php
    $wp_query = new WP_Query();
    $wp_query-&gt;query('showposts=5&amp;cat=-416&amp;paged='.$paged);
    ?&gt;
&lt;?php while ($wp_query-&gt;have_posts()) : $wp_query-&gt;the_post(); ?&gt;
içerik gelicek
&lt;?php endwhile; ?&gt;</pre>
<p><strong>23- Part sistemi için içerik içinde bölümlere ayırma kodu nextpage kodunu içeriğe yazarak</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php wp_link_pages('before=&amp;after=
&amp;pagelink=%.Bölüm'); ?&gt;</pre>
<p><strong>24- Tarih gösterme kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_time('l, F jS, Y') ?&gt;</pre>
<p><strong>25- Yazar İsmi kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_author(', '); ?&gt;</pre>
<p><strong>26- Kategori adı kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php the_category(', '); ?&gt;</pre>
<p><strong>27- İlgili içerik yerleştirildiğinde o içerikten önceki ve sonraki konuların linkini verir.</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php previous_post_link('%link') ?&gt; Önceki Link
    &lt;?php next_post_link('%link') ?&gt; Sonraki link </pre>
<p><strong>28- Toplam içerik sayısı :</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php echo $published;?&gt;
&lt;?php
$args=array(
  ‘orderby’ =&gt; ‘name’,
  ‘order’ =&gt; ‘ASC’
  );
$categories=get_categories($args);
$cat_count = 0;
foreach($categories as $c) {
$cat_count++;
}
$count_posts = wp_count_posts();
$published = $count_posts-&gt;publish;
?&gt;</pre>
<p><strong>29- Pagenavi eklentisi sayfalama kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?&gt;</pre>
<p><strong>30- header.php için title başlık kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;title&gt; &lt;?php wp_title(''); ?&gt;
&lt;?php if(wp_title('', false)) { echo ' :'; } ?&gt;
&lt;?php bloginfo('name'); ?&gt;&lt;/title&gt;</pre>
<p><strong>31- İlgili içeriğin yorum sayısı kodu</strong></p>
<pre class="brush: plain; title: ; notranslate">&lt;?php comments_number('0 Yorum','1 Yorum','% Yorum'); ?&gt;</pre>
<p><strong>Çift tıklayarak tüm kodu seçebilirsiniz. Herkese iyi kullanımlar , sorun olursa yorum olarak belirtebilirsiniz.</strong></p>
<p>The post <a rel="nofollow" href="https://indirbig.com/tum-wordpress-kodlari.html">Tüm WordPress Kodları</a> appeared first on <a rel="nofollow" href="https://indirbig.com">indirbig</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://indirbig.com/tum-wordpress-kodlari.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
