herculesdesign
Forum Replies Created
-
Forum: Plugins
In reply to: [Redux Framework] Compatbility with the latest version of WordPressHi,
I have the same problem. I updated Redux to version 5.4.0.4 beta: https://github.com/reduxframework/redux-framework/archive/refs/heads/master.zip, and elements in the Customizer are clickable, but most options are not being published. For example, after changing the background color in the Customizer, I need to go to the theme options panel and save the changes there for them to become visible. Only then are the changes applied.
Forum: Plugins
In reply to: [WooCommerce] Payment method: Cash on Delivery issueWhen the recipient was set to a Gmail address in WooCommerce -> Settings -> Emails -> Email notifications -> New order, and the SMTP plugin was not configured, and the payment method selected was Cash on Delivery, clicking the Place Order button caused the loading icon to spin endlessly. However, the order was visible in the panel with a status of Pending. After setting the email address to one that belongs to the domain of the site and correctly configuring the WP Mail SMTP plugin, the Place Order button works correctly.
Forum: Plugins
In reply to: [WooCommerce] Payment method: Cash on Delivery issueThe issue was that the email address provided was a Gmail address, and the SMTP plugin was not installed. As a result, when the order confirmation email was not sent, the “Place Order” button stopped working. However, you should fix this so that the order goes through even if the email does not get sent.
I know this is a rare case. We can close this thread. Thank you very much for your help ??
It turned out that ModSecurity considered a fragment of custom CSS code in an ace_editor field as dangerous.
Example:
.product-quantity {\x0d\x0adisplay: block!important;\x0d\x0a}\x0d\x0a.
Strange because there is nothing like that in the css code.
- This reply was modified 8 months, 2 weeks ago by herculesdesign.
Thank you for your swift response and for pointing me towards potential causes for the server error I’ve been experiencing. I will follow your advice and delve into the server’s configuration to identify and rectify the root cause of this problem.
I’ll let you know if the cause of this problem will be Redux ??
Forum: Plugins
In reply to: [Mind - AI Content Assistant] Doesn’t work.Here is an error from the debugger:
PHP Fatal error: Uncaught Error: Call to a member function get_error_message() on array in …/public_html/wp-content/plugins/ai-mind/classes/class-rest.php:216
Forum: Plugins
In reply to: [Redux Framework] Typography field issueThat’s great. Thank you ??
Forum: Plugins
In reply to: [Redux Framework] Typography field issueThere is no way to change the css of the p.typography-preview when style is changed using plain css. I modified the redux-typography.js file by replacing this part of the code:
if ( color ) { that.find( '.typography-previewf' ).css( 'color', color ); }
to :
function hexToInt(hexColor) { // Remove the '#' if present if (hexColor.indexOf('#') === 0) { hexColor = hexColor.slice(1); } // Convert hex to integer return parseInt(hexColor, 16); } if (color) { that.find('.typography-preview').css('color', color); // Convert the color and range values to integers let colorInt = hexToInt(color); let whiteInt = hexToInt('ffffff'); let lightGreyInt = hexToInt('dddddd'); // Check if the color is within the specified range if (colorInt >= lightGreyInt && colorInt <= whiteInt) { that.find('.typography-preview').css('background-color', 'black'); } else { // Optionally reset the background color if the text color is not within the range that.find('.typography-preview').css('background-color', ''); // Or set to a default color } }
What do you think about my solution?
Forum: Plugins
In reply to: [Redux Framework] FontAwesomeThat’s great! Thank you for this extra global argument and I appreciate it. I’m closing this thread.
Forum: Plugins
In reply to: [Redux Framework] FontAwesomeThank you for getting back to me.
I am using the Social Profiles field. I noticed a code change in the class-redux-extension-social-profiles.php file. Previously it was like this:
public function enqueue_styles() { wp_enqueue_script( 'font-awesome-kit', 'https://kit.fontawesome.com/a29229187e.js', array(), time(), true ); // Field CSS. wp_enqueue_style( 'redux-field-social-profiles-frontend', $this->extension_url . 'social_profiles/css/field_social_profiles_frontend.css', array(), self::$version ); }
And now in the latest version of Redux it’s like:
public function enqueue_styles() { // Field CSS. wp_enqueue_style( 'redux-field-social-profiles-frontend', $this->extension_url . 'social_profiles/css/field_social_profiles_frontend.css', array(), self::$version ); }
so this snippet is missing and the icons don’t show up:
wp_enqueue_script(
‘font-awesome-kit’,
‘https://kit.fontawesome.com/a29229187e.js’,
array(),
time(),
true
);Is there a way to make Redux enqueue font awesome icons even when the Icon Select or Social Profiles fields are not in use?
Forum: Plugins
In reply to: [Redux Framework] My site is very slow due to ReduxHi,
Here the author of Buzzblog theme.
All you need to do is update the theme to version 5.0 and everything will be fine.??Forum: Plugins
In reply to: [Redux Framework] Syntax errorOh no ! Don’t kill me Kavin, but I confused my clients because two of them had different problems with the Redux plugin at the same time. It turned out that the person who had this problem
Parse error: syntax error, unexpected ‘?’ In /wp-content/plugins/redux/redux-core/framework.php on line 717
was actually using php 7.0.I’m really sorry and thank you for taking care of this.
Forum: Plugins
In reply to: [Redux Framework] Syntax errorAt this LINK you will find all php info.
Forum: Plugins
In reply to: [Redux Framework] wp_remote_post() failedOkay thank you. If there is any problem, I will contact you, and in the meantime I am closing this thread.