File "result-count.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/woocommerce/templates/loop/result-count.php
File
size: 620 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
if (!defined('ABSPATH')) {
exit;
}
?>
<p class="woocommerce-result-count">
<?php
if (1 === intval($total)) {
_e('Showing the single result', 'woocommerce');
} elseif ($total <= $per_page || -1 === $per_page) {
printf(_n('Showing all %d result', 'Showing all %d results', $total, 'woocommerce'), $total);
} else {
$first = $per_page * $current - $per_page + 1;
$last = min($total, $per_page * $current);
printf(_nx('Showing %1$d–%2$d of %3$d result', 'Showing %1$d–%2$d of %3$d results', $total, 'with first and last result', 'woocommerce'), $first, $last, $total);
}
?>
</p>