How to make this 3 lines of php work?

PlatinumPi4u

Junior Member
Joined
Mar 5, 2010
Messages
178
Reaction score
31
I don't know much about php, but I need to merge the 3rd line into the second line...

Basically I need to turn this:

PHP:
<?php if (get_option('woo_image_single') == "false") woo_get_image('image',get_option('woo_single_width'),get_option('woo_single_height'),'thumbnail alignright'); ?>
<?php the_content(__('<span class="continue">Continue Reading</span>',woothemes)); ?>
<?php if(woo_get_embed('embed',595,420)){echo woo_get_embed('embed',595,420);}?>



into something along the lines of this:


PHP:
<?php if (get_option('woo_image_single') == "false") woo_get_image('image',get_option('woo_single_width'),get_option('woo_single_height'),'thumbnail alignright'); ?>
<?php the_content      ***Line 3 from above***     (__('<span class="continue">Continue Reading</span>',woothemes)); ?>

This is part of a wordpress single.php, and it is displaying the content of the page, and the plugin YARP is creating the parts after 'the_content' and so i'm trying to put this video embed code in between the end of the content, and before the YARP code....
 
You can't put it afer <php the content because the content first needs arguments so i would try to do this

PHP:
<?php if (get_option('woo_image_single') == "false") woo_get_image('image',get_option('woo_single_width'),get_option('woo_single_height'),'thumbnail alignright'); if(woo_get_embed('embed',595,420)){echo woo_get_embed('embed',595,420);}?>
<?php the_content(__('<span class="continue">Continue Reading</span>',woothemes)); ?>
 
Back
Top