• Skip to primary navigation
  • Skip to main content

WP Discuss

Wordpress Research & Analytic

  • Submit
  • Disclaimers
  • About
  • DMCA
  • Privacy Policy
  • Contact

Monedas antiguas 1 peso 1910

  • No categories
  • All

Ajax not working to insert, query and result data

June 22, 2016 by Leave a Comment

On my site, through a form I send/register same information in database, do a SELECT/query and return it! Return the last table saved in database, just that user just entered on the form (along with some more information coming from the database). How I want to display these values coming from databse in a modal bootstrap it's necessary that the page doesn't give the refresh. For this, I inserted the AJAX as follows: $(document).ready(function(){ $('#enviar').click(function(){ $.ajax({ //CAAL AJAX IN WORDPRESS url: 'wp-admin/admin-ajax.php', type: 'POST', //INSERT, QUERY AND DISPLAYS TO USER data: 'action=prancha', error: function(){ alert('ERRO!!!'); }, //IF OK, DISPLAYS TO USER IN DIV "RESULT" success: function(data){ $('#result').html(data); } }); }); }); MY FUNCTIONS.PHP: function prancha(){ header('Content-Type: text/html; charset=utf-8'); include "../../../wp-config.php"; /* DECLARING THE VARIABLES */ $nome = ""; $email = ""; $estilo = ""; $experiencia = ""; $altura = ""; … [Read more...] about Ajax not working to insert, query and result data

Learn More

work from home data entry, data entry work from home, work at home data entry, online data entry work, working from home data entry, data entry work at home, querying data, see results from working out, results oriented work environment, blood work results

Contact form 7 not clickable on iphone

June 22, 2019 by Leave a Comment

The below form (webpage here), built using Contact form 7 is not clickable on iPhone. I can't find out why. Would you be able to help? <div class="one-third"> [select* Title "Title" "Mr." "Mrs." "Miss."] </div> <div class="one-third"> [text* firstname placeholder "First Name"] </div> <div class="one-third last"> [text* Lastname placeholder "Last Name"] </div> <div class="one-half"> [text company placeholder "Company"] </div> <div class="one-half last"> [select* country "Country" "United Kingdom" "Afghanistan" "Albania" "Algeria" "American Samoa" "Andorra" "Angola" "Anguilla" "Antigua and Barbuda" "Argentina" "Armenia" "Armenia" "Aruba" "Australia" "Austria" "Azerbaijan" "Azerbaijan" "Bahamas" "Bahrain" "Bangladesh" "Barbados" "Belarus" "Belgium" "Belize" "Benin" "Bermuda" "Bhutan" "Bolivia" "Bonaire" "Bosnia and Herzegovina" "Botswana" "Bouvet Island (Bouvetoya)" "Brazil" "British Indian Ocean Territory (Chagos Archipelago)" … [Read more...] about Contact form 7 not clickable on iphone

Learn More

html contact form, contact form generator, contact us form for website, contact us web form, contact form, Contact form WordPress plugin, i accidentally deleted a contact on my iphone, easy contact form, easy contact form html, emergency contact form

Help when displaying a link in the Woocommerce order table

September 26, 2019 by Leave a Comment

I am developing a module for woocommerce that consumes an API, in the back it shows the link correctly of each order that is made, but my problem is when I want to insert this link in the part that the customer sees, in Orders, next from the link See I would like an invoice to appear and when I click download the PDF provided by the API. With this code I insert the "Factura" button // Your additional action button add_filter( 'woocommerce_my_account_my_orders_actions', 'add_my_account_my_orders_custom_action', 10, 2 ); function add_my_account_my_orders_custom_action( $actions, $order ) { if ( $order->has_status( 'completed' ) ) { $action_slug = 'descargar_factura'; $actions[$action_slug] = array( 'url' => $data->links->pdf, 'name' => 'Factura', 'class' => 'factura', ); } return $actions; } It shows me the text FACTURA, but does not attach the URL for the invoice download. I attach complete code where you make the API call, and get the URLs. <?php add_action( … [Read more...] about Help when displaying a link in the Woocommerce order table

Learn More

woocommerce display product tags

Copyright © 2021 WP Discuss. Power by Wordpress.