ID,'area_code',true); $Statistics = get_post_meta($post->ID,'statistics',true); //$published = get_post_meta($post->ID,'published',true); $banner_asset=wp_get_attachment_url(get_post_thumbnail_id($post->ID)); $advert_title=get_the_title( $post->ID ); $preview=str_replace('%featured_image%',$banner_asset,$area_code) ; $preview=str_replace('%title%',$advert_title,$preview) ; ?>
Ad Code:

Provide any code for the advertisement, e.g. AdSense code. The following example contains an image in the ad:
') ?>

Useful tags: %featured_image%, %title%, target="_blank", rel="nofollow",

Click on on a tag to add them to your advertisement code. Place target="_blank" attribute to your link, or use %featured_image% as the value of src attribute in ') ?> tag.

Preview:
Statistics: />

Enable tracking of impressions and clicks for this advertisement.