Ready to get started?Download WordPress


[Plugin: NextGEN Gallery] Insert code in sidebar ? (5 posts)

  1. sico2819
    Posted 6 years ago #

    I tried to insert code in the sidebar (like [album=..], [gallery=..]) without success because the code is not interpreted, of course.

    Is there a way to show a gallery list in the sidebar ?

    I created an album, put galleries inside, and no I want to show it in the sidebar, perhaps this is a good start ?


  2. robinbraves
    Posted 6 years ago #

    I am wondering the same thing. I tried the NextGen sidebar widget, but do not want it displayed that way. I just want my album to be displayed like this:


    I even tried using the Text Widget but it just displays the text like above. Any ideas?

  3. ryanoz
    Posted 5 years ago #

    trying to do the same thing

  4. ryanoz
    Posted 5 years ago #

    $showalbum = '[album=delnorte_album,compact]';
    $showalbum = apply_filters('the_content', $showalbum );
    echo $showalbum;

    well, this does it.

  5. damneg
    Posted 5 years ago #

    ryanoz, thanks.
    I was looking for a way to display albums/galleries not in post/pages.
    This decision with filter very helped me. Thanks again)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.