Satch3000 Satch3000 - 1 year ago 72
PHP Question

Wordpress list all posts (excerpt) php loop

I am creating a wordpress template and I now need some code that creates a loop to show all posts but not full posts, just excerpts.

Can anyone help please?

Answer Source

Use this code to generate the excerpt into the loop:



The above will generate only the excerpt of the posts. If you need extra options like post title, date, author and more you have to read the WordPress codex.

You can read more by following the link given by markratledge below.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download