Forum Replies Created
-
AuthorPosts
-
GravKartan
ParticipantFor sure!
GravKartan
ParticipantThat seems to have done the trick! Thanks a lot!
November 23, 2023 at 9:52 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46150GravKartan
ParticipantYou cannot access this content.
GravKartan
ParticipantHi! Awesome! It seems to be working, although it now affects all search bars. Is there a way to make it apply only to the search bar with the shortcode “[wd_asp id=2]” or something like that? I tried doing it with the ID of the search bar in a function but couldn’t get it to work. Any help is appreciated!
November 21, 2023 at 6:23 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46118GravKartan
ParticipantYou cannot access this content.
GravKartan
ParticipantHi! No worries. It seems it added “2_1” to the “sok-installningar-” class name, which is fine. I just changed the class name of the popup to “sok-installningar-2_1,” so now it works! Thank you very much for the support!
There seems to be one problem now that I didn’t think of. Now when I press the settings button, it opens the popup as intended. However, once I open it again, it hides the settings, as the settings button usually does. Is there a way to prevent this?
November 20, 2023 at 4:58 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46105GravKartan
ParticipantYou cannot access this content.
November 18, 2023 at 5:25 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46093GravKartan
ParticipantYou cannot access this content.
GravKartan
ParticipantHello,
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.phpI 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.
November 16, 2023 at 8:54 pm in reply to: Custom Field Search Result Link Not Updating Site Content #46077GravKartan
ParticipantYou cannot access this content.
-
AuthorPosts