| 1 |
<?php |
| 2 |
/** |
| 3 |
* AJAX Search Results Container |
| 4 |
* |
| 5 |
* The `id` is dynamically scoped per widget instance using $frmx_result_id, |
| 6 |
* which is set in the parent Search widget's render() method to prevent |
| 7 |
* conflicts when multiple instances appear on the same page. |
| 8 |
* |
| 9 |
* @var string $frmx_result_id Unique result container ID for this widget instance. |
| 10 |
*/ |
| 11 |
$frmx_result_id = isset( $frmx_result_id ) ? $frmx_result_id : 'bbpc-search-result'; |
| 12 |
?> |
| 13 |
<div |
| 14 |
id="<?php echo esc_attr( $frmx_result_id ); ?>" |
| 15 |
class="bbpc-search-result-container" |
| 16 |
data-noresult="<?php esc_attr_e( 'No Results Found', 'forumax' ); ?>" |
| 17 |
></div> |