I'm trying to include a gallery in my custom post type. The image gallery works in the editor, but when I view the post I get this.
[gallery link="file" ids="590,589,588,587,586,585,578,580,581,582,583,584"]
My content looks like this:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $content = get_the_content(); /** ... **/ ?> <p><?php echo $content ; ?></p>