Remove "read more" (4 posts)

  1. ohenecoker
    Posted 7 years ago #

    Can anyone please help me to remove this "read more" [...] thing from my blog so that I can have the full text showing. Pleases help! http://christiancoker.com/blog/

  2. Roy
    Posted 7 years ago #

    I think the index.php of your theme uses the_excerpt instead of the_content.

  3. ohenecoker
    Posted 7 years ago #

    I think it uses the_content. this is how my index.php looks like

    <?php get_header(); ?>

    <div id="content">

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

    ## Exclude the 'About' category which is reserved for the footer
    $excludeID = get_cat_id('about');
    if (in_category($excludeID)) continue; ?>

    <div class="post">

    <h1>" class="articleTitle" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h1>

    <?php the_content('READ FULL ARTICLE ' . the_title('', '', false)); ?>

    <div class="postMeta">

    <?php include("post-meta.php"); ?>


    </div><!-- end post -->

    <?php endwhile; ?>

    <?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>

    <?php endif; ?>

    </div><!-- end content -->

    <?php get_footer(); ?>

  4. ohenecoker
    Posted 7 years ago #

    never mind I fixed it :)
    I had to change the_excerpt to the_content in page.php instead of index.php. But thanx all the same

Topic Closed

This topic has been closed to new replies.

About this Topic