0

I want to show the latest blog post content in my side bar with a read more link.

So how will I do this?

1 Answer 1

0

Use get_posts() and set 'numberposts' to 1. The first and only entry will contain your latest blog post as a post object.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.