Posts by Sergio Vidal • 43 points
3 posts
-
2
votes2
answers3954
viewsA: Two actions in the same form
I managed to send the form to two actions. If anyone needs it, follow the code below: <script type="text/javascript"> function enviaForm(nome,email){ $.ajax( { type: "POST", url:…
-
1
votes2
answers3954
viewsQ: Two actions in the same form
Hello! I need to have two actions in the same form. I researched some solutions and did as follows: <form id="formnewsletter" name="formnewsletter" method="POST"> <input type="text"…
-
1
votes1
answer2993
viewsQ: How to loop a custom post type by following the menu_order?
On a static page in wordpress I’m looping a custom post type from a list of services as follows: $temp = $wp_query; $wp_query = null; $wp_query = new WP_Query();…