• Hello–

    I made a few minor changes to WordPress (nothing that I can track down as the cause) and now my content of each post won’t show, only the title of the post, the author, date and comment.

    I did not change any code regarding the posts, only sidebar code.

    I just can’t figure out why the content of the post is not showing.

    Any ideas?

    Thanks

    Page: (www.jeffjorgy.com)

Viewing 9 replies - 1 through 9 (of 9 total)
  • I see no post content in your index.php, single.php, or feed. Could you have been hacked?

    When you go to edit your posts, is the content missing there as well?

    I just don’t see any spam on your page. Try disabling your ALL of your widgets and plugins and see if the problem goes away. If it does, add them back one by one, testing each time to see if you can ID the culprit.

    Thread Starter jeffjorgy

    (@jeffjorgy)

    When I go to edit the post, all the information (story) is there.

    I am using the Sublte template and the content tag is in there. Here is the main page

    <?php
    /*
    Filename: home.php
    Date: 06-06-25
    Copyright: 2008, Frazier Media
    Author: Christopher Frazier ([email protected])
    Description: Multi-Author Template for WordPress (Subtle)
    Requires:
    */

    $aOptions = get_option(‘gi_subtle_theme’);

    load_theme_textdomain(‘gluedideas_subtle’);

    ?>
    <?php get_header(); ?>
    <!– Content Start –>

    <div id=”loop_articles”>

    <?php

    if ($aOptions[‘lead_cats’] != ”) { query_posts(‘category_name=’ . $aOptions[‘lead_cats’]); }

    if (have_posts()) :

    $iLeadIndex = 0;

    while (have_posts()) : the_post();

    $iLeadIndex++;
    $sPostClass = ”;
    $bShowContent = true;

    if ($iLeadIndex <= $aOptions[‘lead_count’]) {
    $sPostClass .= ‘ lead’;
    $bShowContent = true;
    } else {
    $sPostClass .= ‘ summary’;
    $bShowContent = false;
    }

    if ($iLeadIndex == $aOptions[‘lead_count’] + 1) {
    echo (‘<h2>’ . __(‘Previous Articles’) . ‘</h2>’);
    }

    ?>

    <div id=”post_<?php the_ID(); ?>” class=”post<?php echo($sPostClass); ?>”>
    <h3 class=”title”>“><span><?php the_title(); ?></span></h3>
    <ul class=”metalinks”>
    <li class=”icon author”><?php _e(“Posted by”, ‘gluedideas_subtle’); ?> <?php the_author_posts_link(); ?>
    <li class=”icon date”><?php the_time(get_option(‘date_format’)) ?>

    <?php if ($aOptions[‘show_metalinks’]) : ?>
    <ul class=”metalinks”>
    <li class=”icon comment”>#comments”><?php comments_number(__(‘No Responses’, ‘gluedideas_subtle’),__(‘One Response’, ‘gluedideas_subtle’),’% ‘ . __(‘Responses’, ‘gluedideas_subtle’)); ?>
    <li class=”icon delicious”>&title=<?php echo urlencode(get_the_title()); ?>”>Del.icio.us
    <li class=”icon digg”>Digg
    <li class=”icon technorati”>“>Technorati

    <?php endif; ?>
    <br class=”clear” />
    <?php if ($bShowContent) : ?>
    <div class=”content”>
    <?php the_content(”); ?>
    <ul class=”links”>
    <li class=”icon jump”><?php if (strpos(get_the_content(‘^&^&’), ‘^&^&’) > 0) : ?>#more-<?php the_ID(); ?>”>Continue reading<?php endif; if (‘open’ == $post->comment_status) : ?><?php if (strpos(get_the_content(‘^&^&’), ‘^&^&’) > 0) { echo(” or “); } ?>#comments”><?php _e(“Leave a comment…”, ‘gluedideas_subtle’); ?><?php elseif (get_comments_number() > 0) : ?><?php if (strpos(get_the_content(‘^&^&’), ‘^&^&’) > 0) { _e(” or “, ‘gluedideas_subtle’); } ?>#comments”><?php _e(“Read comments…”, ‘gluedideas_subtle’); ?><?php endif; ?>
    <?php if ($aOptions[‘show_feedflare’] && $aOptions[‘feedburner’] != ”) : ?>
    <script src=”https://feeds.feedburner.com/~s/&lt;?php echo(str_replace(‘https://feeds.feedburner.com/&#8217;, ”, $aOptions[‘feedburner’])) ?>?i=<?php the_permalink() ?>” type=”text/javascript” charset=”utf-8″></script>
    <?php endif; ?>

    </div>
    <?php endif; ?>
    </div>

    <?php

    endwhile;

    else :

    ?>

    <h2><?php _e(“Oops – There’s Nothing Here”, ‘gluedideas_subtle’); ?></h2>
    <p><?php _e(“It looks like the blog owner hasn’t written anything yet!”, ‘gluedideas_subtle’); ?></p>

    <?php

    endif;

    ?>

    </div>

    <?php if ($aOptions[‘description’] != ”) : ?>
    <div id=”information” class=”prominent reduced”><div class=”inner”>
    <?php echo($aOptions[‘description’]); ?>
    </div></div>

    <?php endif; ?>

    <div id=”widgets” class=”widgets_home”>
    <div id=”widgets_home_a” class=”widget_set reduced”><?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Sidebar_1’) ) { get_sidebar(); } ?></div>
    <div id=”widgets_home_b” class=”widget_set reduced”><?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘Sidebar_2’) ) { echo(‘ ‘); } ?></div>
    </div>

    <!– Content End –>
    <?php get_footer(); ?>

    Oh my, what complex theme code!

    Try switching to the default theme and see if your post content appears. If it does, then the problem is in your theme.

    HI there, just a thought, but,if your posts are showing up, when you go to manage posts. on the right, are they showing as published.
    Sounds silly but they may simply be in pending mode, you may have saved them, but not published.
    hope it works out. mike

    Thread Starter jeffjorgy

    (@jeffjorgy)

    Thanks for the help, but no luck.

    Default theme displays the same results and the items are published (the title of the posts are appearing).

    Still working on it….

    I have this same problem. The posts bodys to not appear on the blog, but do appear in the edit screen. The titles do appear (and are published). Changing the theme to the default has the same problem. This started after, but not immediately after upgrading WordPress. Does anyone have a better idea of what’s happening or how to fix it now?

    Oh, and comments are doing the same thing.

    OK, I figured it out I guess. The markdown plugin, when activated, seems to cause the body text of posts and comments in my wordpress blog to not display, that is, disappear, despite the titles and other things showing. (sorry for the wordiness, but I figure this might help someone like me who was looking for answers on google, etc.)

    Sorry; I swear I tested this specific solution before, though.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Post have title, no content….’ is closed to new replies.