Hi,
Alright. Please replace it with the following code.
// custom script
add_action( 'wp_footer', 'ava_custom_script' );
function ava_custom_script() {
?>
<script type="text/javascript">
(function($) {
$( document ).ready( function() {
$('a[data-tag="{Pre Sales}"]').trigger('click');
});
})(jQuery);
</script>
<?php
}
If this is still not working, please post the FTP details so that we can test it.
Best regards,
Ismael
Hello,
Please find FTP details on private!
Hi,
Thank you for the info. We modified the code a bit. Please remove browser cache or hard refresh before checking the page.
Best regards,
Ismael
THANK YOU, it worked like a charm!
