{"id":49,"date":"2019-03-31T14:23:27","date_gmt":"2019-03-31T11:23:27","guid":{"rendered":"https:\/\/sitecenneti.com\/wordpress\/?p=49"},"modified":"2019-11-21T15:38:26","modified_gmt":"2019-11-21T12:38:26","slug":"1-5-wordpress-temasi-kodlama-ornekleri","status":"publish","type":"post","link":"https:\/\/sitecenneti.com\/wordpress\/wordpress-tema-yapimi\/1-5-wordpress-temasi-kodlama-ornekleri\/","title":{"rendered":"1.5 WordPress Temas\u0131 Kodlama \u00d6rnekleri"},"content":{"rendered":"<div id=\"toc_container\" class=\"toc_transparent no_bullets\"><p class=\"toc_title\">BU DERS\u0130N BA\u015eLIKLARI<\/p><ul class=\"toc_list\"><li><a href=\"#WordPress8217in_Varsayilan_8220Twenty8221_Temalari\"><span class=\"toc_number toc_depth_1\">1<\/span> WordPress&#8217;in Varsay\u0131lan &#8220;Twenty&#8221; Temalar\u0131<\/a><\/li><li><a href=\"#Underscores_Temasi\"><span class=\"toc_number toc_depth_1\">2<\/span> Underscores Temas\u0131<\/a><\/li><li><a href=\"#Diger_Kaynaklar\"><span class=\"toc_number toc_depth_1\">3<\/span> Di\u011fer Kaynaklar<\/a><\/li><\/ul><\/div>\n\n<p>Bir tema geli\u015ftirmeyi \u00f6\u011frenmenin en iyi yollar\u0131ndan biri standartlara g\u00f6re yaz\u0131lm\u0131\u015f temalar\u0131 incelemektir.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span id=\"WordPress8217in_Varsayilan_8220Twenty8221_Temalari\">WordPress&#8217;in Varsay\u0131lan &#8220;Twenty&#8221; Temalar\u0131<\/span><\/h2>\n\n\n\n<p>WordPress, 3.0 versiyonundan bu yana neredeyse her y\u0131l yeni bir tema \u00fcretir ve bu temay\u0131, yeni kurulumlarda varsay\u0131lan tema yapar. Bu temalar\u0131n yap\u0131lar\u0131n\u0131 inceleyerek, bir WordPress temas\u0131n\u0131n nelerden olu\u015ftu\u011funu anlayabiliriz.<\/p>\n\n\n\n<p>WordPress&#8217;in \u015fu ana kadar geli\u015ftirdi\u011fi temalar\u0131n listesi ve bu temalar\u0131n dosyalar\u0131na ula\u015fabilece\u011finiz linkler a\u015fa\u011f\u0131da verilmi\u015ftir.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\"Twenty Ten (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentyten\" target=\"_blank\">Twenty Ten<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Eleven  (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentyeleven\" target=\"_blank\"> Twenty Eleven <\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Twelve (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentytwelve\" target=\"_blank\"> Twenty Twelve<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Thirteen (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentythirteen\" target=\"_blank\"> Twenty Thirteen<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Fourteen (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentyfourteen\" target=\"_blank\"> Twenty Fourteen<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Fifteen (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentyfifteen\" target=\"_blank\"> Twenty Fifteen<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Sixteen (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentysixteen\" target=\"_blank\"> Twenty Sixteen<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Seventeen (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentyseventeen\" target=\"_blank\"> Twenty Seventeen<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" Twenty Nineteen (yeni sekmede a\u00e7\u0131l\u0131r)\" href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentynineteen\" target=\"_blank\"> Twenty Nineteen<\/a><\/li><li><a href=\"https:\/\/core.trac.wordpress.org\/browser\/trunk\/src\/wp-content\/themes\/twentytwenty\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Twenty Twenty (yeni sekmede a\u00e7\u0131l\u0131r)\">Twenty Twenty<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span id=\"Underscores_Temasi\">Underscores Temas\u0131<\/span><\/h2>\n\n\n\n<p>WordPress&#8217;in &#8220;Twenty&#8221; temalar\u0131n\u0131n aksine, Underscores (_s) temas\u0131 son kullan\u0131c\u0131lardan ziyade tema geli\u015ftiricilerine hitap eder. Bir Underscores temas\u0131n\u0131n amac\u0131, WordPress temas\u0131 geli\u015ftirmek isteyen bir ki\u015finin i\u015fini h\u0131zland\u0131rmakt\u0131r. Bir Underscores temas\u0131 indirdi\u011finizde, standart bir WordPress temas\u0131 haz\u0131r olarak gelecek ve siz ba\u015flang\u0131\u00e7 a\u015famas\u0131n\u0131 h\u0131zl\u0131ca ge\u00e7erek teman\u0131z\u0131n size \u00f6zel k\u0131s\u0131mlar\u0131yla vakit ge\u00e7ireceksiniz. Bir Underscores temas\u0131 \u015fu \u00f6zelliklere sahiptir:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Kodlar\u0131n a\u00e7\u0131klamalar\u0131, hata sayfas\u0131, HTML5 ile kodlanm\u0131\u015f sayfa \u015fablonlar\u0131<\/li><li>\u00d6zel bir &#8220;header&#8221; \u015fablonu ( <code>inc\/custom-header.php<\/code> )<\/li><li>Sayfa g\u00f6r\u00fcn\u00fcm\u00fcn\u00fcz\u00fc \u015fekillendiren fonksiyonlar ( <code>inc\/template-tags<\/code> )<\/li><li>Teman\u0131z\u0131n men\u00fcs\u00fcn\u00fc destekeleyen javaScript \u00f6zelli\u011fi ( <code>js\/navigation.js&nbsp;<\/code>)<\/li><li>Temel d\u00fczeyde CSS deste\u011fi ile birlikte, farkl\u0131 sayfa yerle\u015fim d\u00fczenleri ( <code>\/layouts<\/code> )<\/li><li>GPL lisansl\u0131 kod<\/li><\/ul>\n\n\n\n<p>Yukar\u0131da bahsedilen \u00f6zellikler, Underscores temas\u0131n\u0131, tema geli\u015ftiriciler i\u00e7in m\u00fckemmel yapmaktad\u0131r. Tabi ki Underscores&#8217;un olu\u015fturdu\u011fu temadaki ekstralar\u0131 silebilirsiniz. \u00d6z\u00fc itibariyle bu tema, standartlara uygun bir tema olu\u015fturmak i\u00e7in m\u00fckkemmel bir ba\u015flang\u0131\u00e7 yapma f\u0131rsat\u0131 sunar.<\/p>\n\n\n\n<p>Underscores temas\u0131 olu\u015fturmak i\u00e7in \u015fu siteyi ziyaret emelisniz: <a href=\"http:\/\/underscores.me\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"underscores.me (yeni sekmede a\u00e7\u0131l\u0131r)\">underscores.me<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span id=\"Diger_Kaynaklar\">Di\u011fer Kaynaklar<\/span><\/h2>\n\n\n\n<p>Bunlar\u0131n yan\u0131nda, <a href=\"https:\/\/tr.wordpress.org\/themes\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"WordPress ar\u015fivindeki b\u00fct\u00fcn temalar (yeni sekmede a\u00e7\u0131l\u0131r)\">WordPress ar\u015fivindeki b\u00fct\u00fcn temalar<\/a>, standartlara uygun olarak tasarlanm\u0131\u015f temalard\u0131r. Bunlar\u0131 incelemek de sizlere tema geli\u015ftirirken ilham verecektir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bu yaz\u0131da, inceleyebilmeniz i\u00e7in tema \u00f6rneklerinin adresleri verilmi\u015f ve Underscores ile h\u0131zl\u0131 bir \u015fekilde tema \u015fablonu olu\u015fturmaktan bahsedilmi\u015ftir.<\/p>\n","protected":false},"author":1,"featured_media":25,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[16,18],"class_list":["post-49","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tema-yapimi","tag-ornek-temalar","tag-underscores"],"_links":{"self":[{"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":0,"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/posts\/49\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/media\/25"}],"wp:attachment":[{"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/media?parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/categories?post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sitecenneti.com\/wordpress\/wp-json\/wp\/v2\/tags?post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}