Tagged: nextgen gallery search
I recently downloaded nextgen gallery however the search did not bring up my tagged images. I then found that Alex Rabe developed a search plugin which requires me to add a line of code to my theme.
Details found at http://alexrabe.de/2010/01/13/search-for-images/
The line of code it requires me to add is
<?php if ( function_exists( 'ngg_images_results' ) ) ngg_images_results(); ?>
The theme I am using is the Elle theme and my website is http://www.shewearswhite.com. It requires me to add the line of code to the search.php file however seeing as I use genesis and the elle theme I don't have am editable search.php function under Appearance > editor
The options I have for adding code are functions.php, home.php, init.php, topnav.php, and my stylesheet.
I tried adding the line of code to my functions.php template but it crashed my server!
Can anyone give me advice as to where I add the line of code or whether I need to adjust the code in some way so it doesn't crash my server?
Thanks so much for your help!
Thanks for the response, is there a website that tells me how to add the search.php file? I have created one in notepad and I have FTP access but when I transferred it over it doesn't show under my templates.
Ok, found it! I was just adding it to the wrong place.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!