Hello,
I added the Enfold cookie policy feature to my website. However, once the user Accepts or Rejects all, there is no way to access Manage Cookie Settings. How can I add an additional link to my socket next to Terms that will open the Cookie Settings? Also, you need to add a close icon to the top right of the Manage Cookie Settings popup. You have to refresh the window to hide the popup.
Thanks,
Steve
Hey Steve,
Thank you for the inquiry.
There is no option for this by default, but you can try using this filter in the functions.php file to append a link that opens the privacy modal window.
function avf_wp_nav_menu_items_mod($items, $args) {
if ($args->theme_location == 'avia3') {
$new_item = '<li class="menu-item">'. do_shortcode('[av_privacy_modal_popup_button wrapper_class="" id="" class=""]Privacy Modal[/av_privacy_modal_popup_button]') . '</li>';
$items .= $new_item;
}
return $items;
}
add_filter('wp_nav_menu_items', 'avf_wp_nav_menu_items_mod', 10, 2);
And regarding the close button, the user can either accept or hide the notification by clicking the available buttons, which will also close the window.
Best regards,
Ismael