I have a blog I am wanting to include my static pages in my default WordPress search results (currently only blog posts are returned).
I know there are plugins out there which will do this, but I'm not a big fan of adding a plugin for every little thing which could be done by code.
Anyone know how to add pages in the returned search results without the use of a plugin?
Thanks
http://wordpress.org/extend/plugins/search-everything/
The alternative is to either use the theme functions file (you'll need code, and i'll point you at the plugin above for examples), or edit the core WP files yourself..
If it were me, i'd take the above plugin and strip out everything i don't need, then keep it as a simple plugin or move the code into the theme functions file.
Thanks t31os_, I'll check that out.