get the post in wordpress

get the specific post content <?php $page_id = 7; $page_data = get_page( $page_id ); setup_postdata($page_data); the_excerpt(); ( few sentence is show with Readmore ) or the_content(); (All content show) ?>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.