WordPress.org

Ready to get started?Download WordPress

Forums

NextGen Cooliris Gallery
[Plugin; NextGen Cooliris Gallery] (2 posts)

  1. ninjadoll
    Member
    Posted 3 years ago #

    I'm trying to use this plugin in php format - just installed version 0.5. I've copied the code that you have in the installation to my php file (where I want it to run) and it refuses to work.

    The installation says to write:
    <?php if function_exists('show_nextgen_cooliris') echo show_nextgen_cooliris (600,370, 4, 'white', 'gallery', 2); ?>

    The error is:
    Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/XXXX/public_html/sandbox/wp-content/themes/XXXX/index.php on line 3

    Help?

  2. satoshi_japan
    Member
    Posted 3 years ago #

    I also suffered the same problem.
    Worked like this: If you change, so a syntax error.

    <?php
    if (function_exists('show_nextgen_cooliris') )
    {echo show_nextgen_cooliris (200,150, 2, 'dark', 'gallery', 1);}
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic