Skip to content
Advertisement

Tag: elementor

I am trying to load the script into my Elementor Widget and i am getting a Failed to load resource: net::ERR_CONNECTION_REFUSED on my WordPress

Error screenshot Failed to load resource: net::ERR_CONNECTION_REFUSED Answer It is properly enqued already and the errors you’re getting are for the different script and the script you’ve enqued are already showing the Console.log() test message you’ve added. I see there is no problem with enqueing the script, you might be dealing with some other issue, please continue with debugging.

Get current URL with PHP and change a part of it for a new url

I am working on a WordPress website for a client. I want to create a switch element through a current URL change. For instance; https://mywebsite.com/shop/CUSTOMER should change to https://mywebsite.com/shop/OWNER I have found a php code that provides me the URL of the current page. So if the visitor is on the /shop/customer page, I’ve found a way to create a

Wrong author ID output from elementor module

I create a module for elementor. I need to display the author name, choosen from the elementor admin control. I have 4 administrator. They show up correctly on control panel: admin (ID=0.) Jhon Doe (ID=1.) Jeane Doe (ID=3.) Mary Doe (ID=5.) The code for Elementor admin panel: When I choose Jeane Doe from Elementor control admin, the output on the

Advertisement