• 25-06-2010, 16:04:50
    #1
    wp 3.0 da search ve yorum formlarini duzenlicem yeni tema icin ama hangi dosyada bulamadim bir turlu :/ . bilen varmi acaba hangi dosyada ?
  • 25-06-2010, 18:41:49
    #2
    www.arslania.com
    Mentallyill adlı üyeden alıntı: mesajı görüntüle
    wp 3.0 da search ve yorum formlarini duzenlicem yeni tema icin ama hangi dosyada bulamadim bir turlu :/ . bilen varmi acaba hangi dosyada ?
    anlayamadım? yorum formu comments.php - arama formu ise search.php'de.
    www.siteniz.com/wp-content/themes/TEMANIZ klasörünün içerisinde olması lazım..
  • 25-06-2010, 22:31:28
    #3
    search.php de

    olan kodlar

    <?php if ( have_posts() ) : ?>
    				<h1><?php printf( __( '"%s" ile ilgili bunlari bulabildim.', 'twentyten' ), '' . get_search_query() . '' ); ?></h1>
    				<?php
    				/* Run the loop for the search to output the results.
    				 * If you want to overload this in a child theme then include a file
    				 * called loop-search.php and that will be used instead.
    				 */
    				 get_template_part( 'loop', 'search' );
    				?>
    <?php else : ?>
    bunlar.
    loop.php nin altini ustune getirdim kodlari tek tek okudum ordada yok.
    searchbox i
    		<?php get_search_form(); ?>
    kodu ile istedigim yere koyuyorum ama duzenleyemiyorum.

    Tema gelistirmek icin Starkers temasini kullaniyorum.
  • 26-06-2010, 00:53:22
    #4
    www.arslania.com
    Kullandığınız WordPress İngilizce mi?
    Temanın çeviri (mo) dosyası filan var mı? Direk fonksiyonu kullanmış..
  • 26-06-2010, 10:28:49
    #5
    Evet ingilizce,
    .mo degilde bi tane .pot dosyasi var ondada birsey bulamadim. dosya icerigi altaki gibi

    # Translation of the WordPress theme Twenty Ten 1.0 by the WordPress team.
    # Copyright (C) 2010 the WordPress team
    # This file is distributed under the same license as the Twenty Ten package.
    # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
    #
    #, fuzzy
    msgid ""
    msgstr ""
    "Project-Id-Version: Twenty Ten 1.0\n"
    "Report-Msgid-Bugs-To: http://wordpress.org/tag/twentyten\n"
    "POT-Creation-Date: 2010-06-15 16:21+0000\n"
    "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
    "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    "Language-Team: LANGUAGE <LL@li.org>\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=utf-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    
    #: 404.php:16 loop.php:33
    msgid "Not Found"
    msgstr ""
    
    #: 404.php:18
    msgid ""
    "Apologies, but the page you requested could not be found. Perhaps searching "
    "will help."
    msgstr ""
    
    #: archive.php:33
    #, php-format
    msgid "Daily Archives: <span>%s</span>"
    msgstr ""
    
    #: archive.php:35
    #, php-format
    msgid "Monthly Archives: <span>%s</span>"
    msgstr ""
    
    #: archive.php:37
    #, php-format
    msgid "Yearly Archives: <span>%s</span>"
    msgstr ""
    
    #: archive.php:39
    msgid "Blog Archives"
    msgstr ""
    
    #: attachment.php:17
    #, php-format
    msgid "Return to %s"
    msgstr ""
    
    #. translators: %s - title of parent post
    #: attachment.php:19
    #, php-format
    msgid "<span class=\"meta-nav\">&larr;</span> %s"
    msgstr ""
    
    #: attachment.php:27
    #, php-format
    msgid "<span class=\"%1$s\">By</span> %2$s"
    msgstr ""
    
    #: attachment.php:31 functions.php:509
    #, php-format
    msgid "View all posts by %s"
    msgstr ""
    
    #: attachment.php:38
    #, php-format
    msgid "<span class=\"%1$s\">Published</span> %2$s"
    msgstr ""
    
    #: attachment.php:48
    #, php-format
    msgid "Full size is %s pixels"
    msgstr ""
    
    #: attachment.php:51
    msgid "Link to full-size image"
    msgstr ""
    
    #: attachment.php:58 attachment.php:105 loop.php:94 loop.php:117 loop.php:159
    #: onecolumn-page.php:27 page.php:32 single.php:53
    msgid "Edit"
    msgstr ""
    
    #: attachment.php:98 functions.php:299 loop.php:109 loop.php:137
    msgid "Continue reading <span class=\"meta-nav\">&rarr;</span>"
    msgstr ""
    
    #: attachment.php:99 loop.php:138 onecolumn-page.php:26 page.php:31
    #: single.php:31
    msgid "Pages:"
    msgstr ""
    
    #: author.php:27
    #, php-format
    msgid "Author Archives: %s"
    msgstr ""
    
    #: author.php:37 single.php:40
    #, php-format
    msgid "About %s"
    msgstr ""
    
    #: category.php:16
    #, php-format
    msgid "Category Archives: %s"
    msgstr ""
    
    #: comments.php:18
    msgid ""
    "This post is password protected. Enter the password to view any comments."
    msgstr ""
    
    #: comments.php:35
    #, php-format
    msgid "One Response to %2$s"
    msgid_plural "%1$s Responses to %2$s"
    msgstr[0] ""
    msgstr[1] ""
    
    #: comments.php:41 comments.php:60
    msgid "<span class=\"meta-nav\">&larr;</span> Older Comments"
    msgstr ""
    
    #: comments.php:42 comments.php:61
    msgid "Newer Comments <span class=\"meta-nav\">&rarr;</span>"
    msgstr ""
    
    #: comments.php:72
    msgid "Comments are closed."
    msgstr ""
    
    #. #-#-#-#-#  twentyten.pot (Twenty Ten 1.0)  #-#-#-#-#
    #. Theme URI of the plugin/theme
    #: footer.php:33
    msgid "http://wordpress.org/"
    msgstr ""
    
    #: footer.php:34
    msgid "Semantic Personal Publishing Platform"
    msgstr ""
    
    #: footer.php:35
    #, php-format
    msgid "Proudly powered by %s."
    msgstr ""
    
    #: functions.php:97
    msgid "Primary Navigation"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:133
    msgid "Berries"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:139
    msgid "Cherry Blossoms"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:145
    msgid "Concave"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:151
    msgid "Fern"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:157
    msgid "Forest Floor"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:163
    msgid "Inkwell"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:169
    msgid "Path"
    msgstr ""
    
    #. translators: header image description
    #: functions.php:175
    msgid "Sunset"
    msgstr ""
    
    #: functions.php:237
    #, php-format
    msgid "Search results for %s"
    msgstr ""
    
    #: functions.php:240 functions.php:257
    #, php-format
    msgid "Page %s"
    msgstr ""
    
    #: functions.php:366
    #, php-format
    msgid "%s <span class=\"says\">says:</span>"
    msgstr ""
    
    #: functions.php:369
    msgid "Your comment is awaiting moderation."
    msgstr ""
    
    #. translators: 1: date, 2: time
    #: functions.php:376
    #, php-format
    msgid "%1$s at %2$s"
    msgstr ""
    
    #: functions.php:376 functions.php:393
    msgid "(Edit)"
    msgstr ""
    
    #: functions.php:393
    msgid "Pingback:"
    msgstr ""
    
    #: functions.php:412
    msgid "Primary Widget Area"
    msgstr ""
    
    #: functions.php:414
    msgid "The primary widget area"
    msgstr ""
    
    #: functions.php:423
    msgid "Secondary Widget Area"
    msgstr ""
    
    #: functions.php:425
    msgid "The secondary widget area"
    msgstr ""
    
    #: functions.php:434
    msgid "First Footer Widget Area"
    msgstr ""
    
    #: functions.php:436
    msgid "The first footer widget area"
    msgstr ""
    
    #: functions.php:445
    msgid "Second Footer Widget Area"
    msgstr ""
    
    #: functions.php:447
    msgid "The second footer widget area"
    msgstr ""
    
    #: functions.php:456
    msgid "Third Footer Widget Area"
    msgstr ""
    
    #: functions.php:458
    msgid "The third footer widget area"
    msgstr ""
    
    #: functions.php:467
    msgid "Fourth Footer Widget Area"
    msgstr ""
    
    #: functions.php:469
    msgid "The fourth footer widget area"
    msgstr ""
    
    #: functions.php:500
    #, php-format
    msgid ""
    "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</"
    "span> %3$s"
    msgstr ""
    
    
    #: functions.php:526
    #, php-format
    msgid ""
    "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" "
    "title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
    msgstr ""
    
    #: functions.php:528
    #, php-format
    msgid ""
    "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title="
    "\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>."
    msgstr ""
    
    #: functions.php:530
    #, php-format
    msgid ""
    "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark"
    "\">permalink</a>."
    msgstr ""
    
    #: header.php:71
    msgid "Skip to content"
    msgstr ""
    
    #: loop.php:25 loop.php:172
    msgid "<span class=\"meta-nav\">&larr;</span> Older posts"
    msgstr ""
    
    #: loop.php:26 loop.php:173
    msgid "Newer posts <span class=\"meta-nav\">&rarr;</span>"
    msgstr ""
    
    #: loop.php:35
    msgid ""
    "Apologies, but no results were found for the requested archive. Perhaps "
    "searching will help find a related post."
    msgstr ""
    
    #: loop.php:60 loop.php:91
    msgctxt "gallery category slug"
    msgid "gallery"
    msgstr ""
    
    #: loop.php:62 loop.php:82 loop.php:125
    #, php-format
    msgid "Permalink to %s"
    msgstr ""
    
    #: loop.php:81
    #, php-format
    msgid "This gallery contains <a %1$s>%2$s photos</a>."
    msgstr ""
    
    #: loop.php:91
    msgid "View posts in the Gallery category"
    msgstr ""
    
    #: loop.php:91
    msgid "More Galleries"
    msgstr ""
    
    #: loop.php:93 loop.php:116 loop.php:158
    msgid "Leave a comment"
    msgstr ""
    
    #: loop.php:93 loop.php:116 loop.php:158
    msgid "1 Comment"
    msgstr ""
    
    #: loop.php:93 loop.php:116 loop.php:158
    msgid "% Comments"
    msgstr ""
    
    #: loop.php:100
    msgctxt "asides category slug"
    msgid "asides"
    msgstr ""
    
    #: loop.php:145
    #, php-format
    msgid "<span class=\"%1$s\">Posted in</span> %2$s"
    msgstr ""
    
    #: loop.php:154
    #, php-format
    msgid "<span class=\"%1$s\">Tagged</span> %2$s"
    msgstr ""
    
    #: search.php:16
    #, php-format
    msgid "Search Results for: %s"
    msgstr ""
    
    #: search.php:26
    msgid "Nothing Found"
    msgstr ""
    
    #: search.php:28
    msgid ""
    "Sorry, but nothing matched your search criteria. Please try again with some "
    "different keywords."
    msgstr ""
    
    #: sidebar.php:27
    msgid "Archives"
    msgstr ""
    
    #: sidebar.php:34
    msgid "Meta"
    msgstr ""
    
    #: single.php:18 single.php:58
    msgctxt "Previous post link"
    msgid "&larr;"
    msgstr ""
    
    #: single.php:19 single.php:59
    msgctxt "Next post link"
    msgid "&rarr;"
    msgstr ""
    
    #: single.php:44
    #, php-format
    msgid "View all posts by %s <span class=\"meta-nav\">&rarr;</span>"
    msgstr ""
    
    #: tag.php:16
    #, php-format
    msgid "Tag Archives: %s"
    msgstr ""
    
    #. Theme Name of the plugin/theme
    msgid "Twenty Ten"
    msgstr ""
    
    #. Description of the plugin/theme
    msgid "The 2010 default theme for WordPress."
    msgstr ""
    
    #. Author of the plugin/theme
    msgid "the WordPress team"
    msgstr ""
    
    #. Tags of the plugin/theme
    msgid ""
    "black, blue, white, two-columns, fixed-width, custom-header, custom-"
    "background, threaded-comments, sticky-post, translation-ready, microformats, "
    "rtl-language-support, editor-style"
    msgstr ""