Devhub Search Results Badges

Hi All,

I posted this as a comment the other day because i couldnt post here but havent recieved any feedback so im posting it again here now 🙂

Devhub Update 20th May

Here are the designs for the search results pages i have so far:

## Badges
View –
Branch (GitHub) –
Note: Once theres a way to differentiate between actions and filters the HooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same. Badge (H) will be replaced with a Action Badge (A) and a FilterFilter Filters are one of the two types of Hooks They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. Badge (Fi).
Note: Mobile styles not yet created.

## Filters
View –
Branch (GitHub) –
Note: Filters still show up when theres no results on search page this will not happen in the next draught.

## Badges & Filters
View –
Branch (GitHub) –

Which design do you prefer?

In a discussion on skype we thought about making all deprecated badges red, whats everyones thoughts on this?

What are peoples thoughts on hiding deprecated items in the search results and having a show deprecated filter?

If you have another suggestion submit it on meta trac here:

Sofia xXx