• Resolved dernilson

    (@dernilson)


    hi there,

    trying two things for days … but no success. hope someone can help – ?!

    #1
    want to show the NextGEN Gallery in my sidebar (theme with no widget support) and display random images excluding one gallery (id=6). i use the following code:

    <?php
    if (function_exists("nggDisplayRandomImages"))
    { nggDisplayRandomImages(9,60,60,6); }
    ?>

    everything work, except the excluding thing. the gallery (id=6) is still there among the random images. is there a way to do this – ?!

    #2
    want to show a single gallery (id=6) in my 2nd “sidebar” (also with no widget support). trying a lot of functions here but nothing work such as:

    <?php
    if (function_exists("nggShowAlbum"))
    { nggShowAlbum (6,48,48); }
    ?>

    would be more than great if there anybody out there who can help. 🙂

    thanks and regards

Viewing 1 replies (of 1 total)
  • You should update to v1.0.0

    nggDisplayRecentImages($number,$width,$height,$exclude,$list,$show)

    (here you can define exclude & list). See widgets.php for more notes

    with v1.0.0

    you can use echo nggShowAlbum (6,48,48);

Viewing 1 replies (of 1 total)

The topic ‘[NextGEN Gallery] Widget Tags Function’ is closed to new replies.