glanzi
Forum Replies Created
-
Yes, and I actually discover also why it happens.
If so interested, here’s an explanation: https://stackoverflow.com/questions/23888977/how-do-browsers-change-font-weight-if-its-not-present-in-the-current-font
Thank you for the support.
I just found out that Questrial has officially only weight 400. I suppose That gutenberg doesn’t know how to deal with bold strings, therefore it tried to thicken the fontface without reching a good result.
In the frontend, though, the broweser wa able to thicken the fontface in a proper way, simulating a font weight that wasn’t actually there.
I switched to another font.
We are facing the same issue with random orders, we couldn’t identify any common info. It appears to be not related to products or type of PayPal payment.
Forum: Themes and Templates
In reply to: [Newsup] Widget area errorHi,
I deactivated every plugin one by one and the error was always there.
What else I could try?
@phelembae Thank you for the suggestions, but I told that deactivating MemberPress isn’t an option.
Anyway, for anyone who is facing the same issue, the solution is to add this snippet in functions.php:
add_filter('mpcs_classroom_style_handles', function ($allowed_handles) { $allowed_handles[] = 'protected-video'; return $allowed_handles; });MemberPress is preventing some CSS to be loaded in their lessons CPT, therefore you need to make it happen anyway with the script above.
Cheers
P.S. That should work for other plugins too (custom blocks or similar), just add the right handle to let the plugin’s CSS load in MemberPress classroom mode.
Maybe I wasn’t completely clear (English is my second language, sorry): The plugin is working on posts and pages, but in a particular CPT (MemberPress lessons) it isn’t.
Since my goal is to protect video in those pages (lessons), deactivating MemberPress isn’t an option.
Hi,
You can check the issue here: https://planbproject.it/lessons/introduzione-al-corso. (If there is a message telling that the content is blocked, just click on ok. It’s not blocked but public.
@phelembae I already did disable caching plugins and check it in incognito mode. The problem persist.
I suppose there is something else that’s prevent CSS to be loaded, but I don’t know what could be.
Another thing I tried was to disable everything but MemberPress and Protected Video Plugin. Issue wasn’t resolved.
EDIT: I also sent an email to the support team at MemberPress to know if there actually is something that is preventing extra CSS to be loaded.
- This reply was modified 3 years, 4 months ago by glanzi.
Hi,
I am facing the same issue, but also deactivating everything the problem is there.
In particular, that is happening in a custom post type from MemberPress: the lessons.
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] CANNOT BE NEGATIVE [UNPROCESSABLE ENTITY|Apparently the issue is solved now.
Does any of you still face the issue?
Can somebody confirm that has been taken care of?
Thank youForum: Plugins
In reply to: [WooCommerce PayPal Payments] CANNOT BE NEGATIVE [UNPROCESSABLE ENTITY|We have a similar issue with the plugin Worldz, that apply discount based on customer’s social media data.
We have no control whatsoever regarding how that plugin implement the discount. Should I roll back to the PayPal Standard payment method?
Hi,
Yes, I did find a solution, it was fairly simple, but I had to figure out the right filter.
First, I added a custom field for products and called itopt_attachmentand set the Return Format toID.
Then I used this code:add_filter('woosg_item_thumbnail' , 'woosg_item_thumbnail_cb' , 10 ,2); function woosg_item_thumbnail_cb($img , $prod ){ $opt_attachment_id = get_post_meta( $prod->id, 'opt_attachment' , true); if($opt_attachment_id != ""){ $img = wp_get_attachment_image( $opt_attachment_id , 'woocommerce_thumbnail', false, array() ); } return $img; }That’s it.
If there is a specific image selected, it will be used, otherwise the default featured image will.The problem is the Italian language.
I noticed your RomaFC flag and I thought to warn you.
Set English language on your site and it will work again. Also, that appear to happen if you roll back to version 3.2.0
Happy coding πForum: Fixing WordPress
In reply to: Block editor wonβt save if there is a link in the articleClear the cache worked for me!
Hooray!Thank you a lot James, I really appreciate your help!
I really want to use the block editor as default!It was great to find a kind and clear moderator that helped me. I had terrible times in other forums before.
Have a nice rest day or night (wherever latitude you are).
Cheers!
Forum: Fixing WordPress
In reply to: Block editor wonβt save if there is a link in the articleOne other thing, just to be sure:
I downloaded an english version of WP, but when I uploaded it on the server, it has the Italian language, which is the one I used before. Is this setting either on /wp-content/ or wp-config.php?
If not, the erase command on server didn’t work, and that would make the past attempt useless.
Forum: Fixing WordPress
In reply to: Block editor wonβt save if there is a link in the articleFirst of all, thank you for your help!
I did it as you suggested, James, but nothing changed.
Here’s what I did:
1. Using Filezilla, I erased everything from the /www/ folder on server, except wp-config.php, the favicon file and the folder /wp-content/ (On the server the root folder contains /www/ and /logs/ folder, just to be clear).
2. Downloaded and unzipped WP file from the official ww.wp.xz.cn website. I immediately removed the /wp-content/ folder and the wp-config-sample.php file from local extracted folder.
3. Uploaded everything left in the /www/ folder on the server, where the old file were.Website works flawless as before, but the block editor issue is still there.
I also tried again to disable all the plugins with “health check”, still no solution, sadly.
Any idea now? Am I damned? π