Remove "read more"
-
Hello,
I am trying to remove a “read more” command, that seems to be inserted into the index.php. The “Read More” is showing up in my articles, even though I do not want them there. I have checked the boards, and see lots of people seem to have the same issue, but each solution is theme-specific.
I don’t know the language, as I am not really computer code literate. However, I do see where the line says “Read More” near the middle of the code.
I guess this is where the code needs some editing.
I have attached the full index.php code below, hoping that someone has an answer to this.
Anyway, if anyone has a solution to this, I would be very grateful.
btw: the theme is WP-Portal Theme 2.1
Thanks,
Gary
<?php
get_header();if (have_posts()) : $first = true;
while (have_posts()) : the_post();
$arc_year = get_the_time(‘Y’);
$arc_month = get_the_time(‘m’);
$arc_day = get_the_time(‘d’);
?>
<!– begin post –>
<div class=”post<?php if ($first) { echo ‘ first’; $first = false; } ?>”>
<h2>“><?php the_title(); ?></h2>
<p class=”date”><?php the_time(‘jS F, Y’) ?> – Posted by <?php the_author(); ?> – <?php comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’); ?></p>
<p><?php ob_start(); the_excerpt(); echo dp_clean_excerpt(ob_get_clean()); ?> “>Read More</p>
</div>
<!– end post –>
<?php endwhile; ?>
<p id=”postnav”>
<?php next_posts_link(‘Older Entries’); ?>
<?php previous_posts_link(‘Newer Entries’); ?>
</p>
<?php else : ?>
<div class=”notfound”>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that is not here.</p>
</div>
<?php endif; ?>
<?phpget_sidebar();
get_footer();
?>
- The topic ‘Remove "read more"’ is closed to new replies.