WP Zone
Forum Replies Created
-
Forum: Plugins
In reply to: [Inline Image Upload for BBPress] The latest version isn’t working correctly.Hi, Have you tried using a different browser? I did a quick search, and it seems this might be an issue related to a Chrome extension.
Forum: Plugins
In reply to: [Inline Image Upload for BBPress] The latest version isn’t working correctly.You can download 1.1.18 from this page: https://www.ads-software.com/plugins/image-upload-for-bbpress/advanced/
Forum: Plugins
In reply to: [Inline Image Upload for BBPress] The latest version isn’t working correctly.Hi there,
I think this may be due to a conflict with another plugin on your site, since the
tb_button
class doesn’t appear in our plugin at all. Do you know where this class comes from and have you added or updated any other plugins around the time this issue started?Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hi,
I’m glad to hear that the “Donate” button is working as expected.
Regarding the “Amount:” label, the only way to change it is by implementing a translation. Make sure that the correct text domain is selected in the Loco Translate plugin for this specific plugin.
If the translation still doesn’t take effect, you may need to manually add or update the relevant translation file to ensure the label is properly translated. Alternatively, you can reach out to Loco Translate plugin support for further assistance.
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Shortcode, button textHi,
At the moment, the plugin doesn’t support a shortcode to display the donation field directly.
If you’d like to change the “Donate” text to something else, such as “Pay,” you can easily do this using a translation plugin, for example https://www.ads-software.com/plugins/loco-translate/. Additionally, we’ve added a filter that allows you to change the button text. Here’s an example of how to implement it:
add_filter('wpz_change_donation_button_text', function($text) { return 'Pay'; // Replace 'Pay' with your desired text });
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hi, please use an example code from this message: https://www.ads-software.com/support/topic/some-labels-are-not-in-po-file/#post-17997576 Additionally, here is documentation about how to use filteres: https://developer.www.ads-software.com/plugins/hooks/filters/
Forum: Plugins
In reply to: [Connect SendGrid for Emails] API key invalid permissions error againHi, Could you please send us your Site Health info? You can follow the instructions here:https://wpzone.co/docs/support/site-health-info/#to-export-site-health-info
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hi, please make sure to use the filter I mentioned in the previous message.
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Implementing custom PHP code, such as filters for modifying WooCommerce functionality, translate plugins, demands a solid understanding of PHP and the intricacies of how WordPress and WordPress plugins, like WooCommerce, function. If you’re not familiar with PHP, it may be wise to consult with a professional developer.
To facilitate easier customization of button text on donation products, we have introduced a new filter: wpz_change_donation_button_text. This filter allows you to modify the default “Donate” button text to better suit your site’s needs.
add_filter('wpz_change_donation_button_text', function($text) {
return 'Custom Donate'; // Replace with your desired text
});This filter lets you change the default “Donate” button text to anything you prefer. It was introduced in version 1.1.14
- This reply was modified 2 months, 2 weeks ago by WP Zone.
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hi,
We’re using the esc_html__ function, which retrieves the translation of $text and safely escapes it for use in HTML output.
Please refer to the tutorial I mentioned earlier, as it explains how to change the button text.
Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hi,
We are using Donate in two contexts, both are translation ready:
function add_to_cart_text() { return esc_html__('Donate', 'donations-for-woocommerce'); }
function single_add_to_cart_text() { return esc_html__('Donate', 'donations-for-woocommerce'); }I am not sure why translations are not working in your case, but you can also try to set custom text for button using WooCommerce hooks:
https://metorik.com/blog/change-the-add-to-cart-text-in-woocommerce
The product type is ‘donation’Forum: Plugins
In reply to: [Potent Donations for WooCommerce] Some labels are not in PO file.Hello,
It seems that “Donate” is already included in the PO file and is ready for translation.
Hi,
Thank you for your suggestion! Adding an export option in both the backend admin and the customer’s “My Account” page is a great idea, and I’ll certainly pass this along to our development team for consideration in future versions.
In the meantime, you might want to check out our Frontend Reports for WooCommerce plugin, which allows you to generate reports directly from the frontend, or our Scheduled Email Reports for WooCommerce plugin, which can automate the process of sending reports via email.
If you need any references or assistance with implementing these solutions, feel free to reach out, and I’d be happy to help.
Thanks again for your input!
Forum: Plugins
In reply to: [Replace Image] Remove Query StringHi, this query parameter is added by default in the admin to help prevent caching from causing issues when an image is changed – without it, the image may not switch to the new image for some time after the image is replaced.
It can be removed via the following (we’d suggest in the?
admin_init
?hook since only the admin should be affected by these hooks):remove_filter('wp_calculate_image_srcset', 'hm_replace_image_calculate_image_srcset');
remove_filter('wp_get_attachment_image_src', 'hm_replace_image_get_attachment_image_src');
remove_filter('wp_prepare_attachment_for_js', 'hm_replace_image_prepare_attachment_for_js');
Is there a reason why you want to remove the query parameter? Is it causing problems?
Forum: Plugins
In reply to: [Replace Image] replace button image, doesnt show upHello, the Replace Image plugin has been verified with WordPress version 6.6.1 and is functioning properly. Could you please deactivate any other plugins and switch your theme to, for instance, Twenty Twenty-Four? If the replace image button remains invisible for images in the media library, kindly provide us with your site health information. You can find the instructions here: https://wpzone.co/docs/support/site-health-info/.