Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Customizing Settings Button Behavior › Reply To: Customizing Settings Button Behavior
November 17, 2023 at 8:14 pm
#46092
Participant
Hello,
Thank you for the information! I attempted to implement the changes by following the knowledge base page you provided. I created a file at:
/wp-content/themes/Avada/asp/filters/buttons/asp-button-filter.php
I added the following code:
php
<?php foreach ($filter->get() as $button): ?>
<div class="<?php echo $button->container_class; ?>">
<button class="<?php echo $button->button_class; ?> sok-installningar-1"><?php echo esc_html($button->label); ?></button>
</div>
<?php endforeach; ?>
Unfortunately, it doesn’t seem to be working. I suspect I might be doing something wrong. If you could assist me in identifying the issue, I would greatly appreciate it.