I have created an "about us" page as I am currently in developing for a client's website.

It has a couple of paragraphs, the title & a feature image. What I would like to do is be able to grab all three of them and place them in the home page. How would I go around and do that?


You can use get_page_by_title() or get_page_by_path() to retrieve page object that will have title and content (which you might need to further process a bit, depending on how complex it is).

And if I remember right get_the_post_thumbnail() gives you featured image.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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