Support Forum

Showing recent posts/using template tags in 5.0

CO CoMPa
CoMPa
Member

Digging through the template tag plugin I managed to complete a list using 

sp_RecentPostsTag($defs);

but didn’t manage to get

sp_recent_posts_expanded(10,0);

working (failing with a Call to undefined function sp_recent_posts_expanded())

Any ideas? Did I miss some checkbox somewhere? From the sub level directory I get that both should be loaded to include?

4 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

No the ‘expanded’ version has not been completed yet. Still not sure if it will be retained to be honest.

CO CoMPa
CoMPa
Member

Would be nice if it be possible to do the first one to an array instead of a pre formatted string then … could write my own based on the available code of course 🙂

YS Yellow Swordfish
Yellow Swordfish
Member

OK…. so what would be the point of having a template tag or widget without the html? There is no inline styling. Everything is given a class for you to style with. And it is already coded up with a huge bunch of options and parameters that there ain’t much it probably won’t do.

But sure – if you want to reinvent the wheel and just get the data then all you need to do is instantiate the class and you get your data object.

CO CoMPa
CoMPa
Member

I understand what your meaning but using the normal output won’t play nicely with the markup, but I’ll give it a shot playing with our CSS …

We switched our site to WP3.3/SP5.0 after two weeks of testing, all seems fine for now …

Tnx and keep it up!