Arvind Singh

Autore: Arvind Singh

Arvind is an ardent individual who never refrains himself from exploring the new technology. He's an experienced WordPress developer and technical writer with a keen interest in web hosting.

How to Update Your Old WordPress Posts with Gutenberg Block Editor

How to Update Your Old WordPress Posts with Gutenberg Block Editor

Recently updated to WordPress 5.0 or above but don’t know how to use the new default post editor, i.e, Gutenberg Block Editor? Don’t worry we have got you covered.

Before learning how to update your old WordPress posts with Gutenberg blog editor it would be helpful to understand that in what ways is the Classic editor different from the new Gutenberg editor.

I hope you are familiar with Microsoft Word; the Classic editor was just like it. It had all the formatting option at the top while the large text editing area just below it.

As the name suggests, in the Gutenberg Block Editor content is added in the form of blocks. There are different blocks for all different types of contents. For example, a block for images and another block for text and yet another for a list, etc. So you’ll have to deal with the blocks while editing your posts in the Gutenberg Block Editor.

How to edit old posts using Gutenberg Block Editor

You have no option but to use the Gutenberg Block Editor for editing your posts if you are running WordPress 5.0 or later as it is the default editor here. But no need to worry your old posts will be unaffected and it’s not rocket science using this editor if you are familiar with the old Classic Editor.

When you edit an old article that was posted using the Classic Editor, you will see that all your content will be in a single block. Now to edit it you can either edit the content in the classic block that you see initially or you can convert the content into blocks. You won’t find any difficulty editing the content if you go for the first option, it is the same as the Classical Editor.

If you opt for the second option, that is, you want to convert the content into blocks and then edit your post then you just have to click on the three dots on the top right of the Classical Editor. This will do the job.

Each of the boxes in this editor has its own formatting options. To edit any of these blocks all you have to do is simply click on the block and the formatting options will appear on the top of the block. Under the Block option in the right corner, you will find some more editing options.

After editing all the blocks you can click on the Update button in the top right corner.

Continua

How Using WordPress Hosting Services Can Save You Money

How Using WordPress Hosting Services Can Save You Money

Before you decide to start a new website using WordPress or any other Content Management System, you need to understand the importance of investing your money effectively.

There's a lot ofcheap Web hosting companies that provide some amazing features. Most customers do their research to compare WordPress hosting cost.

For beginners, it can be hard to decide if they want shared web hosting, VPS, dedicated, or managed hosting. It's because most of them have no idea about such technical things. But when they look at the cost of such plans, they freak out.

Everyone who wants to start a WordPress website, it's vital to understand that shared web hostings are most suitable because their cost is less yet you can get everything you need.

The best thing is that you can always choose any of thefree web hostings. But to have complete access to your website, you have to spend some money.

Just like every human, if you want to save money on buying or renewing web hosting, this article is for you. Let me walk you through a few things.

Buying a Domain Name and Web Hosting Plan Together

Most companies offer one free domain name for one year if you buy one of their web hosting plans. You would be thrilled to know that even shared WordPress web hosting companies offer this combo.

Many people prefer to manage their domain name and web hosting separately. So, there's another way to save some money.

The companies like GoDaddy give a discount on buying a new domain if you pay the cost for two years at once. This deal doesn't offer a free domain for the first year, but at least you will save some money.

For example, if the domain cost is $15 per year, and you pay the cost of two years at once, you may have to pay only $18. It means $3 for the first year.

Never Buy Without Looking for Deals

As we all know, every company gives deals on their products. So, you should look for some coupons online. Many big websites like WPBeginner get amazing deals from Bluehost, Siteground, and Inmotionhosting, for their readers.

Such partner companies give special coupon codes. Although when you buy a web hosting plan from anyone's link, they make money, it doesn't charge you anything. You save some money.

Bluehost offers 63% off, and Siteground provides 70% off to the readers of major websites. Such coupons are available when you buy a new web hosting plan.

But it doesn't mean you can't get anything off while renewing your existing plan. You can always look for Bluehost hosting renewal prices, and some of the popular websites will pop up with a discount coupon code.

Do your research before buying.

Don't be Afraid to Ask for Extra

When I bought my first Siteground hosting, I got it at only $15 for one year. You may be wondering how I got it. Well, it's all about being upfront.

If you fail to find any coupon codes, you should try talking to the sales team of a hosting company. Siteground offered me a fantastic deal on buying a plan for two years.

It's kind of similar to buying a domain name from GoDaddy. I have also had the pleasure to talk with Inmotionhosting's sales team. They were so helpful. I saved a lot of money on buying a new plan. It was almost 55% off on the biggest plan of shared hosting.

Join the Affiliate Program

Siteground allows you to get one-month free web hosting if someone buys a new hosting plan from your affiliate link. Every company has a different affiliate program.

Bluehost offers $65 for each qualified sign-up, and you will be surprised to know that if you make more sales, you start earning $100 per sale. You can use that money to buy a new hosting plan or renew an existing one.

And if you're an affiliate of managed hostings like WP Engine, you can make $200 per sale. Isn't it amazing?

Ask Your Friend to Refer You

We all know that references work all the time. While buying a new hosting plan, you can reach out to your friend to refer you through their affiliate link.

And it's possible to save more money if your friend reaches out to the sales team and asks them for a particular discount affiliate link. It's a double saving.

Your friend gets the affiliate commission, and you get the discount. If your friend is good enough to split their commission with you, you can save a lot of money on WordPress hosting.

Save Money on WordPress Domain Renewal

Buying a new domain name or web hosting plan isn't the only place you can save money. Many companies allow you to reduce the domain renewal cost.

Depending on your skills and research capability, you can get a massive discount. Once I got $13 off on a WordPress domain renewal. As mentioned earlier, you should look for deals.

Do You Think You Can Reduce the WordPress Hosting Cost on Your Next Purchase?

We all like discounts. Don't we? What about you? Wouldn't you want to save some money on your next WordPress hosting renewal or fresh plan?

All these years, I have learned that before you buy something, it's necessary to spend some time looking for alternatives. If Siteground seems costly to you, go with Bluehost or any of the best WordPress hostings.

After understanding the concept of different types of WordPress hostings, you should decide which features you need. Some companies allow their customers to cut down the features they don't need.

For example, while buying a VPS plan, you get an option to manage your servers by yourself or by the company. Similarly, a few other things are there to learn about.

Make sure the next WordPress hosting cost is less than what you paid earlier. Have you followed any of the tips mentioned above? If yes, how much money did you save?

Do you think you can do it?

Continua

How to Uninstall and Reinstall WordPress for Troubleshooting

How to Uninstall and Reinstall WordPress for Troubleshooting

Reinstalling WordPress can be a big step to take when you face an issue with your website. If you think of updating, WordPress has a built-in option to do so.

If you get an error, there are many troubleshooting techniques you should use. At last, if you wish to have the fresh installation without losing the data of your site, only then you should think to uninstall and reinstall WordPress.

Sometimes when your website gets hacked, you may need to take some serious steps and make sure the SEO score of your site remains intact.

During the process of WordPress reinstallation, you have to keep the data safe. So, it's vital that youback up the website and its database using cPanel or any plugin.

Many people keep the backup in their web hosting account, which is of no use because if your account gets hacked, it means your backup files also get affected. So, it's necessary to save it on your computer, Google Drive, Dropbox, or anywhere else you like.

In this tutorial, I am going to walk you through a step by step process to delete all the WordPress data, saving the necessary folder, creating a new database, and having a fresh WordPress installation.

1). Export Your Website's Content

This is the first step you need to take to secure the content of your website. This process doesn't include plugins' data; it only contains the content.

Let me show you how you can do this:

Log into your WordPress admin panel and navigate to Tools>>Export, and you and see an option to "Choose what to export," from which, you have to select the "All Content" radio button.

Click on the "Download Export File" button, and the download starts. Depending on the size of the file and your internet speed, you can see an XML file in your computer.

Now that you have successfully secured the content of your site, you should take the next step to back up the design and media files.

2). Back up the wp-content Folder

You should know that WordPress stores themes, plugins, and media files in the wp-content folder. It's vital to download it to maintain the SEO score.

Exporting the data doesn't always contain all media files, so, you have to upload them later. To save the hard work, it's better to do something smart.

To download wp-content, you can either use cPanel or FTP.

Let me show you the steps using cPanel:

Step 1:-

 Log into your cPanel account and open the File Manager. I hope you know that all the data of a WordPress website resides inside the file manager.

Step 2:-

 From the life hand sidebar, you have to open public_html. If you have only one website, WordPress installation is available in the public_html directory.

If you run multiple websites on the same web hosting account and uninstall and reinstall WordPress for an addon-domain, subdomain, or subdirectory, you have to find the right folder name where WordPress has its data.

Search for the wp-content folder and compress it to make a ZIP file. Right-click and choose "compress."

Step 3:-

 A popup appears where you need to select the compression type, select the ZIP radio button and click on Compress File(s).

Once the compression process finishes, refresh the page, and you can see a ZIP file to download.

3). How to Uninstall WordPress Completely?

You're already in the file manager. After backing up wp-content, it's time to delete all files and folder from the root directory.

Click on Select All option from the cPanel's navigation menu, and click on the Delete option from the main menu.

A popup appears you to ask for confirmation because once you delete the content, it's irreversible. Follow the instructions and delete everything.

Once you do so, the first part of installing WordPress is complete.

You may be wondering about the database. Don't be worried; you don't need to delete a database to reinstall WordPress, you can always create a new database and use it.

4). How to Create a New Database?

Nowadays, almost every web hosting company offers a few clicks options to create a new database. Let me show you how:

Step 1:-

 Open cPanel and scroll down to the databases section. Click on the MySQL Databases icon.

Step 2:-

 On this page, you can see an empty field to create a new database. Fill in the name, and scroll down.

Step 3:-

 Now is the time to create a new database user. Fill in the details, and make sure to keep the password strong.

Step 4:-

 You need to add the new user you just created to your database.

Once you fill in all the details, you can see a new database at the bottom of the page with other databases. Now that you have created a new database, it's time to install WordPress.

5). How to Reinstall WordPress?

Using an old fashioned way to download the ZIP file from the WordPress' official site is not what I am going to recommend.

Most famous web hosting companies offer one-click WordPress installation. Use that option and install WordPress. Don't worry about any other data because you have already deleted the old WordPress installation.

6). Import the Content to the New WordPress Installation

Log in to your website having a fresh WordPress installation and go to Tools>>Import.

On this new page, you have to install the WordPress importer. Once you do that, the text transforms into "Run Importer".

After that, choose an XML file you exported from your website in the first step, and click on Upload file and import to start the process.

You will be asked to choose the author for the content. If you had multiple authors on your previous WordPress installation, you can create new users and assign the content to them. You can also assign all the content to only one author.

Continue and complete the import process.

7). Restore Themes and Uploads

If you remember, you downloaded wp-content from your old WordPress installation. To complete the reinstalling process, you have to restore "uploads" and "themes" to your new WordPress installation.

Unzip the wp-content backup and extract the folder.

Now if you want to use the same old design, you have to upload the "themes" folder. Uploading the "uploads" folder is important.

If you wish to use FTP, you can simply upload these folders to wp-content. If you use cPanel, first you have to ZIP these two folders in the same file.

Go to file manager>>public_html>>wp-content of your new WordPress installation, and click on the Upload icon from the main navigation menu of cPanel.

A new tab opens up, choose the ZIP file containing "uploads" and themes" folders and start uploading. Once finishes, you have to unzip the file.

NOTE: You will see the themes folder, so you will be asked to replace it.

You have accomplished your goal to uninstall and reinstall WordPress. Now, you may be wondering about plugins.

It's important to know that behind any malicious attack, most of the time, there's a plugin's file. So, it's good to install plugins manually.

I Hope You Find it Easy to Uninstall and Reinstall WordPress

I understand how hard it's when you encounter an error on your WordPress website. Sometimes, all the conventional troubleshooting techniques don't help.

At such point, you may think to uninstall and reinstall WordPress to fix any malicious code injection in any of the core files. To do so, it's vital to secure the content as I explained in the tutorial.

If you use a shared web hosting, most probably you get a cPanel; otherwise, you can always use FTP/SFTP. I hope it's not as hard as you thought in the first place.

Continua

How to Solve Pluggable.php File Errors of a WordPress Website

How to Solve Pluggable.php File Errors of a WordPress Website

While managing a WordPress website, you may need to add any custom code to enhance its features. Most WordPress users are non-techie, and they don't check code on a local environment before using on their live site.

Such a mistake leads to the occurrence of an error. Seeing a pluggable.php file error is not so common yet many users notice it while making any kind of changes to their site's PHP code.

As we all know, WordPress is a PHP-based Content Management System (CMS) and all of its themes and plugins use PHP as the coding language. Whenever a plugin or theme conflicts, an error occurs, and sometimes it leads to the pluggable.php file error.

Have you seen such an error on your site? Are you still trying to figure out the reasons and solutions? If so, this tutorial is for you.

The main reason for the happening a pluggable.php file error is when a new function isn't able to handle the override of the default WordPress functions.

The pluggable.php is one of the core WordPress files, which means there is something else which is conflicting the natural behavior of this file.

How does pluggable.php File Error Look Like and How to Fix it?

Most of the time, the error consists of a path from which it generates. As I mentioned above, pluggable.php is a core WordPress file and you shouldn't edit it.

So, you have to understand how the error looks like and what it reflects. Let me show you an example:

Warning: Cannot modify header information - headers already sent by (output started at /home/username/yoursite/wp-content/themes/themename/functions.php:1091) in /home/username/yoursite/wp-includes/pluggable.php on line 1280

There is a warning pointing out to line number 1280 in the pluggable.php file. Most people make this mistake and start editing this file.

If you look closely, there is another path which consists of the functions.php file of your WordPress theme. If you added any custom code snippet, you should check it again.

If you installed a new plugin which overrode the current function, try disabling it. It's possible that there is an extra space in the functions.php file.

Most probably, in the closing and ending PHP tags.

For example, you see an extra space in the ending tag like this: php ?>

Let me show you another example of the error.

Warning: Cannot modify header information - headers already sent by (output started at /home/username/yoursite/wp-content/plugins/plugin-name/plugin-file.php:1091) in /home/username/yoursite/wp-includes/pluggable.php on line 1280

If you check out the path mentioning line number 1091, it points out to a plugin, which means you should check the plugin which generates an error.

Not all plugins are well-coded. There are tons of third-party plugins available in the official WordPress plugin repository. And most times, when WordPress core updates, a plugin starts conflicting because of its old coding standards.

It's also possible that the plugin conflicts with any other plugins you use. Even though WordPress plugins are helpful, but sometimes they can be a big issue because of their poor-coded standard.

Where Can You Notice pluggable.php File Error?

I am sure; you're curious to know more about a pluggable.php file error. It's because every error has its location to display its warning message.

A pluggable.php file error can break down the site and you only see the warning message I mentioned above. Depending on the conflicts with the WordPress functions, you may be able to log in to admin dashboard and see the error.

Mostly when you copy and paste any custom code snippet without testing, it causes such a problem. So, it's always good to set up a local environment using XAMPP, WAMP, MAMP, or Local by Flywheel.

Just like the white screen of death, you can see a pluggable.php file error on every page of the site, which means whenever you try to open any page of the site, only a warning message appears.

How does an Error Message Look Like When it Happens Because of a WordPress Theme?

Though many theme developers have started to develop themes using React and other languages, the base remains on PHP because that's what WordPress functions works on.

Just like a plugin, a WordPress theme can also generate a pluggable.php file error. For example, similar to the first error I mentioned above, there may be another error on a different file.

Let me show you how.

Warning: Cannot modify header information - headers already sent by (output started at /home/username/yoursite/wp-content/themes/themename/admin-functions.php:1191) in /home/username/yoursite/wp-includes/pluggable.php on line 1240

As you can see, there is a path to line number 1191, but it's different than the usual warning message you get when you add a custom code snippet in the functions.php file.

It's because there is a different file now. You may be wondering that functions.php is the only file which has WordPress functions.

But you shouldn't ignore that every WordPress developer is different, and some might like to keep functions of a specific section in a different file, which acts as a functions.php file.

For example, functions controlling the built-in custom panel of a theme are present in the admin-functions.php file. So, the error message mentions this file.

What's the Best Way to Fix pluggable.php File error?

Whether it's occurring because of a WordPress theme, plugin, or custom code you copied and pasted, you should never edit files on the live site.

First and the most important step is to backup your WordPress website and its database using cPanel, FTP, or a plugin like UpdraftPlus.

If a theme or a plugin is the culprit, uninstall them and test on a local environment or any other demo site.

If the warning message displays an error path to a functions.php file where you recently added custom code, you should remove it, clear browser cache and try again.

Conclusion

Solving pluggable.php file error is quite easy if you understand the reason behind it. As I mentioned in this article, the main key to find a file which generates the error is checking out the path.

Forget about the path which points you out to the pluggable.php file because you shouldn't edit it. WordPress core files work fine, it's a plugin or theme which conflicts with the core.

I hope you can easily solve pluggable.php file error.

Continua

1 2 3 4 24