associated_news_image

Documentation/associated_news_image

 

Description

Outputs an image that is associated with this news article. The image is automatically obtained when the news source is crawled (if an image is provided), if an image isn’t provided with the news article, it’s also possible for you upload one as a featured image, which will also be output here. This tag may only be used within The Loop,

 

Usage

<?php if (function_exists('associated_news_image')) associated_news_image() ?>

 

Example Output

<img src="
http://tctechcrunch2011.files.wordpress.com/2013/03/screenshot_3_24_13_5_52_pm.png?w=150" 
style="max-height:75px;max-width:75px;min-width:75px;
">

Parameters

No parameters are accepted.

Web Statistics