Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Fernando, thanks for the tip. Fixed the problem right up.

    asmirnov

    (@asmirnov)

    Otto, fantastic. That did the trick. I have no idea, how those <div> tags got in there in the first place. Can’t believe I missed that. Thanks a MILLION.

    asmirnov

    (@asmirnov)

    The URL is: https://www.asmirnov.org/blog/. Oddly enough (to me) it seems to display correctly in IE, not in FF.

    asmirnov

    (@asmirnov)

    Thank you for pointing that out Otto. I changed it to <?php the_content(__('(more...)'));?> and it worked! With one problem though. Now, it seems to have screwed up the layout of the front page (displays the text properly excerpted). I have no idea why, because when I click on “more” to display the entire post, everything is displayed and laid out properly.

    So it is either the previous situation where the layout is correct but the entire post is not showing, or the other way around. For the past two hours I have been reading the WP tutorials and searching the forum for pointers and still have no idea why. Any help will be much appreciated.

    asmirnov

    (@asmirnov)

    Hi all. I found this thread very informative and I already solved some of my problems. However, I have a problem I do not know how to solve. The WP blog is displaying the excerpt correctly (using the <!–more–> tag), except when I click on the post name to see it it only gives me the excerpt again, not the entire text. I hope I am not double, triple or quadruple-posting the same question but I was not able to find an answer in the support forum. Here is the index.php code:

    <?php
    get_header();
    ?>
    <?php global $more; $more = 0; ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <div class="post">
    	 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    	<div class="meta"><?php _e("Posted by"); ?> <?php the_author() ?> | <?php the_category(',') ?> | <?php the_time('l j F Y'); ?> <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    
    	<div class="storycontent">
    
    <?php the_excerpt(__('(more...)'));?>
    
    	</div>
    
    	<div class="feedback">
                <?php wp_link_pages(); ?>
                <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    	</div>
    
    </div>
    
    <?php comments_template(); // Get wp-comments.php template ?>
    
    <?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    
    <?php posts_nav_link(' — ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>
    
    <?php get_footer(); ?>

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