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.
Hi I want to do this but I am using the 2010 Weaver theme and the index.php file does not have
Where do I find that part?
wah bgs juga neh triknya, perlu dicoba, thx mas …