Hi everyone,
im working on a blog that has single entries which need to link between ‘next/previous’ entries. I’ve successfully used the channel next_entry & previous_entry tags, but the problem im having is trying to show the custom channel fields for those entries (in my case ‘{sub_title}’ and also the entry dates for those entries.
I couldn’t find any parameters that will help me pull the specific channel field of the entries:
http://ellislab.com/expressionengine/user-guide/modules/channel/entry_linking.html
I’ve been trying to fiddle with using channel tags and the orderby & sort tags without luck
{exp:channel:prev_entry channel="restaurant_reviews" status="open"}
<div class="footer-back"><a href="http://{path=food/review}">BACK</a></div>
<div class="footer-left">
<strong>{title}</strong> {sub_title}
<a href="http://{path=food/review}">view post</a> | {entry_date format="%m-%d-%Y"} | {total_results} Comments
</div><!-- end .footer-left -->
{/exp:channel:prev_entry}
{exp:channel:next_entry channel="restaurant_reviews" status="open"}
<div class="footer-nextpost"><a href="http://{path=food/review}">NEXT POST</a></div>
<div class="footer-right">
<strong>{title}</strong> {sub_title}
<a href="http://{path=food/review}">view post</a> | {entry_date format="%m-%d-%Y"} | 3 Comments
</div><!-- end .footer-right -->
{/exp:channel:next_entry}please let me know if there is a workaround that i haven’t been able to find or code that Im missing out on
Thanks!