How to display attached thumbnail and excerpt (about 200 words) of a page on homepage?
<?php $page_data = get_page( 401 ); // Get page ID 401 echo '<h3>'. $page_data->post_title .'</h3>'; echo apply_filters('the_content', $page_data->post_content); ?>
I don't know how to display attached image as thumbnail. May be i use mb_substr php function to cut the content to the excerpt.
Sorry, my english is not good. :) Thanks for help!