WordPress.org

Forums

Blank Posts Showing (4 posts)

  1. Milind Joshi
    Member
    Posted 1 year ago #

    Hello,

    I'm very new to WordPress and trying to fix a problem. There is a 'Blog' page on the website that shows all the blog posts/entries. When someone views the 'Blog' page, all the posts appear just fine. But, when someone clicks on the header text of any entry, a blank page is shown.

    Can someone help me fix this? How do I make it work?

    Thanks.
    - Milind

  2. alchymyth
    Forum Moderator
    Posted 1 year ago #

    when someone clicks on the header text of any entry

    this link should lead to the single post, which might get generated by single.php of your theme ( http://codex.wordpress.org/Template_Hierarchy )

    what theme are you using?

    what is the code of single.php of your theme?

    can you post a link to your site?

    try to get some debugging info: http://codex.wordpress.org/Debugging_in_WordPress

  3. Milind Joshi
    Member
    Posted 1 year ago #

    Hello alchymyth,

    Yes, when someone click on the header they are taken to a single page but that's the one that shows up blank.

    I'm using a custom theme that was developed by a third-party. This website is for a non-profit organization and I am a volunteer who is trying to maintain the website (www.consciousglobalchange.org/)

    By looking at the code I think single.php is broken/incomplete. This is the last line in the php file in question:

    $postsNum = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->pos

    How do I restore the single.php file?

    Thanks.
    - Milind

  4. alchymyth
    Forum Moderator
    Posted 1 year ago #

    I'm using a custom theme that was developed by a third-party.

    you will need to contact the third party for support.

Topic Closed

This topic has been closed to new replies.

About this Topic