Paolo,
I’m trying to use a shortcode within the new tab created in the link you gave me in previous post ^^
The shortcode is not working
This is what I’m trying to do
add_action('geodir_after_tab_content' ,'geodir_my_new_tab_content');
function geodir_my_new_tab_content($tab_index)
{
if($tab_index =='my_new_tab')
{echo "[php snippet="1"][/php]";}
}
I have tried removing the quotes but it produces error, and with them the text of the shortcode is displayed. Plz help!