You appear to be a bot. Output may be restricted
Description
Implement [bw_testimonials] shortcode
Defaults: * numberposts=5, post_type=oik_testimonials, orderby=rand
Usage
$expanded = bw_testimonials( $atts, $content, $tag );
Parameters
- $atts
- ( array ) optional – shortcode parameters
- $content
- ( string ) optional – not expected
- $tag
- ( string ) optional –
Returns
expanded shortcode
Source
File name: oik-testimonials/shortcodes/oik-testimonials.php
Lines:
1 to 13 of 13
function bw_testimonials( $atts=null, $content=null, $tag=null ) { bw_testimonials_jq( $atts ); $atts['numberposts'] = bw_array_get( $atts, "numberposts", 5 ); $atts['post_type'] = bw_array_get( $atts, "post_type", "oik_testimonials" ); $atts['orderby'] = bw_array_get( $atts, "orderby", "rand" ); $atts['post_parent'] = 0; oik_require( "shortcodes/oik-pages.php" ); e( bw_pages( $atts )); ediv(); return( bw_ret()); }