WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. sico2819
    Member
    Posted 6 years ago #

    Hi,
    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 ?

    Thanks

  2. robinbraves
    Member
    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:

    [album=7]

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

  3. ryanoz
    Member
    Posted 5 years ago #

    trying to do the same thing

  4. ryanoz
    Member
    Posted 5 years ago #

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

    well, this does it.

  5. damneg
    Member
    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

Tags

No tags yet.