MichDe / wordpress-geo-mashup

Automatically exported from code.google.com/p/wordpress-geo-mashup
1 stars 0 forks source link

Provide results count to search results template #674

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In Geo Mashup 1.7.0 the only way to get a count of search results feels hacky:

<?php $result_count = count( $geo_mashup_search->get_the_IDs() ); ?>

It would be better just to provide $result_count to the template.

Original issue reported on code.google.com by dylankk...@gmail.com on 27 Sep 2013 at 1:27

GoogleCodeExporter commented 9 years ago
This issue was updated by revision fc58418ad696.

The variable $result_count is now available.

Original comment by dylankk...@gmail.com on 29 Oct 2013 at 11:37

GoogleCodeExporter commented 9 years ago

Original comment by dylankk...@gmail.com on 29 Oct 2013 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by dylankk...@gmail.com on 29 Dec 2013 at 2:12