Theo Gkitsos
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Smart COD] HPOS SupportHi, is there an ETA for the update? It’s the only plugin that do not support HPOS and I want to update my sites.
Thanks
Hmmm that’s weird. I tested on some sites with 5.2.4 and it works. But on some others it doesn’t.
I even disactivated the plugin, enabled it again, and setup the firewall again, but still I can’t make it work. So the problem remains on many sites.
Also, during the activate/deactivate process, I noticed that some rules are not applied when I activate the plugin again. The plugin settings should not change if I activate/deactivate. I noticed these 2 settings so far, I have them enabled, but when I deactivate and the activate again, they are switched off.
I don’t know if that’s related, probably not, but please have a look into this too.
Theo
Forum: Plugins
In reply to: [Gift Wrapping for WooCommerce] Add message fieldOh ok, thanks for the clarification! That’s another great idea, we will probably add this as a feature on the future.
Thanks, Theo
Forum: Plugins
In reply to: [Gift Wrapping for WooCommerce] Add message fieldHi Clara, thanks for your kind words!
Maybe we will add this in the future. In the meantime, you can use an existing hook to add a description.
Add the following to your child theme’s functions.php file, or in a plugin like Code snippets.
add_action( 'tgpc_wc_gift_wrapper_checkout_field_after', 'dc_add_descr_after_gift_wrapping' ); function dc_add_descr_after_gift_wrapping() { $wrapping_description = 'Your description...'; echo '<div class="dc-tgpc-description">' . $wrapping_description . '</div>'; }
You can also add some CSS to style it, using the class
dc-tgpc-description
, for example:.dc-tgpc-description { color: #555; font-size: 14px; margin: 5px 0 15px; padding-left: 20px; }
Add your CSS in your child theme’s style.css file, or the WordPress Customizer -> Custom CSS.
If you follow the above instructions, you can achieve something like this:
Theo
- This reply was modified 1 year, 3 months ago by Theo Gkitsos. Reason: image link uploaded
Forum: Plugins
In reply to: [WooCommerce] Rename Greece country codeI agree 100% with @ntellos13 , the code should not be changed because one specific system requires the EL format. There are other integrations like payment gateways that require the GR code. The correct way is to make a mapping before sending the data to any 3rd party if need be. You could hire someone who can do this for you, but changing the code for everybody is not a solution.
Yes, I don’t feel comfortable providing my site credentials, but here is my site info.
Also, I enabled WP_DEBUG and no errors appear. Maybe it has something to do with the theme installed?
wp-core version: 6.1.3 site_language: en_US user_language: en_US timezone: Europe/Athens permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: undefined environment_type: production user_count: 28 dotorg_communication: true wp-dropins (1) advanced-cache.php: true wp-active-theme name: The Challenger II (woodmart-child) version: 1.0.0 parent_theme: Woodmart (woodmart) wp-parent-theme name: Woodmart (woodmart) version: 7.2.4 author: XTemos author_website: https://themeforest.net/user/xtemos auto_update: Disabled wp-mu-plugins (1) aios-firewall-loader.php: author: (undefined), version: (undefined) wp-plugins-active (51) Advanced Dynamic Pricing for WooCommerce (Pro): version: 4.4.1, author: AlgolPlus, Auto-updates disabled All In One WP Security: version: 5.1.9, author: All In One WP Security & Firewall Team, Auto-updates disabled Alpha Bank Payment Gateway by digital challenge_: version: 1.1.9, author: digital challenge_, Auto-updates disabled AR Model Viewer: version: 2.1.0, author: BitBute, Auto-updates disabled AutoConvert Greeklish Permalinks: version: 4.1.1, author: Dimitris Mavroudis, Auto-updates disabled Bridge 4 ERP: version: 0.1, author: digital challenge_, Auto-updates disabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Code Snippets: version: 3.4.0, author: Code Snippets Pro, Auto-updates disabled Complianz | GDPR/CCPA Cookie Consent: version: 6.4.6, author: Really Simple Plugins, Auto-updates disabled Custom Admin Tools by digital challenge_: version: 4.0.0, author: theogk, digital challenge_, Auto-updates disabled Custom Availability by digital challenge_: version: 1.1.0, author: theogk, digital challenge_, Auto-updates disabled Dimensions Filter by digital challenge_: version: 1.0.0, author: digital challenge_, Auto-updates disabled Elementor: version: 3.13.4, author: Elementor.com, Auto-updates disabled Export Media Library: version: 4.0.2, author: Mass Edge Inc., Auto-updates disabled JSM Show Post Metadata: version: 3.0.14, author: JS Morisset, Auto-updates disabled JSM Show User Metadata: version: 3.0.14, author: JS Morisset, Auto-updates disabled Kadence WooCommerce Email Designer: version: 1.5.11, author: Kadence WP, Auto-updates disabled MailChimp for WordPress Multilingual: version: 0.0.3, author: OnTheGoSystems, Auto-updates disabled MC4WP: Mailchimp for WordPress: version: 4.9.5, author: ibericode, Auto-updates disabled Moosend Website Tracking: version: 1.0.190, author: Moosend, Auto-updates disabled One Click Accessibility: version: 2.1.0, author: One Click Accessibility, Auto-updates disabled PixelYourSite Pinterest: version: 4.2.2, author: PixelYourSite, Auto-updates disabled PixelYourSite PRO: version: 9.7.0.1, author: PixelYourSite, Auto-updates disabled Qi Addons For Elementor: version: 1.6.2, author: Qode Interactive, Auto-updates disabled Recover Abandoned Cart: version: 23.8, author: FantasticPlugins, Auto-updates disabled Rewrite Rules Inspector: version: 1.3.1, author: Automattic, Daniel Bachhuber, Auto-updates disabled Safe SVG: version: 2.1.1, author: 10up, Auto-updates disabled Slider Revolution: version: 6.5.31, author: ThemePunch, Auto-updates disabled WooCommerce: version: 7.7.2, author: Automattic, Auto-updates disabled WooCommerce Advanced Bulk Edit: version: 5.1, author: George Iron & Yas G., Auto-updates disabled WooCommerce Cash On Pickup: version: 1.6.1, author: Marian Kadanka, Auto-updates disabled WooCommerce Invoice Checkout Fields by digital challenge_: version: 2.2.1, author: digital challenge_, Auto-updates disabled WooCommerce Multilingual & Multicurrency: version: 5.1.3, author: OnTheGoSystems, Auto-updates disabled WooCommerce PayPal Payments: version: 2.0.5, author: WooCommerce (latest version: 2.1.0), Auto-updates disabled WooCommerce Skroutz & BestPrice XML Feed by digital challenge_: version: 1.3.3, author: digital challenge_, Auto-updates disabled WooCommerce Weight Based Shipping: version: 5.5.3, author: weightbasedshipping.com, Auto-updates disabled Woodmart Core: author: (undefined), version: 1.0.39, Auto-updates disabled WP All Export - WooCommerce Export Add-On Pro: version: 1.0.6, author: Soflyy, Auto-updates disabled WP All Export Pro: version: 1.8.3, author: Soflyy, Auto-updates disabled WPForms Lite: version: 1.8.2.1, author: WPForms, Auto-updates disabled WPForms Multilingual: version: 0.3.3, author: OnTheGoSystems, Auto-updates disabled WP Go Maps (formerly WP Google Maps): version: 9.0.19, author: WP Go Maps, Auto-updates disabled WP Google Maps - Pro Add-on: version: 8.1.20, author: WP Google Maps, Auto-updates disabled WP Mail SMTP: version: 3.8.0, author: WP Mail SMTP, Auto-updates disabled WPML Media: version: 2.7.2, author: OnTheGoSystems, Auto-updates disabled WPML Multilingual CMS: version: 4.6.3, author: OnTheGoSystems, Auto-updates disabled WPML SEO: version: 2.1.0, author: OnTheGoSystems, Auto-updates disabled WPML String Translation: version: 3.2.5, author: OnTheGoSystems, Auto-updates disabled WPS Hide Login: version: 1.9.8, author: WPServeur, NicolasKulka, wpformation, Auto-updates disabled Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled Yoast SEO: version: 20.8, author: Team Yoast (latest version: 20.9), Auto-updates disabled wp-plugins-inactive (6) Envato Market: version: 2.0.7, author: Envato, Auto-updates disabled Error Log Monitor: version: 1.7.6, author: Janis Elsts, Auto-updates disabled Finloup Woocommerce Plugin: version: 2.0.1, author: finloup, Auto-updates disabled WooCommerce Smart COD: version: 1.6.2, author: woosmartcod.com, Auto-updates disabled WP Rocket: version: 3.12.0.5, author: WP Media, Auto-updates disabled WP Rocket | Cache Search Results: author: WP Rocket Support Team, version: (undefined), Auto-updates disabled wp-media image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM ghostscript_version: not available wp-server server_architecture: FreeBSD 13.2-RELEASE amd64 httpd_software: nginx/1.24.0 php_version: 8.1.20 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 30 memory_limit: 256M max_input_time: 60 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 8.1.2 OpenSSL/1.1.1u suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true wp-database extension: mysqli server_version: 8.0.32 client_version: mysqlnd 8.1.20 max_allowed_packet: 268435456 max_connections: 101 wp-constants WP_HOME: undefined WP_SITEURL: undefined WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: false COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable wp_mail_smtp version: 3.8.0 license_key_type: lite debug: No debug notices found. lite_install_date: Jul 20, 2022 @ 12:02pm wpforms version: 1.8.2.1 lite: Jul 19, 2022 @ 4:58pm upload_dir: Writable total_forms: 1 total_submissions: undefined wp-core version: 6.1.3 site_language: en_US user_language: en_US timezone: Europe/Athens permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: undefined environment_type: production user_count: 28 dotorg_communication: true wp-dropins (1) advanced-cache.php: true wp-active-theme name: The Challenger II (woodmart-child) version: 1.0.0 parent_theme: Woodmart (woodmart) wp-parent-theme name: Woodmart (woodmart) version: 7.2.4 author: XTemos author_website: https://themeforest.net/user/xtemos auto_update: Disabled wp-mu-plugins (1) aios-firewall-loader.php: author: (undefined), version: (undefined) wp-plugins-active (51) Advanced Dynamic Pricing for WooCommerce (Pro): version: 4.4.1, author: AlgolPlus, Auto-updates disabled All In One WP Security: version: 5.1.9, author: All In One WP Security & Firewall Team, Auto-updates disabled Alpha Bank Payment Gateway by digital challenge_: version: 1.1.9, author: digital challenge_, Auto-updates disabled AR Model Viewer: version: 2.1.0, author: BitBute, Auto-updates disabled AutoConvert Greeklish Permalinks: version: 4.1.1, author: Dimitris Mavroudis, Auto-updates disabled Bridge 4 ERP: version: 0.1, author: digital challenge_, Auto-updates disabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Code Snippets: version: 3.4.0, author: Code Snippets Pro, Auto-updates disabled Complianz | GDPR/CCPA Cookie Consent: version: 6.4.6, author: Really Simple Plugins, Auto-updates disabled Custom Admin Tools by digital challenge_: version: 4.0.0, author: theogk, digital challenge_, Auto-updates disabled Custom Availability by digital challenge_: version: 1.1.0, author: theogk, digital challenge_, Auto-updates disabled Dimensions Filter by digital challenge_: version: 1.0.0, author: digital challenge_, Auto-updates disabled Elementor: version: 3.13.4, author: Elementor.com, Auto-updates disabled Export Media Library: version: 4.0.2, author: Mass Edge Inc., Auto-updates disabled JSM Show Post Metadata: version: 3.0.14, author: JS Morisset, Auto-updates disabled JSM Show User Metadata: version: 3.0.14, author: JS Morisset, Auto-updates disabled Kadence WooCommerce Email Designer: version: 1.5.11, author: Kadence WP, Auto-updates disabled MailChimp for WordPress Multilingual: version: 0.0.3, author: OnTheGoSystems, Auto-updates disabled MC4WP: Mailchimp for WordPress: version: 4.9.5, author: ibericode, Auto-updates disabled Moosend Website Tracking: version: 1.0.190, author: Moosend, Auto-updates disabled One Click Accessibility: version: 2.1.0, author: One Click Accessibility, Auto-updates disabled PixelYourSite Pinterest: version: 4.2.2, author: PixelYourSite, Auto-updates disabled PixelYourSite PRO: version: 9.7.0.1, author: PixelYourSite, Auto-updates disabled Qi Addons For Elementor: version: 1.6.2, author: Qode Interactive, Auto-updates disabled Recover Abandoned Cart: version: 23.8, author: FantasticPlugins, Auto-updates disabled Rewrite Rules Inspector: version: 1.3.1, author: Automattic, Daniel Bachhuber, Auto-updates disabled Safe SVG: version: 2.1.1, author: 10up, Auto-updates disabled Slider Revolution: version: 6.5.31, author: ThemePunch, Auto-updates disabled WooCommerce: version: 7.7.2, author: Automattic, Auto-updates disabled WooCommerce Advanced Bulk Edit: version: 5.1, author: George Iron & Yas G., Auto-updates disabled WooCommerce Cash On Pickup: version: 1.6.1, author: Marian Kadanka, Auto-updates disabled WooCommerce Invoice Checkout Fields by digital challenge_: version: 2.2.1, author: digital challenge_, Auto-updates disabled WooCommerce Multilingual & Multicurrency: version: 5.1.3, author: OnTheGoSystems, Auto-updates disabled WooCommerce PayPal Payments: version: 2.0.5, author: WooCommerce (latest version: 2.1.0), Auto-updates disabled WooCommerce Skroutz & BestPrice XML Feed by digital challenge_: version: 1.3.3, author: digital challenge_, Auto-updates disabled WooCommerce Weight Based Shipping: version: 5.5.3, author: weightbasedshipping.com, Auto-updates disabled Woodmart Core: author: (undefined), version: 1.0.39, Auto-updates disabled WP All Export - WooCommerce Export Add-On Pro: version: 1.0.6, author: Soflyy, Auto-updates disabled WP All Export Pro: version: 1.8.3, author: Soflyy, Auto-updates disabled WPForms Lite: version: 1.8.2.1, author: WPForms, Auto-updates disabled WPForms Multilingual: version: 0.3.3, author: OnTheGoSystems, Auto-updates disabled WP Go Maps (formerly WP Google Maps): version: 9.0.19, author: WP Go Maps, Auto-updates disabled WP Google Maps - Pro Add-on: version: 8.1.20, author: WP Google Maps, Auto-updates disabled WP Mail SMTP: version: 3.8.0, author: WP Mail SMTP, Auto-updates disabled WPML Media: version: 2.7.2, author: OnTheGoSystems, Auto-updates disabled WPML Multilingual CMS: version: 4.6.3, author: OnTheGoSystems, Auto-updates disabled WPML SEO: version: 2.1.0, author: OnTheGoSystems, Auto-updates disabled WPML String Translation: version: 3.2.5, author: OnTheGoSystems, Auto-updates disabled WPS Hide Login: version: 1.9.8, author: WPServeur, NicolasKulka, wpformation, Auto-updates disabled Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast, Auto-updates disabled Yoast SEO: version: 20.8, author: Team Yoast (latest version: 20.9), Auto-updates disabled wp-plugins-inactive (6) Envato Market: version: 2.0.7, author: Envato, Auto-updates disabled Error Log Monitor: version: 1.7.6, author: Janis Elsts, Auto-updates disabled Finloup Woocommerce Plugin: version: 2.0.1, author: finloup, Auto-updates disabled WooCommerce Smart COD: version: 1.6.2, author: woosmartcod.com, Auto-updates disabled WP Rocket: version: 3.12.0.5, author: WP Media, Auto-updates disabled WP Rocket | Cache Search Results: author: WP Rocket Support Team, version: (undefined), Auto-updates disabled wp-media image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM ghostscript_version: not available wp-server server_architecture: FreeBSD 13.2-RELEASE amd64 httpd_software: nginx/1.24.0 php_version: 8.1.20 64bit php_sapi: fpm-fcgi max_input_variables: 3000 time_limit: 30 memory_limit: 256M max_input_time: 60 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 8.1.2 OpenSSL/1.1.1u suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true wp-database extension: mysqli server_version: 8.0.32 client_version: mysqlnd 8.1.20 max_allowed_packet: 268435456 max_connections: 101 wp-constants WP_HOME: undefined WP_SITEURL: undefined WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: false COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable wp_mail_smtp version: 3.8.0 license_key_type: lite debug: No debug notices found. lite_install_date: Jul 20, 2022 @ 12:02pm wpforms version: 1.8.2.1 lite: Jul 19, 2022 @ 4:58pm upload_dir: Writable total_forms: 1 total_submissions: undefined
Forum: Plugins
In reply to: [Yoast SEO] Default og:image setting doesn’t work anymoreFor anyone looking to do the same thing, I wrote this code that seems to work fine:
// if og:image is set from a random content image, change it to default og:image from yoast settings add_filter( 'wpseo_opengraph_image', 'dc_yoast_prefer_default_image_over_first_content_image', 10, 2 ); function dc_yoast_prefer_default_image_over_first_content_image( $img_url, $presentation ) { if ( !empty( $presentation ) && isset( $presentation->model ) && isset( $presentation->model->open_graph_image_source ) ) { if ( 'first-content-image' === $presentation->model->open_graph_image_source ) { $yoast_options = get_option( 'wpseo_social' ); if ( !empty( $yoast_options['og_default_image'] ) ) { return trim( $yoast_options['og_default_image'] ); } } } return $img_url; }
Forum: Plugins
In reply to: [Yoast SEO] Default og:image setting doesn’t work anymoreOk thanks
Forum: Plugins
In reply to: [Yoast SEO] Default og:image setting doesn’t work anymoreHmmm, this was not the way it worked in the past, maybe I noticed the change just now.
Is there a way (with code I guess) to skip the “prominent image from the page’s content” and use the “Social default image” image instead? It is creating so many problems with unwanted images in all the wrong dimensions, causing odd croppings on social sharing.
Thanks
Forum: Plugins
In reply to: [Yoast SEO] Default og:image setting doesn’t work anymoreHello, please read my post more carefully about the conditions when this problem appears.
These 2 things must be true at the same time for the problem to appear.
1. NO featured image set
2. Post content includes an image, inserted with a GT block or elementor.Then the og:image is not the default from the settings, but the image included in the content.
Thanks
Forum: Plugins
In reply to: [One Click Accessibility] SVGs fail w3 HTML validationYou’re probably right about this plugin.
Forum: Plugins
In reply to: [One Click Accessibility] SVGs fail w3 HTML validationThanks for trying to help. I know how to fix this error too. But I like this plugin, I use it frequently and don’t want to upload the modified files every time.
Also, we both know how to overcome this, but most people don’t, so I think it’s better for everyone to fix this error in the “plugin-level” and not at “user-level”.
Forum: Plugins
In reply to: [One Click Accessibility] SVGs fail w3 HTML validationAny news? It’s 2 minutes of work.
- This reply was modified 2 years, 5 months ago by Theo Gkitsos.
Thank you Mikko, it seems to work fine now. I really appreciate your help.
UPDATE:
I switched theme to Storefront and used the default WC filters by attribute and the same thing happens again, so it has nothing to do with Woodmart. This is a issue on your end.I also found out that if I disable the new attribute lookup table, the filters work again. So the problem appears when Relevanssi is active AND the attribute lookup table is in use.
I switched off the table usage for now but I think this should be fixed, as it’s WC core feature.
Thanks again,
Theo- This reply was modified 2 years, 6 months ago by Theo Gkitsos.