Adding HTML to the search page

Here is one my function what i use to play and manipulate with search. Maybe can help. /*** Suggested Keywords for search ***/ function get_suggested_keywords(){ /* Suggested keywords + tags */ if(isset($_GET[‘s’]) && !empty($_GET[‘s’])) { $search=preg_replace(“[^a-zA-Z0-9\ ]”,””,urldecode($_GET[‘s’])); if(!empty($search)) { $words=array_map(“trim”,explode(” “,$search)); if(isset($words[1]) && !empty($words[1])) { $tags=array(); foreach($words as $tag) { $tags[]= ‘<a href=”‘ . get_site_url() … Read more

Alter add_meta_box

The short answer is you can try but it just won’t be any kind of reliable. There was a similar question while back — get registered metaboxes by post type or post ID Overall it is somewhat possible to fetch metaboxes like that, but it was never designed to work like that. Also it’s common … Read more