, ,

How to Replace Gutenberg With Classic Editor

Have you upgraded your WordPress to 5.0? If yes, then you may notice some changes in the upgraded version like in the editor section. Since Gutenberg is set as default editor in the latest version of WordPress, some are trying to back to classic editor. In this step by step guide I’m going to show you how to Replace Gutenberg With Classic Editor.

Do you want to disable Gutenberg and back to Classic editor for your WordPress site? You can use classic editor in two ways.

  • Disable Gutenberg & use only Classic editor
  • Use Gutenberg along with Classic WordPress editor

However, in this article I’m showing how to disable Gutenberg and use only Classic editor. In another article I’ll show how to use Classic editor along with Classic WordPress editor.

Disable Gutenberg & use only Classic editor

Follow the steps below to disable Gutenberg and use only the Classic editor. Remember, you can come back to Gutenberg whenever you want.

Step 1: Install and Activate Disable Gutenberg Plugin

First of all install Disable Gutenberg plugin. To install go to WordPress Plugins directory from your Dashboard. For this you can navigate to Dashboard->Plugins->Add New and in the search box type the keyword Disable Gutenberg.

You will see a couple of plugins. Install the right one like given in the screenshot.

 

Disable Gutenberg plugin

Disable Gutenberg plugin

 

After successful installation Activate the plugin from there. You can also do it from Plugin section of WordPress Dashboard.

 

Notice: If you don’t know how to install a WordPress Plugin, you can go through How to manage WordPress Plugin.

 

Step 2: Complete Disable Gutenberg from Settings

Now head over to Disable Gutenberg Tab from Settings of Dashboard. You can also navigate to Dashboard->Settings->Disable Gutenberg

 

Complete disable Gutenberg

Complete disable Gutenberg

 

From this page tick the Checkbox named for Complete Disable. This will Disable Gutenberg everywhere of your WordPress site. Finally click on the the Save Changes button.

Doing this you will be back to old Classic editor of WordPress.

If you want to switch to Classic editor but keep the Gutenberg read disable Gutenberg and keep the WordPress Classic Editor.

This is all for today. I hope you have got how to Replace Gutenberg With Classic Editor. If you have any issue around this leave a comment here.

,

How to Clone WordPress with Wp Clone in a Single Click

There are several plugin to clone your WordPress site. Some of them are paid and some are free to use. But most of the time beginner fall in trouble with the procedure of taking backup and restore WordPress site. Today I’ll show you how to clone a WordPress site in step by step.

What is cloning? Why should you clone your site?

If you are using WordPress for a long time then you may fall in trouble with your site. It may be hacked, infected by malware or any types of issue with your site. In that case your all valuable information may be lost.

For this reason you should make a backup of your WordPress site to make it sure your site is secured to restore anytime.

There are couple of plugins to backup and restore WordPress site. In this article I’ve used Wp Clone By Wp Academy

that is easy to use. Now let’s see how to clone your WordPress site. Why I’m using Wp Clone?

  • Because it is totally free
  • Easy to use
  • One click backup and restore feature
  • No need to sign up

Step 1: Install and activate Wp Clone

First of all go to WordPress plugin’s directory and search for the keyword Wp Clone. To do so navigate to Dashboard->Plugin->Add New.

Install and active Wp Clone

Install and active Wp Clone

A list of plugin will be available among them install and activate Wp Clone By Wp Academy.

If you don’t know how to install a plugin you can see our previous tutorial about How to Manage a WordPress Plugin.

Step 2: Create a backup of your site

Creating a backup is so easy that a beginner can easily manage this plugin. To create a backup just head over to Wp Clone from Dashboard. Also you may navigate to Dashboard->Wp Clone.

Create a backup

Create a backup

From the new page select the checkbox called Create Backup and click on Create Backup button. It will take some time upon your site size. If your site is large than you may take a custom backup. For example, if your site have some video file of about more than 1 GB then it may take a bit more time to create a backup. To reduce the backup size and required time just exclude those video files from backup.

After a successful backup you will be redirected to a page that says Backup Successful! You can see a backup url that you can use to restore your site.

Step 3: Restore from backup

You can Restore from backup in two ways.

  • From the zip file given in the table
  • From the backup url address

 

⇒ Restore backup from table’s zip file

To restore backup from the zip file shown in the table just tick the checkbox called Restore Backup. Then select the checkbox field I AGREE and finally click on Restore Backup button.  A popup message will appear asking restore permission. Allow the permission. Restoring the backup may take some time upon your backup size.

Restore backup from zip

Restore backup from table’s zip

After a successful restore page will reload automatically including a message Restore Successful!

 

⇒ Restore from the backup link

Restore from respected backup link is alike the previously described process. To restore from the respected backup link just copy the backup link url and paste it in box called Restore from URL. You can get the link from the tables column named log. Right click on that and copy that link address (Here I’m using chrome. So screenshot may changes upon your browser or browser version)

Restore backup from link

Restore backup from link

So this is the easiest way to clone a WordPress site. I hope you’ve gotten the procedure. If you found a more easy way to create backup and restore that please let us know so that we may update. Have any question? Leave a comment below.

 

,

How to Install and Manage WordPress Plugin – Beginner’s Guide

Managing a WordPress plugin is so easy but a beginner may face complication. In this step by step guide we will show how how to Install and Manage WordPress Plugin for beginners.

If you are using WordPress for a long time then then you’ve come across the time that some plugins we use regularly and some are less necessary to keep it in site. Some becomes unused and there are other plugins that we shift in. So we need to deactivate and uninstall those unused plugin.

How to Install a WordPress Plugin

You can Install a WordPress plugin in two ways. You may install the plugin from WordPress plugins page also you can directly install zip file of a plugin.

1. Install from WordPress Plugin’s Directory

Installing a plugin is a so easy task. Simply go to plugins page from Dashboard. Navigate to Dashboard->Plugins->Add New

Here in the search Search Plugin box type the plugin name you want to install.

 

Install a plugin

Install a plugin

 

Some plugins related with that keyword will be shown. Install the preferred one and click on Activate button.

 

activate plugin

Activate plugin

 

Here I’ve used Woo Product Table Plugin that are awesome to create WooCommerce Product Table.

 

2. Install a Zip file Manually

To install a plugin from a zip file, navigate to Dashboard->Plugins->Add New->Upload Plugin

Here click on choose file and select the file from your storage.

 

install from storage

Install from storage

Click on Install Now after the file is selected .

 

install now

Install plugin

 

Then click on activate to activate the plugin.

 

How to Uninstall a WordPress Plugin

To uninstall a  WordPress plugin first navigate to Dashboard->Plugin->Installed Plugin and from here click on the plugin to uninstall.

 

deactive plugin

Deactivate plugin

 

Here we’ll deactivate Akismet Anti-Spam plugin. So simply click on deactivate. Remember deactivate won’t make uninstall your plugin. It only close down its activity/functionality on WordPress. You need to go one more step to delete that if you found that plugin inappropriate for your website.

To delete the plugin from WordPress click on delete right to plugins activate option.

 

delete plugin

Delete plugin

 

How to Deactivate/Delete all Plugin at once

Times come up when you need to delete all plugin or  some plugin at once. Using the bulk action you can easily deactivate and delete all or some of your plugin as you want. Just go to plugins page from Dashboard.

Navigate to Dashboard->Plugin->Installed Plugin. Here appear a list of your installed plugins. You can see a checkbox left to the plugins name. Tick the check boxes which you want to deactivate/delete. Then  click on Bulk Actions drop-down menu. A list appear including Activate and Deactivate option. Select Deactivate and click on apply right to the drop-down menu.  Thus you can Deactivate your selected plugins.

 

bulk deactive plugin

Bulk deactivate plugin

 

If you wish to Delete those plugin select Delete from the drop-down menu and click apply.

Drop from Database

After deleting plugins sometimes there may additional file created outside the plugin folder. So it’ll be better to delete them  from database. To delete from database simply go to your phpmyadmin. Before changing anything make sure you have backed up your database.

Go to your database and  tick the checkbox you want to delete the database relate with. And from below the table click on With selected text-box. A drop-down menu will appear there from which select Drop.

 

drop database column

Drop database column

 

A warning will be given from which choose Yes. Now your selected database table will be dropped and deleted.

 

Confirmation delete database

Confirmation delete database

 

So managing a WordPress plugin is so easy, right? If you have a particular question about managing a plugin leave a comment bellow.

I hope you have got how to install and manage WordPress plugin. If you like this article you may also like Must have free WordPress Plugin for your site.  Have any question about managing a plugin? leave a comment below.

, ,

How To Fix White Screen Of Death Of WordPress

If you’re using WordPress for a long time then you may come across the term named The White Screen Of Death (WSOD). This is a one of the worst error that a beginner falls in and get in deep trouble. Following some steps this error can be fixed. Today we’ll go through the possible ways to Fix White Screen Of Death error in WordPress.

First let’s have a look why this problem occur. The WSOD can cause for some couple of reason. Probable reasons are listed below.

  • Poor memory limit
  • Incompatibility between Themes or Plugins
  • Syntax error

 

In five steps we’ll try to Fix White Screen Of Death issue.

  1. Increase Memory Limits

  2. Disable Themes and Plugins

  3. Fix in Syntax Errors

  4. Enable Debug Mode

  5. Check File Permission

1. Increase Memory Limits

Most of the time we use a shared hosting server that are given a lower memory to function properly a for a wide range of plugins or themes. Then the exhausted memory causes this problem.

To resolve this problem you need to increase the memory. Locate your wp-config.php file using your FTP manager and edit this file. Add the code given below to the file.

define(‘WP_MEMORY_LIMIT’, ‘64M’);

If this doesn’t resolve the problem you can increase memory limit through .htaccess file that are in your sites root directory. Simply add the following line in your .htaccess file.

php_value memory_limit 64M

If you have issue with poor memory hope this’ll Fix White Screen Of Death issue.

 

2. Disable Themes and Plugins

Sometimes this problem may cause for incompatibility of themes or plugins. To find the culprits you’ve to do the followings.

First of all deactivate all your themes installed in WordPress and refresh the page where the problem occur. See whether the problems fixes or not. If it is ok then the problem lies in your themes. To find the individual one causing problem activate your theme one by one. After activating the theme if the White Screen Of Death occurs again then the theme is responsible for causing the error.

After you find the accused theme for the error you can contact with it’s developer to solve this issue.

Same problem may lies in for a specific plugin. Solve for this issue is same as for theme. Follow those steps to find the theme responsible for the error.

3. Fix in Syntax Errors

If you use a poorly coded themes or plugin that may also cause the The White Screen Of Death may occurs. When there is a character less or more than it demands then the error occurs. If the error is relate to wp-config.php or functions.php then find the associated file by FTP manager and look into that if there is a blank line before opening or after closing a php tag. Delete those blank line and saving the file reload the page. Hope this will fix the issue if it relates with Syntax Error.

4. Enable Debug Mode

If you failed to detect the problem lies in then enable  WP_DEBUG feature to find it. Open your wp-config.php file through FTP manager once again and add the line below

define('WP_DEBUG', true);

define('WP_DEBUG_LOG', true);

define('WP_DEBUG_DISPLAY', false);

 

Save the file and reload the page. Now you will be given the clue where the problem hidden in. Locate that file and if you are familiar with coding a bit then resolve the issue

5. Check File Permission

If all the attempts go in vain then check your file permission. A wrong file permission may cause this error. Check and reconfigure your file if it have any issues. For instance

  • Change File Permission value to 644
  • Folder Permission value to 755

 

We know that this is one of the most confusing errors of WordPress. But we hope that one of the solutions above will help you to Fix White Screen Of Death Of WordPress error. If you find this article useful that stay tuning with Code Astrology blog.

, ,

Common Errors in WordPress and How to Fix Them

Sometime we face problems in our WordPress site. Today i’ll discuss three common error of WordPress and possible ways to fix them.

How to fix WordPress Syntax Errors

Most of the time a beginner face the syntax error. It’s a common problem in WordPress. Most of the time the problem caused in php file. When there is a missing syntax like semicolon, colon,underscore or any types of syntax that are used in php we get a error message on browser. If you face the same problem don’t be panicked. It’s easy to solve .

( ! ) Parse error: syntax error, unexpected ‘,’ in C:\wamp64\www\test_site\wp-content\themes\twentyseventeen\functions.php on line 376

There is a syntax/parse error in my twentyseventeen theme’s functions.php file on line 376.

So we’ll locate functions.php file find the problem and fix it.

syntax error

Syntax error


Here in the function.php’s 376 number line there is an additional comma(,) that is causing the error. Just remove the comma(,) and save the file. Then reload the page. And it works fine.

How to Fix 404 Not Found Error

 

Fix in Permalinks

Most of the time this error is caused for your permalinks structure. If the problem caused in permalinks then simply navigate to Dashboard->Settings->Permalinks. Set the permalinks type to Post name as shown below and save changes.

Permalinks structure

Permalinks structure


Hope this will work.

Edit .Htaccess

Sometimes this problem is caused for .Htaccess file in your theme. Modifying that file may solve the problem. Make your .Htaccess file like shown below.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test_site/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /test_site/index.php [L]
</IfModule>

# END WordPress

Note: Here tests_site is my site directory on localhost. Use your own.

How to Fix Connection Timed Out Error

Sometime we face this error that say Connection Timed out. This may cause for exceeding maximum execution time but no response from server.

May be you are using a shared bandwidth that are slowing down your server. In that case upgrade your hosting plan.

Sometimes it may caused for a plugin. To solve this deactivate your plugin one by one and detect where it lies in.

Increasing your php memory may solve the issue. Just go to  wp-config.php file and add the line below.

define( ‘WP_MEMORY_LIMIT’, ’64M’ );

 

To get more tips and tricks like this stay with Code Astrology.

 

, , ,

WooCommerce Custom Taxonomy – Adding And Customizing

WooCommerce Custom Taxonomy is the feature to show extra product data based on a class. It may be your product color, size or may be style.

 

What is WooCommerce Custom Taxonomy/WooCommerce Custom Field?

Most WordPress beginner face conflict between Custom Taxonomy and Custom Field. So let’s clear the conflict in a brief.

First of all, the both items are used to show extra product data. But there are some types of data we use for each product individually like product title, price, e-mail, maps. In that case use Custom Field.

On the other hand, sometimes we need to classify a group of product like color, size, category etc. Use Custom Taxonomy to classify a group of product.

So you can use WooCommerce Custom Taxonomy and WooCommerce Custom Field to show extra product information. Use Custom Taxonomy to show the info of a group of product and Custom Field to show individual info of a single product.

However, this article is about using Custom Taxonomy. If you want to know more about Custom Field see How to Use Custom Fields?

 

How to add WooCommerce Custom Taxonomy?

Adding a WooCommerce Custom Taxonomy requires a plugin. There are some plugin to perform that. Among them I suggest to use Custom Post Types and Custom Fields creator – WCK as it is user friendly.

Now I’ll show step by step how to add and show Custom Taxonomy in WooCommerce.

Step 1: Installation the required plugin

First navigate to Dashboard->Plugin->Add New and in the Search Plugin text-box type WCK. There will appear some plugin. Among them install and active Custom Post Types and Custom Fields creator – WCK.

 

install custom field creator

Installation of custom field creator

 

Step 2: Create Custom Taxonomy

Follow the steps below to create custom Taxonomy

  • Navigate to Dashboard->WCK->Taxonomy Creator
  • From here create a Taxonomy Name (The name of the taxonomy. Name must not contain capital letters or spaces.)
  • Input the Singular Label
  • Input the Plural Label
  • Select Attach to option. Also Select product if you want to add the taxonomy for product.
  • Select Hierarchical true

And finally add the entry.

 

create taxonomy

Create custom taxonomy

 

I want to add custom Taxonomy to my product to show the products color information. So in the picture given above I’ve added a Taxonomy named color and attached it to product.

Step 3: Add product

Now head over to Dashboard->Product->Add New (or edit an existing one)

Input the Product Name in Add New Product text-box.

 

add product name

Add product name

 

Step 4: Add Product image

Head over to sidebar and click on Set product image from product image section.

 

set product image

Set product image

 

Click on Upload Files->Select Files and select the image file for your product.

After selecting the image file click on Set product image button as given in screenshot.

 

upload product image

Uploading product image

 

Step 5: Input the Taxonomy for product

Here the created value taxonomy was Color (in step 2). So at the sidebar there will be a section called Color.

Now we’ll input the value of color for this product. To input the color name click on +Add New Color and input the value in the text-box. Finally click on the Add New Color button.

 

input color name

Image input color name

 

Now click on Publish button from top right sidebar.
Click on View Page to see the changes done.

There is a plugin named Woo Product Table Pro by which you can show the Custom Taxonomy in a Product Table in a dynamic way. Using the plugin the product table may look like

 

 Color variation in product table

Color variation in product table

 

In the table you can see a column red marked Color showing the color of different product.

So isn’t it easy to make WooCommerce Custom Taxonomy and show the Custom Taxonomy in product table. Whatever I know making some easy tasks beginner falls in problem. If you face any problem please go through the comment section.