ebud
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] HubSpotFigured it out!
added js.hs-scripts.com to the script center under this part:
(part of) URL’s or unique string from the inline scripts of third-party scripts & plugins that should be blocked before consent.
Forum: Plugins
In reply to: [Custom Post Type UI] Indent childern in admin list screenAll good, I toggled the hierarchical attribute and it works.
Thanks for your time!
Forum: Plugins
In reply to: [Custom Post Type UI] Indent childern in admin list screenThanks for the feedback. I am not doing any customization in the admin area and when I test it out using “Pages” the indenting works.
When I originally created the CPT hierarchical was false and now there is a need for children so we enabled hierarchical and page attributes… could this be an issue?
Anything I can check?
Forum: Plugins
In reply to: [Custom Post Type UI] Indent childern in admin list screencorrect
Forum: Plugins
In reply to: [Accept Stripe Payments] Tax line item not showing on Stripe ReceiptI am interested in this feature too, otherwise it’s a bit of a show stopper for a couple of reasons. Can’t easily report out on taxes charges and it’s not clear to the customer.
Any Idea when this feature request will be implemented?
Another thing I notice when using the shortcode like so:
[accept_stripe_payment name=”product 123″ price=”20″ custom_quantity=”1″ button_text=”Order Now” billing_address=”1″ shipping_address=”1″ tax=”12″]If the customer increased the quantity the total get’s adjusted correctly with the tax calculated, but on the feedback page and email is shows the tax amount for a single item, it would be nice if it showed the sub total total, tax and total amount charged.
Quantity: 10
Item Price: CA$20.00
Tax: CA$2.40
——————————–
Total Amount: CA$224.00or at least say “Item Tax:
Forum: Developing with WordPress
In reply to: using ajax to return jsonA follow up on this… I have the guts of this working, but have issues with the data returned from the ajax call.
My php in the end send this off to which is 1 column of data named geometry(type ‘json’).
echo json_encode($results); die();
script
var featurecollection =[] ; var jsonData = $.ajax({ url : '/wp-admin/admin-ajax.php', type : 'POST', dataType: "json", data : { action : 'ajax_get_geo', }, success: function(obj) { console.log('Got Data'); }, error: function(xhr) { alert(xhr.statusText) } }); $.when(jsonData).done(function(dd) { $.each(dd, function(index, item) { featurecollection.push( JSON.parse(dd[index].geometry) ); }); console.log(featurecollection); });
and on the ajax side I can load and console.log the result in the browser and expand the object, but when I attempt to use the results from this column which contains geometry for various polygons it doesn’t allow me to use the dot syntax to access specific parts (eg. geometry.coordinates ).
It seems like the data from the returned column is not json?
Forum: Developing with WordPress
In reply to: using ajax to return jsonThanks for the feedback.
data : serialize({ action : ‘ajax_get_geo’}),errors with > serialize is not defined.@howdy_mcgee – the big picture is pulling data for a table and then using ajax to pull it into the Google Map API. Hitting this /wp-admin/admin-ajax.php?action=ajax_get_geo return the data as expected. I would like to use ajax to return that data to page with the mapping script.
This is working now
function getGeo() { jQuery.ajax({ // We use jQuery instead $ sign, because WordPress convention. url : '/wp-admin/admin-ajax.php', // This addres will redirect the query to the functions.php file, where we coded the function that we need. type : 'POST', dataType: "json", async: false, data : { action : 'ajax_get_geo', }, success: function(obj) { jsondata = obj; //console.log(geoData); } }); return jsondata; }
and then on the mapping page I use:
var geoData = getGeo(); console.log(geoData[0]);
This seems to be the key
async: false,
I am also curious about id I should be using .done vs success?
Forum: Plugins
In reply to: [WooCommerce Clover Payment Gateway] InventoryWill this work with a Clover setup in Canada – can you confirm?
Forum: Plugins
In reply to: [Ask Question] <[–CDATA[ and ]]> on posts after content importDid you figure this out? Happens for me too when importing from WP v5.1.1 to a new install of v5.2.2.
Big hassle.
Forum: Plugins
In reply to: [Leaflet Map] Extra HTML TagsNo luck… tried a few ways to filter out the <p>’s that are appear before and after where the shortcode goes. I am guessing they are generated as the shortcode executes?
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] 403 Error | API restrictionsGreat, thanks for the response!
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Invalid API key and calendar IDWere you able to resolve this? Similar issue if I try restrict access via the API settings.
Forum: Plugins
In reply to: [Contact Form 7] reCaptcha issueAh… seems like an issue with Easy Fancybox as I am using this to open the form in a popup…needed to wrap the [reCaptcha] tag in a container and five it fixed height.
Forum: Plugins
In reply to: [Theme My Login] Custom Email TemplatesNevermind – This cannot be done with the plugin, you need to look at other ways to change the activation email content.
Hi John,
Can you explain how those slug change redirects work exactly and why I would want to have that enabled?
Specifically when and what triggers the creation of the redirect.