Support » Fixing WordPress » How to show full posts on frontpage

Viewing 14 replies - 1 through 14 (of 14 total)
  • I have uploaded my index.php code here –

    Can you post your front-page.php code as well?

    If you mean the function.php here it is:

    That’s not what I was looking for. In your theme’s folder with functions.php and index.php that you posted there should also be a front-page.php (maybe). If not let me know.

    no there is no front-page.php im afraid. there’s other files like blog.php single.php archive.php.

    Moderator kmessinger


    Start a basic debug routine.

    – deactivating all plugins (yes, all) to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). If you can’t get into your admin dashboard, try resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder if you have one. The easiest way is to rename that folder to mu-plugins-old.

    – switching to the Twenty Eleven theme to rule out any theme-specific problems. If you can’t log in to change themes, you can remove the theme folders via FTP so the only one is twentyeleven. That will force your site to use it.

    Just judging by your home page output, I would guess that your blog is using the_excerpt rather than the_content. It could be located in that lib/blog.php file.

    @kmessinger its not a bug, this theme creates shortened posts on the homepage, i just have to find some lines in one of the files and edit it to make it full posts.

    Jacob Chappal – here is the blog.php –

    Moderator kmessinger


    Looks like you can change the length of the excerpt in the functions.php file.

    Have you asked the theme developer?

    @wordpressmania Ah, there we go. Try changing this bit:

    wpe_excerpt('wpe_excerptlength_index', '');

    to this:


    Using the_content() will always output the full content regardless of the excerpt’s registered length.

    I have now changed to this as suggested:

    <?php the_content(); ?>

    But it doesn’t work for me.

    Hmm, I don’t see how that didn’t work unless one of the included files is hooking into the_content and replacing it with an excerpt or something bizarre and unusual like that.

    Looking through the functions.php file you provided, the wpe_excerpt('wpe_excerptlength_index', ''); line is printing an excerpt with a length of 70 as defined by that wpe_excerptlength_index callback function.

    I found a file named blog-home.php I changed one of the lines to what you suggested and it worked!!! Thanks very much, your help is appreciated.

    You’re very welcome. Glad you got everything resolved 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to show full posts on frontpage’ is closed to new replies.