WordPress.org

Forums

Blog posts not showing up on blog page (26 posts)

  1. dandaman2010
    Member
    Posted 5 years ago #

    Hi,

    I have specified a page in settings to become the blog part of my site. However, since deleting the standard blogs that come with the theme, and then creating my own first post - it doesnt seem to be showing on the blog page!

    Anyone got any ideas why this is?

    Thanks
    Dan

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Site url?

  3. dandaman2010
    Member
    Posted 5 years ago #

    I'm opening myself up to critisism here.....

    http://www.seo-consulting-services.co.uk/

    before you do criticise, please bear in mind that its just a holding site until i can create my own site, in my own time.

    The problem is on the "SEO BLOG" page.... no posts appearing.

    Thanks
    Dan

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    No criticisms here - though I noticed that you've got a typo in your image table on your otherwise completely valid home page. heigh instead of height. :-)

    Spotted one possible problem with your posts - their urls: Eg:

    http://www.seo-consulting-services.co.uk/index.php/seo-consulting-services-starts-up/

    /index.php/ ??

    What custom permalink structure are you using?

    What I'd suggest is that you set up a new page called Blog and then set this as your posts page via Admin/Settings/Reading.

  5. dandaman2010
    Member
    Posted 5 years ago #

    Thanks for the kind response - and thanks for pointing out the typo.

    With regards to the permalinks i have the following set up -

    /index.php/%postname%/

    But i found that when i removed the /index.php/ part of the structure, the site broke. Any ideas?

    I'll try and re-do the blog page and see if this fixes the problem. thanks again Esmi and i hope you can still help with the permalink issue, as that would be superb for SEO reasons and all that.

    Thanks
    Dan

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    start your permalink structure with the category, tag, author, or postname fields for performance reasons. Start your permalink structure with a numeric field, such as the year or post ID - eg:

    /%year%/%postname%/

    or

    /%post_id%/%postname%/

    http://codex.wordpress.org/Using_Permalinks

    Also check the urls entered in Admin/Settings/General. Assuming that WP in is the root of the domain, they should be:

    http://www.seo-consulting-services.co.uk

    No trailing '/'

  7. dandaman2010
    Member
    Posted 5 years ago #

    Hi Esmi,

    Thanks again for hte advice.

    I still cant get the blog posts to appear on the blog post page though! I've deleted the old blog page, recreated it and then re asigned that page as the post page, but they're still not showing up.

    Any ideas?

    Thanks
    Dan

  8. esmi
    Forum Moderator
    Posted 5 years ago #

    What permalink structure are you using now? Where is WordPress installed on this domain? There's something strange going on with either the permalinks or the site urls. And I think that's the root cause behind your empty blog page.

  9. dandaman2010
    Member
    Posted 5 years ago #

    Hi Esmi,

    I haven't changed the permalink structure yet. WordPress is installed in the root of my domain.

    I'm still stumped.....!

    Let me take database back up, and perhaps, if you wouldn't mind, i could give you a login to my site and see if you can spot any issues there?

    What do you think?

    Thanks
    Dan

  10. Matty Cohen
    Member
    Posted 5 years ago #

    Hi dandaman2010,
    I looked over your website briefly and have one idea. My first point of reference would be your index.php file in your theme. All other pages should be using page.php, and they're all working, thus the issue could more than likely be on index.php.

    If you could try making a backup of index.php and copying the loop code from page.php into index.php, you should be able to see posts being displayed (if the posts are set to "published"). They layout may not be exactly what you're after, although getting the posts to display is the first thing, I s'pose. :)

    I hope this helps.

    Cheers,
    Matt.

  11. dandaman2010
    Member
    Posted 5 years ago #

    Hi MAtt,

    Thanks for this, but im not sure i can find the loop code you are referring too......

    a little further help?

    Thanks
    Dan

  12. Matty Cohen
    Member
    Posted 5 years ago #

    Hi Dan,
    The WordPress loop is the code that starts with something like this:

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

    and ends with something like this:

    <?php endwhile; endif; ?>

    If you copy and paste the above code, and all code in between, from your index.php file into a blank txt file (and save it as a backup) and then copy and paste the same code from page.php and paste it in place of the code on index.php, you may be able to then see blog posts (as long as you have published posts).

    We have established, by looking at your website, that page.php is functioning correctly, as it is being used to generate your subpages.

    I hope this helps.

    Cheers,
    Matt.

  13. dandaman2010
    Member
    Posted 5 years ago #

    Matt,

    I F*****ING LOVE YOU!!!!!!

    GENIUS!!! worked like a dream!

    Thanks mate, appreciate it.

    Ever need some good SEO advice, its on the house mate - (word press isnt my expertise ;-)

    Thanks
    Dan

  14. Matty Cohen
    Member
    Posted 5 years ago #

    Hey Dan,
    Thanks man. Glad I could help. :)

    Cheers,
    Matt.

  15. Swu
    Member
    Posted 5 years ago #

    Hi Matt,

    I'm having the same issue, and I tried the solution you provided to dandaman, but no luck. I think my permalinks structure is causing the issue, but i've tried everything. Pretty much all of my pages are set up as static pages, and I wanted to the blog page to show my recent post, but no luck. I'm hoping you can help me with this.
    Here is the site (still in the works) http://www.davecamarillo.com/GJJ2/blog/

    Thanks

  16. Sathish Nagarajan
    Member
    Posted 5 years ago #

    Hi Swu,

    Are you using template page for home page?

  17. Swu
    Member
    Posted 5 years ago #

    Yes, I'm using a static template page for all the pages except the blog page.

  18. Sathish Nagarajan
    Member
    Posted 5 years ago #

    You may use the similar template to index.php and Change Reading settings to show blog post on blog page.

  19. Swu
    Member
    Posted 5 years ago #

    Unfortunately that's the way I have it, but it's not working.

  20. deegoch
    Member
    Posted 5 years ago #

    I'm having the exact same problem as Swu. Any ideas on how to fix this? I've looked through index.php, single.php, page.php, even archives.php but nothing. The link to my site is http://www.chicatonic.ca (not completed yet).

  21. esmi
    Forum Moderator
    Posted 5 years ago #

    Could you actually describe the problem? I can't see anything wrong with your site.

  22. namastemedia
    Member
    Posted 5 years ago #

    hello.. I'm having a similar issue. Our individual pages for each post are not showing up. The format looks like something is off. The text links are showing up larger too. The main page and category pages are fine, just the individual pages are not showing up. Any help would be greatly appreciated. The site is blacksbeach.com

  23. njplaygrounds
    Member
    Posted 5 years ago #

    Ok this is really strange, I had upgraded to WordPress 2.9 and now noticed that some of my posts don't show up.. (they show up in the admin section when I edit, http://njplaygrounds.com/blog-n-photos/wp-content/uploads/2010/03/screen%20grab%20dorbrook.jpg and there is nothing unusually different from these posts, from others that do show up) my site is http://www.njplaygrounds.com/blog-n-photos
    here is a post that works: http://www.njplaygrounds.com/blog-n-photos/?p=630
    and a post that doesn't: http://www.njplaygrounds.com/blog-n-photos/?p=1285

    any advice? it is so frustrating since the post that doesn't show up had some great feedback from people.

    Thanks in advance!
    Sheila

  24. emotainment
    Member
    Posted 5 years ago #

    Not sure I should post this here, but after doing some searches, this topic is pretty much the same as the one I'm trying to resolve. The only difference is that my page.php does not have the same "<?php if(have_posts" code as my index.php file, therefore the solution in the 12th post by mattyza doesn't quite work for me.

    The site was recently changed to a different template, but previously had no issues at all with posts showing up on the Blog page. The reading settings are the same and to my knowledge, there haven't been any changes to the index.php file.

    The site is here: http://prevailpr.com/
    Blog page is here: http://prevailpr.com/blog/

    All other pages work perfectly fine, and all blog posts (100 or so) all show up. Any help would be greatly appreciated.

    Thank you!

  25. patnotman
    Member
    Posted 4 years ago #

    I have a similar problem to this and have tried the solution suggested here but without any result. I have several wordpress installations and have never experienced this before.

    I have set this site up for a customer and am anxious to hand it over to them so that they can post to their blog but the post links just don't work. I've tried just about everything I can think of including communicating with my webhosting provider.

    Can anyone help? The address is http://www.peira.ca

    Thanks

  26. balwinders
    Member
    Posted 4 years ago #

    hey there's no need to edit index.php.........it's a easy task..all you have to do is:
    under setting -> reading
    set Blog pages show at most to 5 or keep on reducing the value till u get ur desired posts.....:)

    enjoy...........

Topic Closed

This topic has been closed to new replies.

About this Topic