display_related_news

Documentation/display_related_news

 

Description

Outputs the related news for the news article, if any related is found.

The related news is output as list items.

This tag may only be used within The Loop,

 

Usage

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

 

Example Output

<ul class="related_articles">
<li>
<img alt="" src="http://g.etfv.co/http://www.mashable.com" width="16" height="16" /> 
<a href="http://feeds.mashable.com/~r/Mashable/~3/mnaYTufipVM/" target="_new">
March Madness: 26% Use Mobile as Main Viewing Device</a>
</li>
<li>
<img alt="" src="http://g.etfv.co/http://www.mashable.com" width="16" height="16" /> 
<a href="http://feeds.mashable.com/~r/Mashable/~3/AKAdAfQ_8LU/" target="_new">
Jimmy Kimmel Helps You Feign Interest in March Madness</a>
</li>
<li>
<img alt="" src="http://g.etfv.co/http://www.mashable.com" width="16" height="16" /> 
<a href="http://feeds.mashable.com/~r/Mashable/~3/UW-7Dwc6PKI/" target="_new">
March Madness for the Connected Generation</a>
</li>
<li>
<img alt="" src="http://g.etfv.co/http://www.mashable.com" width="16" height="16" /> 
<a href="http://feeds.mashable.com/~r/Mashable/~3/GUhf6v4qlxI/" target="_new">
9 Hilarious Tweets About March Madness Troll Marshall Henderson</a>
</li>
<li>
<img alt="" src="http://g.etfv.co/http://www.mashable.com" width="16" height="16" /> 
<a href="http://feeds.mashable.com/~r/Mashable/~3/91EnmZZwMt0/" target="_new">
10 Students Getting Nothing Done Because of March Madness</a>
</li>
</ul>

 

Parameters

No parameters are accepted.

Web Statistics