ExpertPixels.com
Well-known member
The above code by xf_phantom will limit it to 5 threads, are you receiving more? The second snippet from xf_phantom (fixed below) should trim the content to 48 words:
PHP:<?php echo ('<div class="entry-meta"><a href="' . XenForo_Link::buildPublicLink('canonical:threads', $thread) . '">' . XenForo_Helper_String::wholeWordTrim($thread['title'], 48) . '</a> <span style="float:right; margin-right:60px">Viewed: ' . $thread['view_count'] . '</span><br /></div>');
If you provide the actual code you are using, I may be able to provide more help.
Everything is working fine now and ive found a bunch of options / variables i can use but am struggling to get the actual content to display, the thread titles are displaying fine just no content... The idea being i could display a snippet of the thread under each title... I am coming from a WP background and with that it was very easy to set a post excerpt length whereas i am struggling with xf.. I will keep mucking around until i suss it out.
Thanks everyone for your help.