openaspace
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Contact Form 7] Not showing SENT confirmationhello. Where I can write you in pvt? Thank you.
Forum: Plugins
In reply to: [Contact Form 7] Not showing SENT confirmationThe part of the code that can create the problem at the first page run is:
// Make jQuery copy touch event properties over to the jQuery event // object, if they are not already listed. But only do the ones we // really need. IE7/8 do not have Array#indexOf(), but nor do they // have touch events, so let's assume we can ignore them. if (typeof Array.prototype.indexOf === 'function') { (function(jQuery, undefined){ var props = ["changedTouches", "targetTouches"], l = props.length; while (l--) { if (jQuery.event.props.indexOf(props[l]) === -1) { jQuery.event.props.push(props[l]); } } })(jQuery); };});Forum: Plugins
In reply to: [Code Snippets] After latest wordpress upgrade no shortcode outputI have verified that other plugins/code using Google API, after the latest WordPress upgrade are not working anymore.
On different websites on different hosting the problem is with http referer, it you force it inside the API call your code will work…
- This reply was modified 3 years, 1 month ago by openaspace.
Forum: Plugins
In reply to: [Code Snippets] After latest wordpress upgrade no shortcode outputI have correct the pasted code for formatting errors.
- This reply was modified 3 years, 1 month ago by openaspace.
Forum: Plugins
In reply to: [Code Snippets] After latest wordpress upgrade no shortcode outputHello this is the code:
function get_sheet_value_prezzi($atts) { $API = 'API-SERIAL'; $google_spreadsheet_ID = 'GOOGLE-DOC-ID'; $api_key = esc_attr( $API); $location = $atts['location']; $get_cell = new WP_Http(); $cell_url = "https://sheets.googleapis.com/v4/spreadsheets/$google_spreadsheet_ID/values/$location?&key=$api_key"; $cell_response = $get_cell -> get( $cell_url); $json_body = json_decode($cell_response['body'],true); $cell_value = $json_body['values'][0][0]; return $cell_value; } add_shortcode('prezzi', 'get_sheet_value_prezzi');- This reply was modified 3 years, 1 month ago by openaspace.
- This reply was modified 3 years, 1 month ago by openaspace.
Viewing 5 replies - 1 through 5 (of 5 total)