Posts by Vinicius Verner • 38 points
4 posts
-
0
votes2
answers96
viewsQ: Assign jQuery function to variable in ternary operator
I am creating a simple forward/back function in a form with "Steps" and would like to implement a more effective solution to the situation below: $('.botao').click(function(){…
-
0
votes1
answer131
viewsA: Catch Taxonomy Name According to Slug - Wordpress
get_term_by("slug", $_GET['taxonomy'], "tax_aqui");
-
0
votes1
answer103
viewsA: Create a Wordpress Query using ACF Relational Fields
Oops, good afternoon, good afternoon! Dude, seeing your shortcode will only be used on Cpt’s single? If so, there is no need for you to pass a query because the function will take the ID of the…
-
1
votes1
answer76
viewsQ: PHP: Return previous value of the "for" loop variable
I have a "for" loop in PHP as follows $max = 10; for($i = 0; $i <= $max; $i++){ $var1 = $i * 100; $var2 = var1 * 50; $var3 = (MINHA_DUVIDA_AQUI); } In $var3 I would like to return the value of…
phpasked Vinicius Verner 38