Displays a list of Custom Posts Type entries in a sidebar.
You can alternatively include a shortcode on any page to show the list. The options are the same as for the widget. [custpost post_type="" trunc="" pformat="" title="" count="" orderby=""] * post_type=post, page or a valid custom post type * title=title above list * count=max number of items (use -1 to display all), also valid values are 'day' for today, 'day1', 'day2', etc. to display posts from the last n days. * trunc=default true - shorten long titles to 32 characters, false use long titles. * pformat=post formatting options, either br (simple list), drop (dropdown list), ul (unordered list) * orderby=order of posts (valid sql order by clauses). Valid order values: * post_date * post_date desc * upper(post_title) * comment_count desc,post_date desc * upper(post_author), upper(post_title) * upper(post_author), post_date desc * random - randmomize list each time displayed.
Requires: 3.0 or higher
Compatible up to: 3.1.4
Last Updated: 2011-2-18
0 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?