Files
roi-theme/wp-content/plugins/ajax-search-pro/includes/views/results/group-header.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

33 lines
1.1 KiB
PHP
Executable File

<?php
/* Prevent direct access */
defined('ABSPATH') or die("You can't access this file directly.");
/**
* This is printed as the group header - only works with vertical results
*
* !!!IMPORTANT!!!
* Do not make changes directly to this file! To have permanent changes copy this
* file to your theme directory under the "asp" folder like so:
* wp-content/themes/your-theme-name/asp/group-header.php
*
* You can use any WordPress function here.
* Variables to mention:
* String $group_name - the group name (including post count)
* Array[] $s_options - holding the search options
*
* You can leave empty lines for better visibility, they are cleared before output.
*
* MORE INFO: https://knowledgebase.ajaxsearchpro.com/hooks/templating/result-templating
*
* @since: 4.0
*/
?>
<div class="asp_results_group <?php echo esc_attr($group_class); ?>">
<?php if ($group_url): ?>
<div class="asp_group_header">
<a href="<?php echo $group_url;?>"><?php echo wp_kses_post($group_name); ?></a>
</div>
<?php else: ?>
<div class="asp_group_header"><?php echo wp_kses_post($group_name); ?></div>
<?php endif; ?>