Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: 1st line of the first post in a topic?

try this..

create a plugin with this code..

function your_function_name($where) {

global $topic;

return $where . ' AND topic_id = ' . $topic->topic_id;

}

function get_first_post_of_current_topic() {

add_filter('get_latest_posts_where','your_function_name');

get_latest_posts(1);

}

call get_first_post_of_current_topic in the loop where you show tipc name.

let me know if works.. this is just a hunch

cheers

Skip to toolbar