Support Forum
its clearer now, yes... but afraid we dont have anything built in that does that... frankly, we have not ever had anyone that I can recall request such a thing... 99.9% of the folks want go to the last post for obvious reasons...
but we might be able to use our api and hooks and filters to get you what you want...
first, use the newest topics template tag like recommended before... if you only want it for a specific forum, remember to add the forum id argument(see http://codex.simple-press.com/.....st-topics/).... then add this code to our spFunctions.php of your sp theme (as always this should be yours - see: http://codex.simple-press.com/.....g-a-theme/):
add_filter('sph_NewestTopicsTag_args', 'my_newestopics_args'); function my_newestopics_args($args) { add_filter('sph_post_list_record', 'my_query_filter', 10, 2); return $args; } function my_query_filter($list, $record) { remove_filter('sph_post_list_record', 'my_query_filter', 10, 2); $list->post_permalink = sp_build_url($record->forum_slug, $record->topic_slug, 0); return $list; }
playing a little double filter dance there to keep from affecting other uses of the list post class... must also say I have not tested this...
Visit Cruise Talk Central and Mr Papa's World
I spoke too soon....hehe
It works for the most recent topic...but the rest in the "list" link to the most recent post.
http://www.werejustparents.com/ (See bottom right hand corner in sidebar)
Site is in BETA - so no hurries.
take out the remove_filter line...
shouldnt be removed until after all have been done... and then add this in:
apply_filters('sph_NewestTopicsTag', 'my_query_remove'); function my_query_remove($out) { remove_filter('sph_post_list_record', 'my_query_filter', 10, 2); return $out; }
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)