View Single Post
Old 08-01-2012, 10:06 AM  
alcstrategy
Confirmed User
 
Industry Role:
Join Date: May 2012
Posts: 124
Code:
<?php include('<?php echo get_post_meta($post->ID, 'galleries', true) ?>'); ?>
That code is incorrect in a few ways.

The immediate reason you get T_STRING error is because you have single quotes within single quotes.

Also the use of include is incorrect and unnecessary..

Just do <?php echo get_post_meta($post->ID, 'galleries', true); ?>
alcstrategy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote