'; esc_html_e( 'Showing the single result', 'alpus' ); echo '
'; } elseif ( $total <= $per_page || -1 == $per_page ) { echo ''; /* translators: %d: total results */ printf( esc_html( _n( 'Showing %1$sall %2$d%3$s Product', 'Showing %1$sall %2$d%3$s Products', $total, 'alpus' ) ), '', $total, '' ); echo '
'; } else { echo ''; $first = ( $per_page * $current ) - $per_page + 1; $last = min( $total, $per_page * $current ); /* translators: 1: first result 2: last result 3: total results */ printf( esc_html( _nx( 'Showing %4$s%1$d–%2$d of %3$d%5$s Product', 'Showing %4$s%1$d–%2$d of %3$d%5$s Products', $total, 'with first and last result', 'alpus' ) ), $first, $last, $total, '', '' ); echo '
'; }