My current project has six custom post types. The default "Not Found" message is good for five of them but the sixth, Job Postings, is different. It would be nice to be able to pass an optional callback function to bfa_loop to process the case where the query returned no results. For example:
Code:
<?php bfa_loop( 'postformat-job_posting' ,'no_jobs_found'); ?>
Actually, I don't really care if the 2nd argument were a callback function or the name of a sub-template.
Currently, I don't believe that there is a way to change the message on a per post type basis. The alternative is to code a completely separate loop. My custom post type (jobs) has a lot of custom taxonomies (location, experience, function, ...) so separate loops would mean a lot of extra code to maintain.