[Plugin: NextGEN Gallery] Template function to call a NGG widget (sidebar)
-
Hi,
I’m trying to figure out how to place a Next gen Gallery widget by using the function code. I think something like this should do it but it gives errors when saving and viewing the page. (I need the widget called: “NextGen Widget” – not the media or slideshow variation)
Function I’m trying to use:
<?php function nggDisplayRecentImages(6, ‘100’, ’50’, ‘all’, ‘1’, ‘thumbnail’) ?>or:
<?php if function nggDisplayRecentImages(6, ‘100’, ’50’, ‘all’, ‘1’, ‘thumbnail’) ?>
<?php endif; ?>Error:
arse error: syntax error, unexpected T_LNUMBER, expecting ‘&’ or T_VARIABLE in /home/xxx/public_html/xxx.com/wp-content/themes/xx/sidebar.php on line 15Also tried looking into the function.php file but those function didn’t seem to work either. Or are not what I am looking for.
Couldn’t find any other topic on this which fixed it so here I am. ??
- The topic ‘[Plugin: NextGEN Gallery] Template function to call a NGG widget (sidebar)’ is closed to new replies.