Hi guys!
<?php
$product_video = '{embed:product_video}';
$product_video_title = '{embed:product_video_title}';
if (isset($product_video_title) && isset($product_video)): ?>
<a href="http://<?php" title="<?php echo $product_video_title; ?>" class="youtube">{site_url}uploads/videos/trachi-naze.jpg</a>
Play <strong><a href="http://<?php" title="<?php echo $product_video_title; ?>" class="youtube"><?php echo $product_video_title; ?></strong></a> Video
<?php
endif; ?>All of which works fine as a Snippet.
But the moment I try using {url_title} in there, {url_title} is written out literally, rather than rendering it as the URL title to which Entry the Snippet is embedded into.
I’ve even tried doing the Embed-to-PHP switch (as above), but that didn’t work either.
Any ideas?