Hi
I was wondering if it is possible when I use the shortcode method via kfunctions.php that I can use the cms:embed tag?
I wrote this code:
But it spits out this in my source code:
The code in the html works fine if I put it directly on the page.
Thanks!
I was wondering if it is possible when I use the shortcode method via kfunctions.php that I can use the cms:embed tag?
I wrote this code:
- Code: Select all
<?php
$FUNCS->register_shortcode( 'form_action', 'form_action_handler' );
function form_action_handler( $params, $content=null ){
return '<cms:embed "form_action.html" />';
}
But it spits out this in my source code:
- Code: Select all
<cms:embed "form_action.html">...</cms:embed>
The code in the html works fine if I put it directly on the page.
Thanks!