Bad default behavior in crp_shortcode()
-
In crp_shortcode() you’re calling
extract( shortcode_atts( array( 'limit' => '5', 'heading' => '1', 'cache' => '1', ), $atts ) );
which is actively ignoring and overriding the settings provided in the admin area resulting in confusing behavior. You shouldn’t be providing overrides by default – it should act the way it’s set to act in the admin unless specified otherwise.
https://www.ads-software.com/plugins/contextual-related-posts/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Bad default behavior in crp_shortcode()’ is closed to new replies.