WPIntell

Source evidence

Featured image

WP Bootstrap Carousel · support · 2015-01-14T15:35:00+00:00

mixedsentiment
lowseverity
0.62relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 26 rows with source links

15.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
PaulMyatt resolved
Is there a way to include a post’s attached images AND the featured image? https://wordpress.org/plugins/wp-bootstrap-carousel/ @paulmyatt , sure, you can filter the default pairs (the supported attributes and their defaults) with the wp_bootstrap_carousel_shortcode_atts filter: add_filter( 'wp_bootstrap_carousel_shortcode_atts', 'my_wp_bootstrap_carousel_shortcode_pairs', 10, 1 ); function my_wp_bootstrap_carousel_shortcode_pairs( $pairs ) { $pairs['exclude'] = ''; return $pairs; } This approach still allows you to exclude the thumb manually, if necessary, by using the thumb’s ID with exclude param in the shortcode tag. Another and more permanent option would be to filter the $atts (the user defined attributes in the shortcode tag) that are passed through the dynamic shortcode_atts_{$shortcode} filter: add_filter( 'shortcode_atts_carousel', 'my_wp_bootstrap_carousel_shortcode_atts', 10, 1 ); function my_wp_bootstrap_carousel_shortcode_atts( $atts ) { $atts['exclude'] = ''; return $atts; } Marking this topic as resolved. @paulmyatt if you got more questions, let me know.

Comments

2 shown
Peter J. Herrel 2015-01-16T18:42:00+00:00

@paulmyatt , sure, you can filter the default pairs (the supported attributes and their defaults) with the wp_bootstrap_carousel_shortcode_atts filter: add_filter( 'wp_bootstrap_carousel_shortcode_atts', 'my_wp_bootstrap_carousel_shortcode_pairs', 10, 1 ); function my_wp_bootstrap_carousel_shortcode_pairs( $pairs ) { $pairs['exclude'] = ''; return $pairs; } This approach still allows you to exclude the thumb manually, if necessary, by using the thumb’s ID with exclude param in the shortcode tag. Another and more permanent option would be to filter the $atts (the user defined attributes in the shortcode tag) that are passed through the dynamic shortcode_atts_{$shortcode} filter: add_filter( 'shortcode_atts_carousel', 'my_wp_bootstrap_carousel_shortcode_atts', 10, 1 ); function my_wp_bootstrap_carousel_shortcode_atts( $atts ) { $atts['exclude'] = ''; return $atts; }

Peter J. Herrel 2015-01-28T13:56:00+00:00

Marking this topic as resolved. @paulmyatt if you got more questions, let me know.