I needed help in being able to use Soundcloud and Bartonsweb did a tremendous work helping me out and at the end we were able to find a solution. Thanks to Bartonsweb, who did 98% of the work and I'm grateful to him.
To be able to add Soundcloud audios to a post simply copy and paste this code into kfunctions.php and voila you are good to go.
Code: Select all
$FUNCS->register_shortcode( 'soundcloud', 'soundcloud_handler' );
   function soundcloud_handler( $params, $content=null ){
      global $FUNCS;

      extract( $FUNCS->get_named_vars(array(
         'url' => '',
         'height' => '166',
         'width' => '100%',
         'params' => 'color=0066cc',
      ), $params) );
    $src = "https://w.soundcloud.com/player/?url=" . "$url" . "&" . "$params";
   $html =<<<EOS
<iframe width="$width" height="$height" scrolling="no" frameborder="no" src="$src"></iframe>
EOS;

   return $html;
   }


NB: To use sound clouds audio in your project just search for the audio you want and using their embed link, copy the wordpress version of the code and paste in your post or project. That's all