Yikes that didnt work as i expected. Ok so maybe for another alternative. Can grab the posts for each tag? Lets say i only want to show posts from one tag. How could i accomplish that? I'm bascially trying to pull the posts from on tag and put it on one page.
Edit: I think i've found what I was looking for. It only shows the post per the tag. However, it doesn't seem to go to the full article when the post_link is clicked. Hmmm....I probably missed something. The links look correct, the url changes but the full text does not come in....more digging
Edit 2: Sorry for all the posts. I ended up fixing. I think...if anyone wants to know here is my code.
This will basically show only the posts that have the tag of 'sales' on the main news page. If you click to the full article the custom display goes away which is great BUT how can i bring back in the meta under the excerpt? I would like to keep the tags....
Edit: I think i've found what I was looking for. It only shows the post per the tag. However, it doesn't seem to go to the full article when the post_link is clicked. Hmmm....I probably missed something. The links look correct, the url changes but the full text does not come in....more digging
PHP Code:
<ul>
<?php
nm_custom_display_recent('
<li><strong><a href="{{post_link}}">{{post_title}}</a></strong><br />
{{post_excerpt}}
<a href="{{post_link}}">Read more</a>
</li>
',
'tagishere');
?>
</ul>
PHP Code:
<?php if (nm_is_home()) {
nm_custom_display_recent('
<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}}...<span class="nm_readmore"><a href="{{post_link}}">Read more</a></span></p></div><div class="nm_post_meta"></div>', 'sales');
} else {
get_page_content();
} ?>
This will basically show only the posts that have the tag of 'sales' on the main news page. If you click to the full article the custom display goes away which is great BUT how can i bring back in the meta under the excerpt? I would like to keep the tags....