WordPress.org

Support

Support » Themes and Templates » Remove “read more”

Remove “read more”

Viewing 3 replies - 1 through 3 (of 3 total)
  • I think the index.php of your theme uses the_excerpt instead of the_content.

    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(); ?>

    <?php
    ## 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>

    </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(); ?>

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove “read more”’ is closed to new replies.
Skip to toolbar