anyone know why my wp posts only display the first part of the text.

Discussion in 'WordPress' started by regencytimberbuildings, Nov 9, 2008.

  1. #1
    I would appreciate help if someone can help me please.

    When I write a post in my wordpress blog only the first part of the text is displayed in the blog.

    E.G.
    I past a 250 word article in using the admin panel.
    When the post is published only the first paragraph or so shows up on the blog, perhaps the first 100 words or so.

    When I go to edit the post the full 250 words are still there but they wont display once published.

    Any ideas?
     
    regencytimberbuildings, Nov 9, 2008 IP
  2. CrystalsQuest

    CrystalsQuest Peon

    Messages:
    78
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There's two possible reasons:
    In your admin panel, check under settings/reading and about 3/4 down the page you have an option to either display full post or summary when the post is displayed as part of a feed. That may fix it for you.
    Alternatively, a lot of themes have the front page set to only display excerpts. If your theme has an options page (design/xxx theme options or settings) then look in there for a way to select it. If you don't have that, you may need to go back to your theme designer and browse their help forums.

    CrystalsQuest
     
    CrystalsQuest, Nov 9, 2008 IP
  3. regencytimberbuildings

    regencytimberbuildings Active Member

    Messages:
    991
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thanks.
    Looked at both of those things, its set to show full post.
    And I cant see a theme option covering that.

    Any one else know?
    I can send the url to anyone if they are interested in helping/taking a look.

    Thanks!
     
    regencytimberbuildings, Nov 9, 2008 IP
  4. UIS4821

    UIS4821 Peon

    Messages:
    354
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You might have the "excerpts" enabled. That would be a "Settings" Issue. Hopefully, its an easy fix like that.
     
    UIS4821, Nov 9, 2008 IP
  5. tricks.computer

    tricks.computer Banned

    Messages:
    204
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    is might be the problem
     
    tricks.computer, Nov 9, 2008 IP
  6. dpsubi1

    dpsubi1 Notable Member

    Messages:
    9,318
    Likes Received:
    420
    Best Answers:
    0
    Trophy Points:
    280
    #6
    are you using <!-- more --> in your posts ?
     
    dpsubi1, Nov 9, 2008 IP
  7. regencytimberbuildings

    regencytimberbuildings Active Member

    Messages:
    991
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #7
    Found the problem!
    in settings/ writing
    the Size of the post box was set to 60
    I changed that to 250 and it seemed to solve the problem.

    Thanks all for your input.
     
    regencytimberbuildings, Nov 10, 2008 IP
  8. smub

    smub Notable Member

    Messages:
    3,443
    Likes Received:
    375
    Best Answers:
    0
    Trophy Points:
    230
    #8
    What if your post is longer than 250 words. Then you won't be able to display them.

    Your theme on index.php is using the excerpt code. Change it with the full post code ... all you have to replace is find the word excerpt and replace it with content.
     
    smub, Nov 10, 2008 IP
  9. regencytimberbuildings

    regencytimberbuildings Active Member

    Messages:
    991
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #9
    the following is what is says in index.php
    <?php get_header(); ?>

    <div id="content">

    <?php include (TEMPLATEPATH . '/theloop.php'); ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    nothing about the word excerpt

    Any ideas?
     
    regencytimberbuildings, Nov 10, 2008 IP
  10. smub

    smub Notable Member

    Messages:
    3,443
    Likes Received:
    375
    Best Answers:
    0
    Trophy Points:
    230
    #10
    check your theloop.php
     
    smub, Nov 10, 2008 IP
  11. regencytimberbuildings

    regencytimberbuildings Active Member

    Messages:
    991
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #11
    Ok this is what is says in theloop.php


    <?php /* Headlines for archives */ if ((!is_single() and !is_home()) or is_paged()) { ?>

    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>

    <?php /* If this is a category archive */ if (is_category()) { ?>
    <h2 class="pagetitle">Archive for the &#8216;<?php echo single_cat_title(); ?>&#8217; Category</h2>

    <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>

    <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>

    <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>

    <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    <h2 class="pagetitle">Author Archive</h2>

    <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
    <h2 class="pagetitle">Blog Archives</h2>
    <?php } ?>

    <?php } ?>


    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <div class="post-head">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    <div class="postmetadata">Posted on <?php the_time('F jS, Y') ?> by <?php the_author() ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></div>
    </div>
    <div class="post-content">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    <br />
    <div class="postcategory">Posted In: <?php the_category(', ') ?> </div>
    </div>
    </div>

    <?php endwhile; ?>


    <?php /* Headlines for archives */ if (is_single()) { ?>

    <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>

    <div id="singlepostmetadata">
    <small>
    This entry was posted
    <?php /* This is commented, because it requires a little adjusting sometimes.
    You'll need to download this plugin, and follow the instructions:
    http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    and is filed under <?php the_category(', ') ?>.
    You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.

    <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Both Comments and Pings are open ?>
    You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(true); ?>" rel="trackback">trackback</a> from your own site.

    <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    // Only Pings are Open ?>
    Responses are currently closed, but you can <a href="<?php trackback_url(true); ?> " rel="trackback">trackback</a> from your own site.

    <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Comments are open, Pings are not ?>
    You can skip to the end and leave a response. Pinging is currently not allowed.

    <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    // Neither Comments, nor Pings are open ?>
    Both comments and pings are currently closed.

    <?php } edit_post_link('Edit this entry.','',''); ?>

    </small>
    </div>

    <?php } else { ?>

    <?php include (TEMPLATEPATH . "/navigation.php"); ?>

    <?php } ?>

    <?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; ?>

    Any one know what to edit?
    Thanks.
     
    regencytimberbuildings, Nov 11, 2008 IP