jrweb
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Hi @andrei202
https://eurosalesman.com/se/
This is the Swedish site, the language only change once you choose SV but then the URL is: https://eurosalesman.com/se/sv. What we want to achieve is having directly on the subdomain https://eurosalesman.com/se/.Forum: Plugins
In reply to: [Code Snippets] Add snippet to form@bungeshea Yes it is Elementors widget form!
Forum: Plugins
In reply to: [Code Snippets] Add snippet to form@bungeshea I added it as a snippet and inside my form I added [display_ref_number] in both email and email 2. However this doesn’t print the string it only prints “[display_ref_number]”. Am I doing something wrong? Is there a shortcode I can use inside the form that creates the string?
Forum: Plugins
In reply to: [Code Snippets] Add snippet to formThank you @bungeshea! So where exactly would I add my own code? It looks like this and creates a random string containing 10 random characters.
function generateRandomString($length = 10) { $characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; $charactersLength = strlen($characters); $randomString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charactersLength - 1)]; } return $randomString; } echo generateRandomString();- This reply was modified 4 years, 7 months ago by jrweb.
Viewing 4 replies - 1 through 4 (of 4 total)