I have a WordPress website with Elementor and a language translator installed. A script for getting the price of Ethereum (every second) is located in the block with the HTML code of this element. There are two languages that set on the website – English, and Israel. The point is when I change the language ..
Category : elementor
I’m trying to access a data attribute (data-elementor-lightbox-title)for an anchor in order to output the titles on mobile. Here’s the code I tried to access all of the anchors on the page. var el = document.querySelectorAll(‘a.dataset.elementorLightboxTitle’); console.log(el); Here’s an example of one of the anchors with the data-elementor-lightbox-title attribute that I’m trying to access: <a ..
I have created a code which will check if zone is nz real then display popup otherwise do not. it should work on normal checkout process and page refresh also. right now it’s working on page refresh only. without page refresh it isn’t displaying popup. File : Functions.php add_action( ‘woocommerce_cart_totals_after_shipping’ , ‘shipping_zone_targeted_postcodes_custom_notice’ ); add_action( ‘woocommerce_review_order_after_shipping’ ..
Trying to create product "pages" for packages instead of the "product" that is created by default. Is there a way for me to remove the hyperlink from the product when clicking "Add to Cart". When the user clicks the button, they are currently redirected to the product page which is inside the package. Source: Ask ..
I am trying to make a elementor post slider with swiperjs through few custom CSS and js.I have tried to make the slider many times but it does not work properly. Sometimes it working on elementor preview but not working properly on the frontend. I have used html widget to implement my code. below the ..
I want to make a title entry effect, similar to these references: https://localmedia.ch/ and https://essentials.pixfort.com/original/sliding-text/, but I don’t know how to make the effect work when the screen arrives at the element as an entrance animation, I’m using Elementor in WordPress, but I haven’t found ways to do it, so here’s my current code: https://codepen.io/tomasag/pen/oNYPvop ..
I’m currently trying to add the image title to the slideshow media widget in elementor pro through the code attached here : jQuery(‘.elementor-carousel-image’).attr(‘id’,’slideshowImage’) var slideshowDiv = document.querySelectorAll("#slideshowImage"); for (var i = 0; i<slideshowDiv.length; i++) { var content = document.createTextNode("Title"); slideshowDiv[i].appendChild(content); } As of now it is able to show the text "Title" at the top ..
I wanna add some validation for a WordPress form made by Elementor I am pretty sure my code works well in chrome inspector and my js file enqueued in the right way var role = document.getElementsByName("role"); role[0].onclick = function() { var code = document.getElementsByName("digfcountrycode"); code[0].attributes.value = "+963" code[0].hidden = false; } role[1].onclick = function() { ..
can anyone help me figure out how to access wp.media when editing a page using the Elementor plugin? We want to add a new image upload source from Brandfolder. To do this, I added a button to the WordPress media library window and now, by clicking on it, we want to load pictures from another ..
Problem: I need to get the scroll position of the page. I need get the scroll position. I ran the below code in normal html offline to test my project and it worked, but when I brought it over to wordpress, the scrolling code stopped working. I’m assuming Elementor has something overriding the code below. ..
Recent Comments