Limited availability during the holidays
Another busy year is coming to its end, and an exciting year lies ahead. In order to get ready for a fresh new start, our team will spend a few days' rest during the winter holidays. Over the holiday break, we will have reduced staffing from December 20th, 2024, to January 5th, 2025, so please be patient if you do not receive a response as quickly as you normally would.
We send our warmest wishes for happiness, health, and success throughout the coming year. Thank you for your continued support, and may you have a peaceful and blessed Happy Holidays!
Hi, I am using Layerslider for Wordpress and would like to also include popups on exit intent which have different language specific contents and slider IDs. Having composed some for each language however results in displaying a loop of all available popups one after the other. How can I implement this in Layer Slider properly by means of a php function? I am asking as I am not too familiar with php coding. In another WordPress App I have used the following php function specific script for Convert Plus plugin-specific popups. How would I need to change the code in order that it will work with language-specific Layerslider popups (before leaving the page) too? Many thanks for your help in advance! Cheerio, René
Here is the said code:
/* Convert Plus Language specific Popup addressing DE und EN */
function cp_callback_function( $display, $style_id ) {
if( $style_id == 'cp_id_1690a' && ICL_LANGUAGE_CODE == 'de') return true;
if( $style_id == 'cp_id_e73c9' && ICL_LANGUAGE_CODE == 'en') return true;
return $display;
}
add_filter( 'cp_target_page_settings', 'cp_callback_function', 10, 2);
Hello Rene,
Thank you for getting in touch with us!
Unfortunately, it is not possible to achieve this feature in the current version of LayerSlider.
We will find a solution and add it to one of the future versions of the plugin.
Thank you for your patience!
Best Regards,
Andrea | Kreatura Support Team