getdave / Tanlinell

Boilerplate Wordpress theme for rapid development of new WP themes. Based on the great work of the _s ("Underscore") theme.
GNU General Public License v2.0
6 stars 2 forks source link

Add Search results total #201

Closed getdave closed 10 years ago

getdave commented 10 years ago

Currently when using the default WP search at

?s=Page&submit=Search&paged=2

...there are no descriptions of how many results have returned our which of the Paginated pages of the search results we are currently viewing.

Ideally would like "you are viewing 20 - 30 of 100 results". Similar to Holy Grail.

neilberry001 commented 10 years ago

@getdave please review html in https://github.com/getdave/Tanlinell/blob/41319b578bc903687a85b4f91c3e1cb01189b002/search.php#L23

Thanks

getdave commented 10 years ago

Great work.

IMHO it might be better to simply name each differing stat area as a definite object.

So

.search-stat__floor

instead of

search-stat__item--floor