WordPress.org

Forums

What wrong with this code? (3 posts)

  1. stevedmma
    Member
    Posted 7 years ago #

    <?php if (function_exists('lg_random_image'), lg_random_image("title"); ?>

    I tried contacting the author but no luck, basically the code in the read me is wrong, im trying hard to fix it but im not good at this. above is what i have now, the read me shows this.

    <?php if (function_exists(lg_random_image) lg_random_image("title"); ?>

    Neither work, the code is just written wrong, anyone know the right way?

  2. haochi
    Member
    Posted 7 years ago #

    <?php if(function_exists("lg_random_image")) lg_random_image("title"); ?>

  3. stevedmma
    Member
    Posted 7 years ago #

    yup that worked, thanks alot :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.