[Resolved] Displaying first paragraph of a page on another page?
I’m trying to display the first paragraph from one of my Pages on another Page. So for example, I have a page that has three paragraphs containing my biography and I want to put ONLY the first paragraph of that page on my static homepage.
I got the page to display on the homepage using this:
<?php $include = get_pages('include=205'); $content = apply_filters('the_content',$include->post_content); echo $content; ?>
But I don’t know how to make it display only the first paragraph because that code displays everything that is on the page. Help!
- The topic ‘[Resolved] Displaying first paragraph of a page on another page?’ is closed to new replies.