As I updated the plugin for my client to the latest version, I encountered some unwanted code rendered on the frontend of the site:
console.warn && console.warn("[GTM4WP] Google Tag Manager container code placement set to OFF !!!"); console.warn && console.warn("[GTM4WP] Data layer codes are active but GTM container must be loaded using custom coding !!!");
Maybe this is an edge case and are some settings missing, but nevertheless, this part should not be visible
I’ve found the problem in the code: it is in the gtm4wp_the_gtm_tag()
method at line 727 of the public/frontend.php file. If you add 'script' => array(),
to the kses array, the issue should be fixed.
Unfortunately I can’t find a way to send you a pull request for this change, so I hope this is clear enough for you to fix the code.
If not, just let me know
Steps
From the WordPress admin dashboard, go to the Revisions queue
Question
Does PublishPress Revisions have a functionality for grouping 2 or more revisions into a ”pull request”? Basically, the behaviour of PublishPress Series, but with page revisions.
Alternatively, is there any other way to sort or tag my revisions except the ”Submitted for Approval” button?
Ideally, I would wish to be able to submit for approval groups of revisions, with each group containing 2 or more revisions.
Thank you for your time!
]]>Thanks
Aftabul Islam
https://www.ads-software.com/plugins/wp-optimize/
for ($i = 0; !empty($jsontype->response->result->doc[$i]); $i++) {
for ($d = 0; !empty($json->grouped->docType_s->groups[$d]); $d++) {
Cordialement,
]]>First, thank you for providing and supporting this excellent plugin. It’s blooming excellent.
Secondly, a request.
The ability to hook setImportPaths would be very useful, allowing other plugins to provide scss boilerplates for example.
Something like this would do the trick in ScssLibrary.php:
$import_paths = apply_filters('scsslib_compiler_import_paths', dirname($in), $in);
$compiler->setImportPaths($import_paths);
Let me know what your thoughts are,
Thanks again!
Feel free to add this or reject it.
In the render_action() function I did this to the abc-hook_heading block:
<li class="abc-hook-heading">
<?php
$type = ucwords(esc_attr($args['type']));
$id = esc_attr($args['ID']);
$url = "https://codex.www.ads-software.com/Plugin_API/{$type}_Reference/{$id}";
echo "<strong>{$type}:</strong> <a href='{$url}' target='_blank'>{$id}</a>";
?>
</li>
Cheers,
Mike
In modules/APBDWMC_general.php you have this line:
$price=@$price*$this->active_currency->rate+floatval($this->active_currency->ex_fee);
This takes the price and multiplies it by the exchange rate plus the fee.
However, due to BIDMASS rules the multiplication happens first and so the exchange fee is just added to the total and not to the rate.
E.g. Price = 10, Exhchange rate is 2, fee is 0.5
Current code will make (10 * 2) + 0.5 = 20.5
When the expected result is 10 * (2 + 0.5) = 25
When our order values very from £150-2000 adding a fixed amount to the total doesn’t work it needs to be the rate that changes.
I fixed this on my copy for now by calculating the rate before I multiply it by the price but it will get overwritten in the next update unless you fix it to.
Thanks.
]]>thank you very much, for sharing this enourmos piece of work.
I’ve done mapping projects a several times and wanted to tryout your plugin on an upcoming project for a while. Now is today and I’m using it.
I’d like to suggest some improvments (or smaller bug fixes) and was looking for an open repo somewhere, with no luck.
Do you accepts contributions anywhere?
Github, Bitbucket, anything?
I wanted to send some changes as pull requests, rather than discussing code changes here on wp.org.
Looking to read from you soon (and will start ask some questions as separated topics here.
]]>The new feature adds some settings to the plugin configuration allowing merchants to enable free shipping for selected services (i.e. ECO) and at a selected cart total (e.g. R1000). How would we go about getting this feature added to the core plugin?
Changes will be uploaded here once we have finished QA.
]]>I would like to contribute a css fix for review. Do you have a GitHub page for me to create a pull request? Briefly looking around I only found: this WP repo link
-Cheers
]]>