(2013-07-28, 14:23:18)D.O. Wrote: I want my script to show a particular tag
(e.g. http://www.mysite.it/index.php?tag=news )
when you select a normal page
(e.g. if (return_page_slug() == 'news') { ??? } )
How can I do?
Thanks ! =D
You can now use News Manager Addons (since version 0.7) like this:
PHP Code:
<?php
if (return_page_slug() == 'news') {
nm_set_custom_maxposts(99999); // show all
nm_custom_display_recent('
<div class="nm_post">
<h3 class="nm_post_title">
<a href="{{post_link}}">{{post_title}}</a>
</h3>
<p class="nm_post_date">{{post_date}}</p>
<div class="nm_post_content">{{post_excerpt}}</div>
</div>
','news');
}
?>