WordPress.org

Ready to get started?Download WordPress

Forums

Nextgen Gallery Search... specific search?? (1 post)

  1. pernilla_str
    Member
    Posted 1 year ago #

    Hi!

    I would like to use a search function for nextgen gallery on just ONE page that will search in a picture archive. For the other pages, just posts will be presented after search.

    This is what I want:

    Page 1: Here I want an ngg-searchfunction form that only shows ngg-search results.
    Page 2-5: Here I want a searchfunction that shows only posts but not any pictures. (It's already working)

    How do I do that?

    On Page 1 I got a specific search form html code. What can I write there to make it search for only ngg-pictures?

    <input type="hidden" id="1" name="page" value="nggallery"> ???

    And what do I have to change in search.php and functions.php?

    Thanks in advance!

    PS. Sorry for my bad english :/

Topic Closed

This topic has been closed to new replies.

About this Topic