You appear to be a bot. Output may be restricted
Description
Display posts using the [bw_navi] shortcode
Usage
bw_navi_posts( $posts, $atts, $start );
Parameters
- $posts
- ( array ) optional –
- $atts
- ( array ) optional –
- $start
- ( integer ) optional –
Returns
voidTO DO
If we want an ordered list then we should add the start number to the list. So we need to know the page number and posts_per_pageSource
File name: oik/shortcodes/oik-navi.phpLines:
1 to 12 of 12
function bw_navi_posts( $posts=null, $atts=null, $start=null ) { oik_require( "shortcodes/oik-list.php" ); if ( !$start ) { $start = bw_navi_start_from_atts( $atts ); } $ol = bw_sl( $atts, $start ); foreach ( $posts as $post ) { bw_format_list( $post, $atts ); } bw_el( $ol ); return( $posts ); }View on GitHub View on Trac