How to get title and content according to page name in WordPress.
Get title and content according to page in WordPress
Use the following code in you php page:-
<?php $my_posts=get_page_by_title('yourpagename', OBJECT,'page'); ?>
<?php echo $my_posts->post_title;?>
<?php echo $my_posts->post_content;?>
<img src="<?php echo wp_get_attachment_url( get_post_thumbnail_id($val));?>">
Step:-Give ur page name into ‘yourpagename’ which u set in your DASHBOAD panel in WordPress.Save it Run.
**Page name is case sentative.
Related posts:-

How to display posts from specific category on the front page as feature in Worpress website.

How to Import and Export database in MYSQL using Terminal in UBUNTU?

How To Create Link To External Resources In WordPress Without Plugin ?

How to display post according number using query_posts() in WordPress.
Total Page Visits: 12568 - Today Page Visits: 1