You appear to be a bot. Output may be restricted
Description
Implement "oik_shortcode_result" for pagination
Usage
$string = oik_navi_shortcode_result( $result, $atts, $content, $tag );
Parameters
- $result
- ( string ) optional – the result of the shortcode expansion so far
- $atts
- ( array ) optional – shortcode parameters – including our amendments
- $content
- ( string ) optional – future use
- $tag
- ( string ) optional – future use
Returns
string the modified resultSource
File name: oik/includes/oik-shortcodes.phpLines:
1 to 12 of 12
function oik_navi_shortcode_result( $result=null, $atts=null, $content=null, $tag=null ) { $posts_per_page = bw_array_get( $atts, "posts_per_page", null ); if ( $posts_per_page ) { oik_require( "shortcodes/oik-navi.php" ); // belt and braces oik_navi_s2eofn_from_query( $atts ); $prepend = bw_ret(); $result = $prepend . $result; oik_navi_lazy_paginate_links( $atts ); $result .= bw_ret(); } return( $result ); }View on GitHub View on Trac