iamthwee
says
Not sure if this is the right section but am I adding code tags properly to the posts.
It is just when it parses the html entities don’t get shown in plain text.
Am I doing something wrong?
<?php /*Quick short code test snippet*/
function piecemaker_shortcode( $atts, $content = null )
{
return '<div id="piecemaker?>';
}
add_shortcode( 'piecemaker', 'piecemaker_shortcode');
?>
The problems seems to occur here:
http://themeforest.net/forums/thread/integrating-shortcodes-in-wordpress/48811
ThemeOcean
says
Just don’t put the PHP tags – best way to go about it.
TobiBlue
says
landonw said
Just don’t put the PHP tags – best way to go about it.
Thanks alot landonw, after including PHP tags all went well. ![]()
