nextgen-gallery: singlepic in front-page.php?
-
3.03 actually, with Nextgen 1.72. Presently using SmoothGallery 1.2 to display a single graphic in front-page.php. Code below:
‘
<div id=”footer-right”>
<?php
$content = “[smooth=id:6; width:240; height:240; timed:false; arrows:false; carousel:false; links:false; info:false; align:left; frames:true;]”;
smooth_show($content);
?> </div>
‘Works OK but singlepic would seem cleaner. Except that I can’t get it to work.
‘[singlepic id=11]’ simply shows the code on the screen.
‘
<?php
[singlepic id=11]
?>
‘crashes the whole site.
The code works fine on a regular page. Anyone know of a workaround for front-page.php?
—–Paul—–
- The topic ‘nextgen-gallery: singlepic in front-page.php?’ is closed to new replies.