Support » Fixing WordPress » Brightpage First post longer than the rest.

  • Hello!
    I have quite a big problem and don’t know how to solve it.
    I have implementet de brightpage theme , and modified the css and the php function for my needs, but i got stucked with a problem.
    In the blog the first post it’s with 10 character longher then the rest.

    /* Make the "read more" link to the post */
    	function brightpage_new_excerpt_more($more) {
    	       global $post;
    		return '<span class="read_more"><a>ID) . '">' . 'Read more...' . '</a></span>';
    	add_filter('excerpt_more', 'brightpage_new_excerpt_more');
    	/* Set the excerpt length */
    	function brightpage_new_excerpt_length($length) {
    		return 30;
    	add_filter('excerpt_length', 'brightpage_new_excerpt_length');

    In here all looks oke.
    and the excerpt also.

    <?php if(have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <?php if (in_category('featured')) continue; ?>
    	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    			<div class="grid_031" >
    				<?php the_post_thumbnail('post-image', array('class' => 'imgthumb')); ?>
    				<div class="align_center">
    					<div id="post-title-<?php the_ID(); ?>" class="clearfix full">
    				<h2><a>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    					</div> <!-- end div .post-title -->
    				<div class="content1">
    				<?php the_excerpt(); ?> 
    				<?php get_template_part( 'postmeta' ); // Post Meta (postmeta.php) ?>
    	</div> <!-- end div #post -->
    <?php endwhile; ?>
    <?php endif; ?>

    [please use backticks or the code button to mark any posted code – – the above code is already partially currupted by the forum parser]

    Any sugestion!
    here’s the page

  • The topic ‘Brightpage First post longer than the rest.’ is closed to new replies.