Can anyone offer any help with this function?

The filter you are using posts_where affects the creation of SQL query, so by definition it is executed before query runs and you have any search results. So you cannot loop through results at this point, what you can do is retrieve or hardcode list of unwanted items from elsewhere and use them to modify … Read more

Which file of wordpress manage plugins functionalities?

There should never be a case where you edit the core. Filters and actions were created so plugin developers could navigate the intricacies of WordPress wihtout touching core files. You should reference the following: http://codex.wordpress.org/Plugin_API/Action_Reference http://codex.wordpress.org/Plugin_API/Filter_Reference There are quite a few undocumented filters that I find when viewing WP core. If you do go to … Read more

Remove “You are using WordPress 3.2.1” from Right Now Dashboard Widget

There is a trick to get rid of this using the gettext filter for translations. This basically replaces it with nothing. add_filter(‘gettext’, ‘remove_admin_stuff’, 20, 3); function remove_admin_stuff( $translated_text, $untranslated_text, $domain ) { $custom_field_text=”You are using <span class=”b”>WordPress %s</span>.”; if ( is_admin() && $untranslated_text === $custom_field_text ) { return ”; } return $translated_text; } Be aware … Read more

Filtering out the #more anchor link that gets produced by

You can filter the_content_more_link hook and remove #more-POST_ID from the link: function wpse_51806_strip_more_link( $more_link ) { global $id; return str_replace( “#more-$id”, ”, $more_link ); } add_filter( ‘the_content_more_link’, ‘wpse_51806_strip_more_link’ ); It has even been made into a plugin, if you’re more comfortable with plugins then code snippets.