Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author shauno

    (@shauno)

    How are you searching the images? I didn’t think NGG had a build in search?
    If it’s something custom, then it won’t get the custom fields by default, and you will have to do it with a call to <?php echo nggcf_get_field($pid, "Custom Field Name"); ?>
    With $pid being the picture id, and “Custom Field Name” being your custom field name obviously.

    [ Signature moderated. ]

    Thread Starter bluemalefirst

    (@bluemalefirst)

    NGG now has an add-on called NextGEN Search Engine. This plug searches your NextGEN gallery picture tags and shows them in your search results using your default wordpress search engine.

    Look here : https://alexrabe.de/2010/01/13/search-for-images/

    The only problem is that it doesnt show custom fields data in the results page.

    Any idea ?

    Plugin Author shauno

    (@shauno)

    I can’t get it working on my test install. The actual search function seems to find the images, but they get somehow lost before output.

    But it seems the initial call takes a $template argument. Have you tried putting a template name there?

    Once you find where the images are being output, you can call <?php echo nggcf_get_field($pid, "Custom Field Name"); ?> to output custom fields there.

    Thread Starter bluemalefirst

    (@bluemalefirst)

    its out of my league ?? thanks anyway..

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Custom Fields] NextGEN Custom FIelds – Display fields on image search results page’ is closed to new replies.