Integrating Custom Post Types in the WordPress Search

1
2
<?php
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
To have Custom Post Types, which are available since WordPress 3.0, be displayed in the results of the WordPress search, this code is required:

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.