Posts by joncardoso • 83 points
5 posts
-
1
votes2
answers110
viewsA: Treat all hexadecimal colors in a.css file using php and regex
I am entering the complete code of the solution to the problem I had, if it helps other people. <?php //Função em PHP que irá alterar a cor para sua forma negativa //Gerando uma saída com o…
-
2
votes2
answers110
viewsA: Treat all hexadecimal colors in a.css file using php and regex
I was able to solve the problem with the function preg_replace_callback, just insert my COLORS function into create_function() for callback. Thank you all.…
-
2
votes2
answers110
viewsQ: Treat all hexadecimal colors in a.css file using php and regex
I don’t know if you can help me but I want to replace the color in the "#xxxxxx" format in a CSS via Regular expression and PHP. I have a function that calculates the color and replaces it with the…
-
0
votes1
answer512
viewsA: Does sharing with Whatsapp work only with ANDROID systems?
works yes on IOS, until I did on my site, you just need to fix your link that is wrong, take a look at my code: <a…
-
2
votes1
answer89
viewsQ: Shorten Google Analytics tracking URL (variables only)
I would like to shorten a URL of my Wordpress site as follows: www.meusite.com/?utm_source=FONTE&utm_medium=MEDIUM&utm_campaign=CAMPANHA for something like www.meusite.com/?urlencurtada…