Stefano
Forum Replies Created
-
Forum: Plugins
In reply to: [GenerateBlocks] Error on Admin Widgets PageThe error is displayed with any classic theme. I have tried changing several, for example Astra (free version).
When I disable the Generateblocks plugin the error disappears.I think that the plugin uses a deprecated function of wp-editor or wp-edit-posts.
Obviously WP_DEBUG = true
here the screenshot of the error page
Thanks
- This reply was modified 2 years ago by Stefano.
Could you kindly tell me where and how can I create this pull request?
Thanks
Hi @neosinner,
the reason is that jQuery is an outdated and unnecessary framework that unnecessarily burdens the website, which as of today, needs speed and avoidance of unnecessary payloads.
WordPress doesn’t load jQuery in the frontend by default but only in the backend, so in my custom theme that I developed, I used only pure javascript and jQuery isn’t loaded as a dependency, but by activating mailpoet it is.
Unfortunately sorry to hear this response, you should re-evaluate the issue internally and also with high priority as everyone is trying to eliminate unnecessary frameworks to ensure higher speed and high page speed scores, also to ensure more efficient SEO.
You should completely migrate to React.
Many people are abandoning plugins and scripts that still use jQuery.Let me know.
ThanksForum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeNo, I don’t think so, because in this case there are two same field to fill… it’s confusing for the user
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeYes, exactly, but it is confusing for a normal user
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeOk, so I have a custom option in WP Customizer of my custom theme:

I used
generateblocks_global_container_widthfilter and it works on Gutenberg editor blocks:
But I’d like also the same value to be automatically set on Generate Blocks > Settings:

In this case it should be 1300px.
I hope I have managed to explain myself well.
Thanks
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeIt works! the only small problem is that the set value is visible in the blocks but in the settings is not read and whatever value is then entered on the settings page is not read.
Is there no way to enter the value in the db or in the settings page?Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeI can’t find
generateblocks_global_container_width, hoe use It?however I want to set global width automatically Reading a value from my theme option
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeinstead of a get function Is there a set function? Or maybe you can read It from theme.json?
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeyes It works but i don’t want set It manually because I already have to set It in my custom theme option, so I just want set it once, and automatically set it into gb
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeMaybe I didn’t explain myself well, sorry but I’m not English. I’ll try to explain myself better, I Simply need to set the global max-width value via code in dashboard> generateblocks> settings
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themewhat?
I Just need something like a GB filter to set the global max width by code….
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeit’s very usefull because with a max width wrapper set on the theme, when I use a full width block/container and an inner container, to keep the same width of the template theme, it’s necessary set the max width on inner container.
Forum: Plugins
In reply to: [GenerateBlocks] Set global max-width by code for custom themeI mean to set the global max-width value into GB Settings sections. I wanna keep a universal place where set this value, at the moment I have a custom option in WP Customizer to set it.
Maybe can I set global max-width with some code in functions.php by first retrieving the value from the customiser and then injecting it into generateblock?
Thanks
- This reply was modified 2 years, 1 month ago by Stefano.
I’m Sorry @avi25 my mistake. Now It works.
is there a possibility or could you add the customize for email message to admin like CF7?
thanks