WordPress.org

Support

Support » How-To and Troubleshooting » Posts not showing up

Posts not showing up

  • Hello all. I’m not sure if this is the right area to post in or even if you can help me via here, but I am running into some problems. I have created a wordpress site and my posts show up on the on the home page, but when I click on a post, the context of the post does not show up.

    The site url is http://www.post34baseball.org

    There is currently only one post up there, as I want to try to eliminate this problem before I continue. Any suggestions or help would be extremely beneficial. Thanks in advance!

    [No bumping. If it’s that urgent, consider hiring someone.]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Could be a ton of reasons. First thing I would do is find the “page.php” file in your theme and make sure the “get_content()” line is included in it.

    bythegram…. thanks for the response. This is what the page.php file shows. I am not so great in php so please tell me what I’m missing.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    um. I’m not amazing at this yet so my apologies if I’m wrong but;

    a) I don’t believe you need the if (have_posts() ) portion there.
    b) If it is there for a reason that I’m missing it isn’t closed ie <?php endif;?>

    I’d rewrite the div id “content” to this:

    <div id="content" role="main">
    <?php while ( have_posts() ) : the_post(); ?>
    				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    				<div class="entry-title-wrap"><h1 class="entry-title" ><?php the_title(); ?></h1></div>
    					<div class="entry-content">
    						<?php the_content(); ?>
    					</div><!-- .entry-content -->
    <?php endwhile; ?>
    			</div><!-- #post -->

    See if that does the trick. Just a guess on my part

    Thanks… but unfortunately it didn’t work. This is what it’s reading now. Like I said my PHP is horrible. I can do graphics, theme layout and more, but this is beyond me apparently.

    [ Code moderated. For more than 10 lines of code please pastebin.com instead. ]

    try using pastebin to show your code and I’m sure someone will find the fix for you

    Thanks for the effort… right now no one on pastebin has tried fixing it yet… Anyone else on here want to give me a shot at helping? This is the only thing that’s preventing us from using this as a team site right now.

    Thanks!!

    The pastebin link is here thanks.

    I took a further look and it’s hard for me to troubleshoot without being able to test (just the way I work) but I made some changes;

    try this

    nope sorry I can already tell I made a mistake. give me a minute

    Any updates? Sorry it took so long for me to get back to you… I was stuck at work without a way to get on the net today. If you wouldn’t mind, email me here and I’ll set you up with a temp password and we can see if we can get it working…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Posts not showing up’ is closed to new replies.
Skip to toolbar