Search with nggsearch

General questions pertaining to how certain issues can be resolved. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.

1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"
Locked
SpritHansi
Posts: 9
Joined: 23 Feb 2012, 18:32

Search with nggsearch

Post by SpritHansi » 23 Feb 2012, 18:35

Hi!
Can someone help me to intergrate nggsearch into Suffusion search engine?
http://alexrabe.de/2010/01/13/search-for-images/

:-)

drake
Posts: 6223
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania
Contact:

Re: Search with nggsearch

Post by drake » 24 Feb 2012, 01:42

You can add that piece of code in your theme functions.php file. The best way is to use a child theme and in it's folder add a new functions.php file where you can use the code. You can download a starter child theme for Suffusion from here: http://aquoid.com/news/2012/02/suffu-sc ... suffusion/.

On one of my sites, functions.php with search ngg enabled look like this:

Code: Select all

<?php
/**
 * Core functions file for the theme. Includes other key files.
 *
 * @package Suffusion
 * @subpackage Functions
 */

if ( function_exists( 'ngg_images_results' ) ) ngg_images_results();
?>

Locked