My Blog .. No (Readmore) why?

Discussion in 'WordPress' started by ronger_30, Oct 8, 2010.

  1. #1
    Hello
    i have my own wordpress blog
    i have lots of post
    but the problem
    on index of page
    the full post show
    how i can let it show some of the post then have readmore ?
    my blog
    http://blog.fo6ball.com
    help me
    thanks
     
    ronger_30, Oct 8, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    Do you write <!--more--> in the post? If yes, copy here the code of the index.php and it will be easier to help you.
     
    s_ruben, Oct 8, 2010 IP
  3. ronger_30

    ronger_30 Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello
    thanks for your replay
    i dont inesrt anything on posting
    only post the articles
    this my wordpress index.php
    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
    PHP:
     

    Attached Files:

    ronger_30, Oct 8, 2010 IP
  4. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #4
    I mean index.php of the theme directory, not this. :)
     
    s_ruben, Oct 8, 2010 IP
  5. ronger_30

    ronger_30 Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hello
    ok im sorry for what happen
    this the theme index.php
    please help me on the problem
    <?php get_header();
    Protect();
    $blog_query = array(
        'posts_per_page' => (int)easel_themeinfo('home_post_count'), 
        'paged' => get_query_var('paged')
    );
    $posts = &query_posts($blog_query);
    if (have_posts()) {
        while (have_posts()) : the_post();
            easel_display_post();
        endwhile;
        easel_pagination();
    }
    UnProtect();
    
    get_footer(); ?>
    PHP:
     

    Attached Files:

    ronger_30, Oct 8, 2010 IP
  6. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #6
    Open the file displaypost.php from the directory wp-content/themes/easel/functions and change

    if (is_archive() || is_search()) {
    PHP:
    to

    if (is_archive() || is_search() || is_home()) {
    PHP:
    It is the line 132.
     
    s_ruben, Oct 8, 2010 IP