Support » Fixing WordPress » Post shows only the first character

  • Hi everyone,

    I’ve got an little problem.
    On my website wordpress shows from every post only the first character. I have tried everything to fix this problem but nothings seems to work.
    You can you see what i mean here:

    The code that i have used is:

    <!-- START CONTENT -->
    <!-- START LUS NieuwsTEMPLATE -->
    		<?php if (have_posts()) : ?>
                      <?php while (have_posts()) : the_post(); ?>
                    <table id="post-<?php the_ID(); ?>" width="461" height="238" border="0" cellpadding="0" cellspacing="0">
                    <td width="259" height="208" id="news_content"><a href="<?php the_permalink() ?>" rel="bookmark" title="Link naar <?php the_title_attribute(); ?>">
                    <h1><?php the_title(); ?></h1></a>  <?php the_content('Lees Verder'); ?> </td>
                    <td width="202" height="208" id="news_pic"><a href="<?php the_permalink() ?>"><img src="<?php $clip = get_post_meta($post->ID, "pic_sq", $single = true); if($clip !== '') { echo $clip; }; ?>"></a></td>
                    <td colspan="2" width="461" height="30" id="news_footer">Categorie: <?php the_category(', ') ?> | <?php comments_popup_link('Reageren?', '1 Reactie', '% Reacties'); ?>
                <?php endwhile; ?>
    <!-- END LUS NieuwsTEMPLATE -->
    	<?php endif; ?>
    	<span id="moreNews"><a href="#">Meer Nieuws</a></span>
      <!-- END CONTENT -->

    I hope someone can help to fix this problem.

    Thanks in advance,

    Dennis de Jong

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am having the same problem on one of my sites – the only one to use 2.7, if that is relevant. Here’s what I found so far, which does not help me but might apply to your theme:
    I also have the problem of the “first character”/”first letter” in this theme; but i solved it.
    The solution is very simple:

    This is the original code of “menu.php”

    ” href=”/”>Home
    ]+)>%U’,’‘, $pages);
    $pages = str_replace(’‘,’‘, $pages);
    echo $pages; ?>

    if you remplase “menu.php” for this code:

    ” href=”/”>Home
    ]+)>%U’,’‘, $pages);
    $pages = str_replace(’‘,’‘, $pages);
    echo $pages;
    unset($pages); ?>

    the bug is solved.

    The tip from the other site IS the answer, at least for me. I found that code in my header file, added the “unset($pages);” line into the end of the code, and my posts and excerpts now display. Hope that works for you!

    To find the code, I searched all of the files – it was worth the time. Site LOCKED.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post shows only the first character’ is closed to new replies.