Posted on Leave a comment

How to increase PHP upload_max_filesize from WordPress dashboard?

A lower value on upload_max_filesize will cause your WordPress website to only accept smaller size of media file to upload. We can immediately anticipate this when we visit the media uploader via Dashboard > Media > Add New. But we may not be aware of this when we have a front-end form that allows visitors to upload their files. And sometimes we don’t know where to add a notice below the media picket. So it will be better to accept a larger size when it is possible.

upload_max_filesize is a setting key for PHP script running on your server. The purpose is merely self-explanatory. Normally we can set our own value over a .htaccess file in the root directory — in the same place where the wp-config.php file presents. We can also alter this from WordPress dashboard with the help of Custom PHP Settings plugin.

Continue reading How to increase PHP upload_max_filesize from WordPress dashboard?
Posted on Leave a comment

How to restrict access to particular blocks?

If you are a WordPress multisite administrator of students or teachers blogs, you may want to make the block editor simpler since you know they are in a learning curve to master the modern editor.

Restricting access to only three or four blocks (like Paragraph, Heading, Image, and Table), which are used to compose a jounal or report will certainly reduce the complexity.

Continue reading How to restrict access to particular blocks?
Posted on Leave a comment

How to fix broken layout on my website after WordPress 5.5 update?

WordPress websites may experience broken layout issues after 5.5 update. Front-end elements from themes or plugins which rely on jQuery Migrate (like slider, mobile menu button, accordion, etc.) will not be functioning properly due to WordPress 5.5 removes jQuery Migrate from the core. And this may affect the entire JavaScripts loaded in the site as one line of error found.

Why was jQuery Migrate removed? Andrew Ozz stated that jQuery Migrate is a helper tool that should be included externally from themes or plugins and should not part of the libraries bundled in the core of WordPress. Furthermore, this removal in 5.5 release was planned for the first step to introduce the latest jQuery script to replace the current version (1.12.4) in WordPress 5.6. This was a long-waited proposal since it had been raised from June 2016 back.

If you can confirm this jQuery Migrate removal breaking your site’s layout, try to install and activate the Enable jQuery Migrate Helper plugin to quickly fix it. If still, the issue remains after installing this plugin, you may contact your theme and plugin developers to ask whether they are aware of this and assure their theme/plugin is fully compatible with WordPress 5.5 or not. But before doing so, try flushing the cache on your site (if enabled) as it may enables web browser to load the cached version of your site. You may also need to clear cache, history, and cookie on your web browser end.