Posted on Leave a comment

How to display Instagram feed when my WordPress website is in maintenance mode?

Enable Maintenance Page plugin allows you to choose a page content to display when a WordPress website is set in maintenance mode. By this core feature, you can insert any type of blocks and put them in preferred order. For example, you can display photos or videos from your Instagram feed, that will give an option for visitors to connect and keep updated with your business via Instagram posts. This will surely help maintaining conversation while your website is not online.

Continue reading How to display Instagram feed when my WordPress website is in maintenance mode?
Posted on Leave a comment

Maintenance mode with minimal settings for WordPress

Enable Maintenance Page is a plugin that allows you to quickly switch a WordPress website readability to a maintenance mode for visitors and display content from a specific page for all public links.

This plugin offers minimal settings, that can be accessed from left site admin menu: Settings > Reading > Enable Maintenance Page.

The content to display during maintenance mode can be choosen from existing pages or the new one. This option allows full control of the information to ready by visitors when they can’t see your actual website pages. It is a good option when your site has block editor enabled. So that you can choose preferred essentials blocks like heading, paragraph, button, embed social profile, etc. You can also add extra blocks from additional block-focused plugins like map, contact form, subscription form, etc.

Continue reading Maintenance mode with minimal settings for WordPress
Posted on Leave a comment

How to fix improper gallery image thumbnail size on WooCommerce product?

We can run WooCommerce on a WordPress site with a theme that doesn’t specifically designed for WooCommerce. And ignore the incompatibility notice in the dashboard for design preference reason.

If you know WordPress coding, a non-supported WooCommerce theme is missing add_theme_support( ‘woocommerce’ ) in its main function.

You will have some store-related problems when you use this kind of theme; for example, product image or gallery thumbnail size not properly configured. The thumbnail grid below the product images slideshow in single product page is usually broken as there is no fixed size specified.

To fix this issue while you don’t want to switch to WooCommerce supported themes, you can apply the below short snippet into your child theme’s functions or add it with the Code Snippets plugin.

Continue reading How to fix improper gallery image thumbnail size on WooCommerce product?
Posted on Leave a comment

How to recover a WordPress website from “Fatal error: Uncaught Error: Call to undefined function”?

The common reasons that cause you to “Fatal error: Uncaught Error: Call to undefined function” are:

  • The host doesn’t meet these requirements.
  • PHP function not found in the current version of the WordPress.
  • PHP function not found in the theme, plugin, or third-party script where the referenced file depends to.

You can’t access the site’s dashboard (/wp-admin) when this error presents on your screen.

I don’t recommend you to update the WordPress version because the basic installation of WordPress with default theme and plugins free won’t produce this error if your host meets these requirements. Updating WordPrsss should always be the last option for this case.

Continue reading How to recover a WordPress website from “Fatal error: Uncaught Error: Call to undefined function”?
Posted on Leave a comment

How to troubleshoot a WordPress website in a secure way?

A complex WordPress website may embody several plugins and a non-default theme. Plugin provides limitless possibilities to extend basic feature of a WordPress site to become a more complex CMS for a specific purpose like online store, learning management system, job board, property listing, etc., or adding components like contact form, gallery slider, WhatsApp button, mobile menu, etc. Where the theme supports the look and feel and in some cases it is built exclusively for a specific need like an online store.

Having a lot of plugins and a special theme is not a bad idea as long as we can maintain the website error-free. To ensure they are not breaking our site, the easiest way is to check their compatibility with the current version of the WordPress running on our site. However, you may not get them really compatible for certain circumstances in your configurations. And the developers behind them may not be aware of it.

The quicker way to find out whether there is a plugin or theme breaking your site is by temporarily disabling all plugins at once and switching theme to one of default WordPress themes; then re-enabling plugins one by one to narrow down the source of the problem. However, this will change your site as well and surely will harm your visitors.

Continue reading How to troubleshoot a WordPress website in a secure way?
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?