How can I exclude images on my mainpage? I want to do this because I use avatar. I think it looks better when you only see an avatar instead of images included in the posts.
How can I exclude images on my mainpage? I want to do this because I use avatar. I think it looks better when you only see an avatar instead of images included in the posts.
You'll have to go through the theme's index.php file and do some editing.
the_content displays the entire post with the picture.
the_excerpt displays the first 120 words without the pictures or html.
You'll have to change where it uses the_content tag to the_excerpt tag.
Thank you very much, I didn't realize it would be so simple..
Is it possible to change the_excerpt from 120 words to 5 lines?
Or maybe a maximum of pixels or mm?
or in the css you can define a "img { display:none; }" for the main page