WordPress Türkiye Forumları

WordPress Türkiye Forumları » Eklentiler

Tarih eklentisi

(10 posts)
  • Started 3 years ago by zoom
  • Latest reply from Ayhan
  • Bu konu Çözülmüş
  1. zoom
    Member

    Yazılan yazıların sol üst köşesinde büyükçe tarihi nasıl gösteririz?

    http://www.yakuter.com

    bu sitedeki gibi.

    Posted 3 years ago #
  2. Ali Kuru
    rtfm!

    Bu eklenti işinize yarayabilir.

    Posted 3 years ago #
  3. Hakkı Ceylan
    WordPress Türkiye

    freshy temasını modifiye ederek yaptığım bloga kendim ekledim bir tane, ama table olarak malesef, div lere daha ısınamadım, eski kafalılık işte :|

    azpismis weblog

    Posted 3 years ago #
  4. zoom
    Member

    GenaroFlores,
    Sitendeki temanın türkçe dil dosyasını nereden bulabilirim?

    bu arada eklenti için teşekkürler deneyeceğim umarım işimi görür

    Posted 3 years ago #
  5. zoom
    Member

    comments.php ve theloop.php dosyalarında 2 tane yerin arasına bir kod eklettiriyor ama arattırttığı kodları bulamıyorum yok öyle bir kod

    hemde K2 temasını kullanmama rağmen

    Posted 3 years ago #
  6. Hakkı Ceylan
    WordPress Türkiye

    Türkçe dil dosyası yok malesef, Wordpress tr dil dosyası haricinde olanları manual olarak tema içinden düzelttim.

    Posted 3 years ago #
  7. zoom
    Member

    Peki paylaşabilir misiniz o türkçe içerikli dosyaları ?

    Posted 3 years ago #
  8. zoom
    Member

    tema içinde

    de_DE.po

    diye bir dosya var ben bunu türkçeleştirince nasıl bu dil dosyasını kullanabilirim ? nereden seçebilirim?

    Posted 3 years ago #
  9. Hakkı Ceylan
    WordPress Türkiye

    istersen index.php vs. gönderebilirim ama başka dosyalarda da değişiklik yapmıştım, şimdi hatırlayamıyorum, tabii sağlıklı olan dil dosyasını düzenleyip eklemek..

    Posted 3 years ago #
  10. Ayhan
    Member

    Selam Arkadaşlar ben aşağıdaki temayı kullanıyorum
    http://www.kapikua.com/2006/07/24/theme-leia/
    Birtürlü bu temada bu eklentiyi gösteremedim.Bu eklentinin readme si K2 teması için hazırlanmış. Yardımcı olursanız çok sevinirim.

    İki kod var biri theloop.php sayfasına eklenecekmiş yalnız benim öyle bir sayfam yok. Diğer kod ise comments.php e eklenecek. Eklenecek kodu ve benim comments.php kodlarını aşağıda verdim.

    [b]Comments a eklenecek kod şu:[/b]
    [code]<?php if (function_exists('slds_date_stamp')) { slds_date_stamp(get_comment_date('U'), $k2_comment_alt); } ?>[/code]

    [b]Bu benim temanın comments.php kodu[/b]

    [code]<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
    <p><?php _e('Enter your password to view comments.'); ?></p>
    <?php return; endif; ?>


    <?php comments_number(__('No hay comentarios'), __('1 Comentario'), __('% Comentarios')); ?>

    <?php if ( $comments ) : ?>

    <?php foreach ($comments as $comment) : ?>



    <p><?php comment_type(__('Comentario'), __('Trackback'), __('Pingback')); ?> <?php _e('de'); ?> <b><?php comment_author_link() ?></b></p>
    <p class="tiempo">Realizado el <?php comment_date('l') ?>, <?php comment_date('j') ?> de <?php comment_date('F') ?> del <?php comment_date('Y') ?> a las <?php comment_time() ?></p>


    <span id="comment-<?php comment_ID() ?>">
    <?php comment_text() ?>
    </span>

    <?php endforeach; ?>

    <?php else : // If there are no comments yet ?>
    <p><?php _e('No Hay comentarios.'); ?></p>
    <?php endif; ?>

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

    <?php _e('Escribir un comentario'); ?>

    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p>You must be /wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in to post a comment.</p>
    <?php else : ?>

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

    <?php if ( $user_ID ) : ?>

    <p>Logged in as /wp-admin/profile.php"><?php echo $user_identity; ?>. /wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout »</p>

    <?php else : ?>

    <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    <label for="author"><small>Nnombre <?php if ($req) _e('(obligado)'); ?></small></label></p>

    <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
    <label for="email"><small>E-mail <small>(no sera publicado)</small> <?php if ($req) _e('(obligado)'); ?></small></label></p>

    <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
    <label for="url"><small>Pagina web</small></label></p>

    <?php endif; ?>

    <p><small>XHTML: Puedes usar estos tags: <?php echo allowed_tags(); ?></small></p>

    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    <p><input name="submit" type="submit" id="submit" tabindex="5" value="Enviar comentario" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    </p>
    <?php do_action('comment_form', $post->ID); ?>

    </form>

    <?php endif; // If registration required and not logged in ?>

    <?php else : // Comments are closed ?>
    <p><?php _e('Lo siento, los comentarios estan cerrados en este momento.'); ?></p>
    <?php endif; ?>
    [/code]

    [b]Diğer kod bu:[/b]
    [code]<?php if (function_exists('slds_date_stamp')) { slds_date_stamp(get_the_time('U'), $k2_post_alt); } ?>[/code]

    [/b]benim index.php kodu [/b]

    [code]<?php
    get_header();
    ?>


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

    ">
    <h2>" rel="bookmark"><?php the_title(); ?></h2>
    <h3>Yazan Kişi: <?php the_author() ?> Gün: <?php the_time('l') ?>, <?php the_time('j') ?> Ay: <?php the_time('F') ?> Yıl: <?php the_time('Y') ?> Saat: <?php the_time() ?></h3>

    <h4>
    <?php the_content(__('(Leer mas ...)')); ?>
    </h4>

    <h5>
    <?php comments_popup_link(__('<p><span class="comentarios">Yorum Ekle</span></p>'), __('<p><span class="comentarios">Yorumlar (1)</span></p>'), __('<p><span class="comentarios">Yorumlar (%)</span></p>')); ?>
    <p><span class="categoria"> Kategori: <?php the_category(',') ?></span></p>
    <p>

    </p>
    </h5>

    <?php comments_template(); ?>


    <?php endwhile; else: ?>

    <h2>Error</h2>
    <h3>Escrito por el buscador</h3>

    <h4>
    Lo siento, no hay ningun resultado con esa cadena de busqueda.
    </h4>

    <?php endif; ?>


    <?php posts_nav_link('    ', __('« Pagina anterior '), __(' Pagina siguiente »')); ?>

    <?php get_sidebar(); ?>
    [/code]

    İnşallah açıklayabilmişimdir. Çok teşekkürler

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.