I'm trying to make a page that has all the posts in it and shows 30% or less of the content of the post. So I'm editing a page template and I can't figure out how to show only 30% of the content. I'm new to this so please don't spam me with "go google it you noob" , stuff like that. Thank you in advance and have a nice day!
Go with the_excerpt.
It does what it is supposed to do. Give you an excerpt of your post.
Traditionally, it is set to display the first 55 words of your post. You can tweak it using filters to give more (or less) if needed to be.
As Marco said, use the excerpt to achieve that.
You can change the the_excerpt() function length using the following filter
You can add it to your theme functions.php file.
Alternatively, you may want to create a new function where you can have a better control over the content that will be display, I use the following function to achieve that sometimes:
You can then use it like this: