Show Posts Title Only in WordPress Blog Frontpage
How to show only the titles of articles / posts on the frontpage / homepage of WordPress-powered blog without displaying the contents?
This tutorial works for self-hosted WordPress blog, not in WordPress.com or any other free wordpress blog where you don’t have access to edit the index.php file.
Follow these steps
- Login to your self-hosted WordPress blog
- Appearance -> Editor
- Click Index.php -> find this code
<?php the_content(); ?> - Delete and replace with the following code at #5:
<?php
if ($single) {
the_content();
}
else {//no content, nothing.
}
?>- Update File. Done.
14 Comments
Post a comment


Ijin copy, siapa tau nanti saya gunakan!
i’ll bookmark this! but, for what purpose?
some wordpress blogger just want do that for many purposes some are to save space small in the frontpage with many headlines links and thus make room for putting other messages or ads
i see… thanks for the reply sir
G bisa WP nih ^^
kalo di blogger ??
Untuk wordpress self hosted ya mas…
Makasih untuk tipsnya mas…
Saya simpan dulu…
Not working to my.
nice job…. ill try this at my blog… thx sir..
nice tips Mas Fatih.
tahnk’s for this article. this great job.