• Hi, I use the templatesnet toolkit with i-excel and i-craft theme.

    in the shortcodes.php file of that plugin, there is that function:

    function tx_blog_function($atts, $content = null) {
       	$atts = shortcode_atts(array(
          	'items' => 4,
          	'columns' => 4,
          	'showcat' => 'show',
          	'category_id' => '',
    		'show_pagination' => 'no',
          	'carousel' => 'no',
       	), $atts);
    	$width = 600;
    	$height = 320;

    and on every update, I have to re-edit it to change height (I have square icons).

    why not making that plugins functions pluggable? a simple if function exist could be the solution

    https://ww.wp.xz.cn/plugins/templatesnext-toolkit/

The topic ‘why not making plugin functions pluggable?’ is closed to new replies.