Forums

Add sidebar widget in NextGen Gallery w/o widget support? (3 posts)

  1. Aimee
    Member
    Posted 3 years ago #

    I've been looking for a PHP code that will add the Recent/Random images into my sidebar, however, I do not have widget support for my current template. I have googled this numerous times - the provided code for the old NextGen gallery website does not work. Please let me know...thanks.

  2. bee dudler
    Member
    Posted 3 years ago #

    Hi,
    seen this?
    http://wordpress.org/support/topic/182019?replies=4
    could help

    best regards
    bee

  3. Aimee
    Member
    Posted 3 years ago #

    <?php
    if (function_exists("nggDisplayRecentImages"))
    { nggDisplayRecentImages($number_of_pic,$Width,$Height); }
    ?>

    I have tried that so many times, and it does not work. If I can get a code that does work, then I can finally get my site up and running.

    ETA: *headdesk* Nevermind, I figured it out. :) Thanks. (I forgot to identify variables).

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.