bavington
Forum Replies Created
-
Thanks charlyox,
I hadn’t fixed it actually, so I’ve just tried your fix and it works perfectly.
James
Sorry, with a little more persistance, I managed to work it out:
<a href="<?php echo wp_nonce_url( admin_url( 'admin-ajax.php?action=generate_wpo_wcpdf&template_type=packing-slip&order_ids=' . $order->id ), 'generate_wpo_wcpdf' ); ?>"> Print PDF Packing Slip</a>
Thanks for sharing this, exactly the solution to a question I had too.
Forum: Plugins
In reply to: [WooCommerce] How can I exclude a product_cat from a custom loopManaged to solve this myself, with the tax_query parameter.
$args = array(
‘post_type’ => ‘product’,
‘posts_per_page’ => 4,
‘orderby’ =>’date’,
‘order’ => ‘DESC’,
‘post_status’ => ‘publish’,
‘tax_query’ => array(
array(
‘taxonomy’ => ‘product_cat’,
‘field’ => ‘slug’,
‘terms’ => ‘frames’
‘operator’ => ‘NOT IN’
)
)
);
$loop = new WP_Query( $args );Forum: Plugins
In reply to: [WP Cookie Banner] Push Main Page ContentHey Julian,
Sorry about the delay in getting back to you. Yes basically it would have just been a little fiddling required with the JavaScript to ensure the banner appears as the first thing after the opening body tag, rather than at the end (which is where the JavaScript puts it now).
In theory you would have had to hacked the JS file in order to make it change where it comes out. It’s quite a valid point though – I Think now for 0.2 I’ll add an option to choose from different locations for the banner.
Thanks so much for your feedback.
Forum: Plugins
In reply to: [WP Cookie Banner] Push Main Page ContentHi JJUKJJ, is it our banner you currently have installed at the moment on your link above? Are you essentially just looking to nudge the entire body contents below the banner rather than be absolutely positioned on top?
James.
Forum: Plugins
In reply to: [WP Cookie Banner] Multilingual site?Hi Xavis,
We didn’t deliberately include WPML support in our initial 0.1 release. This is however on our development list for our 0.2 release that we hope to work on soon.
Forum: Plugins
In reply to: [WP Cookie Banner] Problem with Quickcache?Hi WPconvert,
Firstly, really sorry about the delay in getting back to you, I’ve only just noticed your support request now. Leave this with me, I’m going to set up the configuration you’re talking about and install Quickcache. Hopefully I can replicate the lag and work out if it can be resolved.
Thank you for your patience.
James.
Forum: Plugins
In reply to: [WP Cookie Banner] Banner appearing on every pageThanks Connikoala,
Really pleased to hear that solved the problem. If you have a moment, we’d really appreciate a quick review on the plugin page to help get our plugin out there!
James.
Forum: Plugins
In reply to: [WP Headmaster] adding additional code in headThanks Grigione,
I’ll consider the TO Link for a future update, but glad to hear you resolved the ICO issue.Forum: Plugins
In reply to: [WP Cookie Banner] Banner appearing on every pageHi Connikoala,
Indeed, once the testing mode is switched off (un-checked) the banner should only appear once, on one page until the cookie expires.
If you’re still seeing the banner on every page this might just be your browser having cached the JavaScript. Please try hard-refreshing your browser with the plugin settings as they are, then refresh the page again and the banner should disappear as normal. This issue won’t be something your visitors see, as it should should be your browser caching and still working off the testing JavaScript.
Please let us know how you get on. If the bug persists we’ll happily take a closer look for you to see if there is indeed a bug with the plugin.
James.
Forum: Plugins
In reply to: [WP Headmaster] adding additional code in headNo problem, you can already do that through the plugin. Basically, if you use the ‘upload’/select .ico; button, you can upload your file, then press ‘insert into post.
This should then fill the field next to it with the URL to your upload.
If you see the second screenshot on this page: https://www.ads-software.com/plugins/wp-headmaster/screenshots/
That shows a Favicon that has been uploaded through this method.
Once you have the URL to the .ico within the field, it will automatically add the <link rel within the <head> which is what you’re looking for.
Let me know if that works OK.
Forum: Plugins
In reply to: [WP Headmaster] adding additional code in headNo problem at all Grigione. Are you aware though that you can upload your Favicon automatically through my plugin, and the code that embeds the Favicon will automatically be added to the head?
Or would you prefer not to upload it via the WP Headmaster settings, and instead source it locally from your theme folder?
Or is it that you’re looking to have the two different <link rel tags whereas my plugin only deploys the one?
Hope that helps Grigione, thank you for your patience.
Forum: Plugins
In reply to: [WP Headmaster] adding additional code in headHi again Grigione, are you looking for an alternate way of displaying a Favicon to uploading it through the back-end?
Do you wish to source your Favicon from an external URL, or are you simply looking for a way to add any hard-coding into wp_head ?
Forum: Plugins
In reply to: [WP Headmaster] adding additional code in headHey Grigione, apologies for the late reply to your question.
So just to confirm, would you like WP Headmaster upgrading so that you can source and enqueue links like the KML one via the plugin?
With respect to the Favicon are you also suggesting an option to source the image from within the theme rather than via uploading it in the backend?
James.