HTML table from shortcode with multiple parameters
I have created an example of how you can achive what you are after: You can use it like this : [itable data=”inv;coin;coinamount;currency#inv;coin;coinamount;currency”] function itable_shortcode( $atts ) { extract( shortcode_atts( array( ‘data’ => ‘none’, ), $atts ) ); $data = explode(‘#’,$data); $output = “”; foreach ($data as $value) { $output .= ‘<tr>’; $in_value = explode(‘;’,$value); … Read more