You appear to be a bot. Output may be restricted
Description
Produce a read_more link as required ( block )If the read_more parameter is blank then we don't include the read more link otherwise, we do using the value given, allowing each post's excerpt to have overridden the value through the <!–more custom_read_more –> tag
Usage
bw_format_read_more( $post, $atts );
Parameters
- $post
- ( post ) required – the actual post from which we extract the ID
- $atts
- ( array ) required – shortcode parameters – which may contain read_more=
Returns
voidSource
File name: oik/includes/bw_posts.phpLines:
1 to 9 of 9
function bw_format_read_more( $post, $atts ) { $read_more = bw_array_get( $atts, "read_more", true ); if ( trim( $read_more ) !== '') { sp(); $read_more = bw_more_text( null, $atts ); art_button( get_permalink( $post->ID ), $read_more, $read_more ); ep(); } }View on GitHub View on Trac