Get custom field data on Blog Page

<?php
	// Determine context
	$page_id = ( 'page' == get_option( 'show_on_front' ) ? get_option( 'page_for_posts' ) : get_the_ID );
	// Echo post meta for $page_id
	echo get_post_meta( $page_id, 'page_title_two', true );
?>

Leave a Reply