WordPress.org

Ready to get started?Download WordPress

Forums

Connection reload themes-A little translation problem (7 posts)

  1. nghbk
    Member
    Posted 7 years ago #

    I've installed wordpress here
    http://www.vnshare.net/~hunganh/
    with connection reloaded themes. I tried to translate everything into my language but I can't do that with the word "(more...)" at the end of preview part of the post, anyone can help me out, thanks

  2. moshu
    Member
    Posted 7 years ago #

    in the theme's index.php find this:
    <?php the_content('more...') ?> and edit.

  3. nghbk
    Member
    Posted 7 years ago #

    Thanks you for your reply but I can't find such words in my index.php, here is the content of it:

    <?php get_header(); ?>
    <div id="main">
    <div id="content">
    <!--- middle (posts) column content begin -->
    <?php if (have_posts()) { while (have_posts()) { the_post(); ?>
    <div class="post">
    <?php require('post.php'); ?>
    <?php comments_template(); // Get wp-comments.php template ?>
    </div>
    <?php } } else { ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    <?php } ?>
    <p class="center"><?php posts_nav_link() ?>
    </div>
    <div id="sidebar">
    <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>

  4. moshu
    Member
    Posted 7 years ago #

    Ah, this is one of those smart*** themes, it has a post.php, see there in your code:
    <?php require('post.php'); ?>
    Edit the post.php!

  5. nghbk
    Member
    Posted 7 years ago #

    Thanks again for fast replies :), here my post.php, but there's still no such words :( , I wonder where they are...

    <p class="post-date"><?php the_time('D j M Y'); ?>
    <div class="post-info">
    <h2 class="post-title">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></h2>
    <?php _e('Viết bởi '); ?><?php the_author(); ?><?php _e(' trong mục '); ?><?php the_category(', '); ?> <?php edit_post_link('(sửa)'); ?>
    <br/>
    <?php comments_popup_link('Không có bình luận', '1 bình luận', '[%] bình luận'); ?>
    </div>
    <div class="post-content">
    <?php the_content(); ?>
    <div class="post-info">
    <?php wp_link_pages(); ?>
    </div>
    <!--
    <?php trackback_rdf(); ?>
    -->
    <div class="post-footer"> </div>
    </div>

  6. moshu
    Member
    Posted 7 years ago #

    Get better glasses, sorry...
    Right in the middle of the code you posted I see this:
    <?php the_content(); ?>

    which is almost the same what I posted - you just have to put your text in your languages in between the ( and ); like this

    <?php the_content('дальще'); ?> <==this is a Russian example!

  7. nghbk
    Member
    Posted 7 years ago #

    OK, thanks much, I done it

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.