Where do I paste the PHP Code in my theme?
-
Greetings,
I’m looking to find out where I’m supposed to insert the PHP code into my theme and what file?
Code:
<?php echo do_shortcode( '[searchandfilter taxonomies="category,post_tag"]' ); ?>
I am using the KnowHow theme and it has search.php and searchform.php files. I’m assuming the searchform.php file, and also, my search bar looks like this:
http://jchambo.com/wp-content/uploads/2014/03/searchbar.jpg
Would I be able to modify it to put just a drop down to search within a category?
Thanks,
John
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Where do I paste the PHP Code in my theme?’ is closed to new replies.