• Resolved sethron

    (@sethron)


    “When checked, albums (and photos in them) that have the parent set to — separate — will be excluded from being searched. Except when you start searching in a ‘saparate’ album, with the “search in current section” box ticked. The default for this setting is: no: Unchecked”

    I’ve been trying to find it, and I can’t understand how to get an ability to search in a separate album.

    I’d like the search bars to only search one album at a time, and I’d like to force it to be one thing. (I have some images behind a paywall–I don’t want this to bypass that)

    Is there a code that I can put in that makes a search bar only search specific categories, or specific albums? Or how do I implement the “Search in current section” box, because I’m unable to figure it out.

    • This topic was modified 7 years ago by sethron.
    • This topic was modified 7 years ago by sethron.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sethron

    (@sethron)

    I.. figured it out. It’s the Root=”#2″ and whatnot that I needed in the code.

    Thank you for your consideration.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Say album with name Secret album and album id = 13 exists and has its parent set to — separate — (See the album admin screen).

    If you want a photo search widget that only searches inside this album and its possible sub-albums: On the widget activation screen select the Enable rootsearch checkbox, and select -s- Secret album in the Album selection box.

    If you want a box created on a page with a shortcode with the same functionality, use shortcode:
    [wppa type="search" root="#13"][/wppa]

    If you just want to search everywhere except albums that have their parent set to — separate — including their sub albums, just tick Table IX-E2: Exclude separate.

    Note: when specifying a ‘root’ (in this case album 13) the root can be any album, separate or not, even when IX-E2 is ticked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Searching in Separate Albums’ is closed to new replies.