Viewing 5 replies - 1 through 5 (of 5 total)
  • zet_kr

    (@zet_kr)

    Post the code of the index.php of your theme, well see what you can change.

    zet_kr

    (@zet_kr)

    Probably you will replace <?php the_excerpt(); ?> with <?php the_content(); ?>

    Thread Starter childish

    (@childish)

    Okay on index.php there was nothing interesting except it opened blog.php and ran off that. Here;s the content

    <div class="span-<?php
    		$sidebar_state = get_option('T_sidebar_state');
    
    		if($sidebar_state == "On") {
    			echo "15 colborder home";
    		}
    		else {
    			echo "24 last";
    		}
    		?>">
    <h3 class="sub">Latest</h3>
    	<?php if (have_posts()) : ?>
    	<?php $i = 0; ?>
    		<?php while (have_posts()) : the_post(); $i++; ?>
    			<div class="post" id="post-<?php the_ID(); ?>">
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    				<div class="entry">
    					<?php if ($i == 1) {
    						include (THEMELIB . '/apps/multimedia.php');
    						the_content();
    						}
    						else {
    						postimage('thumbnail');
    						the_excerpt();
    						}
    						?>
    				</div>
    				<div class="clear"></div>
    				<p class="postmetadata"><?php the_time('M d, Y') ?> | Categories: <?php if (the_category(', '))  the_category(); ?> <?php if (get_the_tags()) the_tags('| Tags: '); ?> | <?php comments_popup_link('Leave A Comment »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', '| ', ''); ?> </p>
    			</div>
    		<div class="clear"></div>
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    	<?php endif; ?>
    </div>
    
    <?php
    		$sidebar_state = get_option('T_sidebar_state');
    
    		if($sidebar_state == "On") {
    			get_sidebar() ;
    		}
    		else {
    			echo "";
    		}
    		?>
    
    </div>
    <div class="double-border"></div>

    thanks

    zet_kr

    (@zet_kr)

    ok replace

    the_excerpt();

    with

    the_content();

    I’m having the same issue and changing that part of the code doesn’t do anything.

    <?php get_header(); ?>
    	<?php get_sidebar(); ?>
    	<!-- start content -->
    	<div id="content">
    	<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    			<div class="post" id="post-<?php the_ID(); ?>">
    <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    				<p class="byline"><small><?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit', ' | ', ''); ?></small></p>
    				<div class="entry">
    					<?php the_content(); ?>
    
    <!--disable
    <p class="links">" class="more">Read More</p>
    disble-->
    
    <p><?php the_tags(); ?></p>
    				</div>
    			</div>
    
    		<?php endwhile; ?>
    
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    		</div>
    
    	<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    		<?php include (TEMPLATEPATH . "/searchform.php"); ?>
    
    	<?php endif; ?>
    
    	</div>
    	<!-- end content -->
    
    	<?php include (TEMPLATEPATH . '/_sidebar2.php'); ?>
    
    <?php get_footer(); ?>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Posts are cut short on front page’ is closed to new replies.