Quote:
Originally Posted by alcstrategy
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); ?>
|
Thanks, I didnt notice the single quote issue.
If I use just the <?php echo get_post_meta($post->ID, 'galleries', true); ?>
it just prints out the location of the gallery /home/www/gallery1.php
What I'm trying to do is include a html page within the template.