How To Add a Password Protected Post or Page on WordPress

Do you want to add a Password Protected Post or Page on your WordPress site? It’s quite easy to do. You just need 30 seconds to make WordPress Page or Post to Protect by Password.

Making a WordPress Page and Post Password Protected is all the same in functionally which are shown below.

First of all, go to your Page or Post Visibility option. Right to Visibility option click on Public.

 

Visiblity Settings

 

There are three option, from which select Password Protected. Then, input the password for this post/page to view in future.

 

Make Post Password Protected

 

Finally Publish/Update your Page or Post.

You will have to login with the Password to view this page or post in future. Your content may look like

 

How To Add  a Password Protected Post or Page on WordPress

 

Input the password for this post and click Enter to view the post.

 

I hope this will help you to create a Password Protected Post or Page on WordPress website. If you like this post you may also like Code Astrology Blog.

 

How to Add an Image to WordPress Sidebar Widget

Nowadays, WordPress is the most popular CMS(Content Management System) across the web. But, the beginner sometimes falls trouble in doing basic task in WordPress. Adding an image to sidebar Widget is one of those issue that beginner google to learn. In this article I’ll show you how to add an image to your WordPress Sidebar Widget.

Adding an Image to WordPress Sidebar Widget can be done in three ways.

  • By WordPress Image Widget
  • By WordPress Text Widget
  • Using a Plugin

I’ll discuss all the methods here.

Method 1: Adding Image By Image Widget

Adding an image by image widget is available from WordPress 4.8 which is as simple as adding a media files to your sites.

First of all, head over to your Dashboard->Appearance->Customize

 

Adding an Image to WordPress Sidebar Widget

 

Then click on Widgets.

 

Configuring Widget

 

Now select the Sidebar. Remember here, sidebar varies with themes.

 

Select Sidebar

 

Now, select Image to show image in Sidebar Widget.

 

Select Images for Sidebar Widget

 

Now select the Image you want to show in Sidebar Widget. Now, there are three ways to show image. You can show image

  • From a link of your site or others
  • Upload a new Image or
  • Use an existing image from your Media Library

 

I’m showing you three ways to set Image. First of all select the Image Title.

 

Select Image

 

Adding Image From Link

Click on Add Image Button.

 

Add Image From Link

 

Now click on Insert from URL

 

Click On Insert from URL

 

Now Insert your URL here.

 

Insert your image URL

 

And click on Add to Widget button at the bottom of the screen. Finally, Publish the Widget.

Adding a New Image From Desktop

Click on Add Image and go to Upload Files->Select Files

And from here choose your files from your desktop.

 

Upload New Image From Desktop

 

Then select the files from your local drive and upload the picture.

Use an existing image from your Media Library

You can use Image from existing media library of your site. Click on Add Image button.

 

Add Image From Link

 

Then click on Media Library and select the image you want to show in Sidebar Widget.

 

Add Image From Media Library

 

Method 2: Adding Image By Text Widget

You can also add image to your sidebar by Text Widget. Head over to Appearance->Widgets

 

Add Image By Text Widget

 

Then click on Text and select the sidebar where you want to show Image.

Remember: The sidebar varies with your WordPress themes.

 

Add Image By Text Sidebar Widget

 

After selecting sidebar click on Add Widget button. Now select your Text Title, Text Description and then cllick on Add Media Button to add Image.

 

Edit details

 

Now select your Image. Here you select your Image from a link, upload a new one or choose from your media library(See above). I’m showing here uploading a new image from local drive.

 

Select Image File

 

After selecting Image file select Image Title, Alt and Description. Then click on Insert Into Post button.

Upload Image

And finally Save the Widget.

 

Save Image Widget

 

Method 1: Adding Image By Plugin

You can add Image to Sidebar Widget using Plugin. There are a few Plugin to add Image on Sidebar Widget. I recommend using Image Widget for this action.

See How to Manage a WordPress Plugin to learn about installing a WP Plugin.

 

Install Image Widget Plugin

 

Now, go to Appearance->Widget

 

Add Image By Text Widget

 

Now, select the Sidebar Widget Position.

 

Install Image Widget Plugin

 

Click on select Image button from Default Sidebar option.

 

Select Image

 

Now select the Image from your Media Library or Upload a new one. Edit the details of the image.

 

Edit details

 

Finally, Save the Widget.

I hope this article will help you to add an Image to WordPress Sidebar Widget easily. If like this article you may also like Code Astrology Blog.

How to Easily Customize CSS in WordPress

Are you looking for a way to customize your default theme’s CSS in your WordPress site? In this article I’ll show you three ways to Easily Customize CSS in WordPress site.

You can add custom CSS in WordPress mainly in three ways.

  • By WordPress Themes Customizer
  • By Using CSS Custoizer Plugin
  • By Child Theme

Method 1: Add CSS by Themes Customizer

The most easiest way to add custom css is using the themes customizer to customize css on WordPress. You don’t need additional plugin or to perform this. Just go to your WordPress Dashboard and click on Customize from Appearance.

 

Customize CSS using theme customizer

 

Now, from the new page click one Additional CSS from the left panel of the dashboard.

 

Customize CSS using theme customizer

 

Input the css code here and publish.

 

Customize CSS using theme customizer

 

Thus you can add custom css on your site. The most important part of using theme customizer is that, you can see the changes live.

Method 2: Add Custom CSS using a Plugin

If you don’t want to customize your theme then there is an alternative to add custom css. You can use a plugin to add custom css in your site. There are several plugin’s to do that. Some of the renowned plugin is listed below.

  • Simple Custom CSS
  • WP Add Custom CSS
  • Simple Custom CSS and JS
  • My Custom CSS
  • Custom CSS Pro

In this article I’ve used Simple Custom CSS to add customize css on my site. Let’s see how do I do that.

Install The Plugin

Here before I’ve mentioned couple of plugins. Use one of them to add custom css on your site. I’ll show you how to install and use Simple Custom CSS on WordPress.

First of all, Go to your WordPress Plugin directory from Dashboard and then install the plugin. To get installation help you may read about How to Manage a WordPress Plugin.

 

Install Simple Custom CSS to customize css

 

Activate the newly installed Plugin.

Add Custom CSS

After activation navigate to Dashboard->Appearance->Custom CSS and from here you can add your CSS code.

 

Add Custom CSS

 

Click on Update Cusom CSS button and see the changes.

Method 3: Add Custom CSS by Child Theme

If you need lots of line of CSS say 1000 lines then you better use a child theme. Besides, if you want more secure way that will not effect your live site, then use a child theme.

Use One-Click Child Theme to create a child theme in a single click. Install the plugin and activate it.

Now go to Dashboard->Appearance->Child Theme and create a child theme.

 

Create a Child Theme

 

Now Navigate to child theme editor to add Custom CSS code. For this, head over to Dashboard->Appearance->Editor

 

Switch to Child Theme Editor

 

So those are the ways to add Customize CSS in WordPress Easily. I hope this piece of article will help you to customize your site dynamically. If you have problem or idea beyond this article, leave a comment below.

How to Fix the 500 Internal Server Error on WordPress Website

If you are surfing the web for a long time then you must have seen the ‘500 Internal Server Error’ on any site. It’s one of the most scariest problem for beginner in WordPress. But following some steps this error can be fixed easily. In this article I’m going to show you how to fix the 5oo Internal Server Error on your WordPresss site.

Why causes 500 Internal Server Error

There are many reason behind that can create 500 Internal Server Error on any WordPress site. Some of the problems are listed blow.

  • Insufficient PHP memory
  • Corrupted .htaccess file
  • PHP timeout
  • Permission error and
  • Conflict between Plugins

In some steps I’m going to show you how to fix this error. But before you start please take a backup of your site. You can see How to Clone WordPress to backup your site in single click.

Clean your Browser Cache and Cookies

First of all clear your browser cache and delete the cookies. Though 500 Internal Server Error does’t usually causes for browser caches and cookies but sometimes in a rare case it may happen.

Deactivate all Plugins

Now deactivate all your plugins from your WordPress Dashboard. You can deactivate all your WordPress plugin by bulk option. See how to manage a WordPress Plugin that may help you.

 

Bulk Deactivate Plugin

 

After deactivating all plugin hard refresh[Ctrl+F5] your site and if it loads properly then the error is within one of your plugin. Activate plugins one by one and detect the plugin causing the error. Then contact at the plugin support for the issue.

If this doesn’t solve your 500 Internal Server Error then follow the next step.

Increase the PHP memory limit

This problem mainly occur when you are using a shared hosting service for your site. In shared hosting service provider set a lower PHP memory limit. When your WordPress site exceeds the limits you face the internal server error. You can fix this adding a line into your wp-config.php file.

Simply go to your WordPress root directory and download the wp-config.php file. Add the lines below to that file and override the file with the existing one.

define('WP_MEMORY_LIMIT', '64M');

Now refresh your browser. If page loaded successfully then you were facing error with lower php memory. But, if this doesn’t work then remove the code from wp-config.php file.

Check File Permission

Check your file permission weather it is ok or not. Go to Cpanel and open your sites root directory with FTP client. And see the file permission weather is it 755 or 644. Any other value can cause the server error issue.

 

Rename htaccess file

 

Also you can rename your .htaccess file and refresh your browser. If it reload your site properly then you have done it. Save the settings form WordPress settings->Permalinks.

Upload the Core WordPress file

If above solution does’t work then re upload and override wp-admin and wp-includes folder to your core WordPress directory. This may help if there is problem lies files in those folder.

Contact Hosting Provider

If none of the above solution works for you then you need help from expert. Contact with your Hosting Provider in that case.

So these are the nearest possible ways to fix your 500 Internal Server Error on WordPress site. I hope you like this article. You may also like to read Fix Error Establishing a Database Connection in WordPress and  Fix WordPress Sesion Cookie Error. Like us on Facebook and follow on Twitter to get the latest updates.

How to Fix the Error Establishing a Database Connection in WordPress

If you are using Web for long time then you might have seen the the Error Establishing a Database Connection in WordPress. Sometimes for a beginner it seems scary a little. In this guide I’ll show you how to fix the ‘error establishing database connection’ error.

Why cause Error Establishing Database Connection?

There are many reason behind this error. First of all, lets see why this error occurs.

  • Wrong Database Login Credentials
  • Corrupted Database
  • Corrupted WordPress files
  • Overloaded Database Server

How to solve Database Connection Error in WordPress?

There are some unique methods by which you can fix your database connection error on WordPress. Follow the steps below.

Step 1: Repair your WordPress

First of all, try to repair your WordPress. To repair your WordPress download the wp-config.php file from WordPress root directory and add the line below.

 

define('WP_ALLOW_REPAIR', true);

After adding the lines replace the file with newly edited file from your site. Next, go to the link yoursite.com/wp-admin/maint/repair.php

You will be redirected to a page like-

 

Repair Database

Select anyone from the option to repair your Database. Hope this may work if you have a error with database. If the error still alive follow step 2.

Step 2: Check your WordPress credentials file

Now check if your wpconfig.php file is well configured. Simply this one is the most important file to connect your site to Database. Check the settings that if it is corrupted.

/** The name of the database for WordPress */
define('DB_NAME', 'database_name');

/** MySQL database username */
define('DB_USER', 'database_username');

/** MySQL database password */
define('DB_PASSWORD', 'database_password');

/** MySQL hostname */
define('DB_HOST', 'localhost');

Remember: Here DB_HOST name varies with your Host Provider.

If everything is ok in this file then be sure that your database credentials is free from causing this error.

Step 3: Check your MySQL Server

If step three doesn’t work for you maybe there is a error with MySQL Server. Your database may be busy or overloaded that can’t take loaded properly. This occurs mainly when you are in shared hosting or too much traffic. For this try to use a dedicated hosting.

Sometimes this problem if you have a permission issue with your database. To check whether you have the necessary permission connect your Database through PhpMyAdmin.

Create a file named test.php in WordPress root directory and open the file through text editor. Add the lines below in your newly created php file.

<?php
$link = mysqli_connect('localhost', 'username', 'password');
if (!$link) {
die('Could not connect: ' . mysqli_error());
}
echo 'Connected successfully';
mysqli_close($link);
?>

Make sure you have replaced username and password with your ones. Save settings and go to the URL yoursite.com/test.php. If you get a message “Connected successfully” then your login details are correct.

But if get a message saying  “Could not connect: Access denied for user ‘username’@’localhost’ (using password: password)” then the problem lies in here.

Create a new username and password and update the file in WordPress to get rid of this issue.

So, this is all for today. I hope this article will help you fixing the Error Establishing a Database Connection in WordPress. There similar articles on WordPress issue. You can read Fix WordPress Session Cookie Error, Fix White Screen Of Death in WordPress and Common Errors in WordPress and How to Fix Them.

,

WordPress Meta Box for Beginner

Do you want to customize your WordPress theme/plugin to add additional information on your post/page? Then you need to use Meta Box on your WordPress. In this step by step article I’ll show you how to add Meta Box in WordPress for beginner.

What is Meta Box?

Meta Boxes are one of the most important feature of WordPress that allow you to add custom option to your WordPress page of post. In WordPress you can use category and tag which is given as default. But if you want to add more info about your product/page/post, then what do you need first?

In this case you can add custom meta box to show extra data to Page/Post or Post Type.

What is Meta Data?

The data we input in meta box is called meta data. More simply the value we input in meta box is a meta data. It can be number or text.

But, remember, we need to sanitize the date to make it secure.

How to add Meta Box in WordPress?

You need to register a function named add_meta_box to create a Meta Box in WordPress. This function includes the following syntax:

add_meta_box( $id, $title, $callback, $screen, $context, $priority, $callback_args)

Now we will create  a meta box for post type. I’m creating this file into themes functions.php file.

Just write the code into your themes functions.php file. But creating a unique php file for meta boxes will be better for practical use.

 

add_action("add_meta_boxes","my_meta");

 	function my_meta(){
    add_meta_box(
    "my_custom_meta",
    "My first meta box",
    "my_meta_box_mes",
    "post",
    "normal",
    "low"
    );
  } 
function my_meta_box_mes(){
  echo '<input type="text" |';
  
}

 

See how does it look

 

Custom Metabox

Saving Meta Data

You can also save your meta data adding a function. You can use a code like below

add_action("admin_init", "custom_metabox");

 	function custom_metabox(){
    add_meta_box(
    "Custom_metabox_01",
    "Custom Metabox",
    "custom_metabox_field",
    "post",
    "normal",
    "low"
    );
  } 
function custom_metabox_field(){
  global $post;
  
  $data = get_post_custom($post->ID);
  $val = isset($data['customm_input']) ? esc_attr($data['custom_input'] [0]) : 'no value';
  echo '<input type="text" name="custom_input" id="custom_input" value="" .$val. />';
  
}
add_action("save_post","save_detail");

function save_detail(){
  global $post;
  
};

You may need to show meta data in your single post. For this, edit your single.php file in your theme file.

Add the code below to show your Meta date in single post.

 

$custom_post_type = get_post_meta($post->ID, 'custom_input', true);
      
      echo $custom_post_type;

Here custom_input is my custom meta data id. Use your own ID to show your custom meta data.

So this is all for today. I hope you have understand adding and customizing WordPress Meta Box for Beginner. There are some other tutorials on basic php in Bengali language with you tube tutorial. You can check PHP Bangla Tutorial.

How to Fix – Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.

If you are using WordPress for a long time then you might face the problem login to PhpMyadmin. It keeps saying “Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.” In this article I’m going to show you how to fix Session Cookie error on WordPress.

You can fix this easily. Just follow the steps below.

Step 1: Configure your config.inc.php file

First of all check out that is your server files is properly configured. If not make the changes like below.

$cfg['Servers'][$i]['auth_type'] = 'cookie';

Step 2: Clear the Cookies from your browser

Now go to your browser settings and clear the cookies from it. Navigate to inspect elements on your browser. If you are using chrome click Ctrl+Shift+I.

 

Inspect

 

Then go to application tab and clear the cookies and caches from browser and click the Clear site Data button. See the screenshot below. I have used it for my Chrome.

 

Clear cookies from browser

 

After clear cookies you can also clear your browser history.

Now try to login your PhpMyadmin. Hope this will work for your Failed to set session cookie error. If you like this article you may also like Fix White Screen Of Death on WordPress and Fixing the Common Errors in WordPress

, ,

How to Disable Gutenberg and Keep the WordPress Classic Editor

Do you want to disable Gutenberg and keep the WordPress Classic Editor? Go through the step by step article. WordPress 5.0 has been released. In this update WordPress has used Gutenberg as their default editor. But some users like the old Classic editor. Though Gutenberg is mainly an advanced page builder, it needs some time to fit it completely with core WordPress.

How to Disable Gutenberg and Keep the WordPress Classic Editor?

Following this process your default editor will be classic editor but you can switch to Gutenberg anytime. For this you just need install and activate Classic Editor of WordPress.

To install Classic editor head over to Plugins directory from your Dashboard. You can navigate to Dashboard->Plugins->Add New and here type the keyword Classic Editor in the search box.

 

Install Classic Editor

Install Classic Editor

 

After installation activate the newly installed plugin. For this you can go to Dashboard->Plugins->Installed Plugins

 

Activate Classic Editor

Activate Classic Editor

 

Then click on Activate button of Classic editor as shown in the screenshot.

You’re done. Activating Classic editor will replace Gutenberg from default editor. But you use Gutenberg whenever you want.

 

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

 

How to Switch from Classic editor to Gutenberg?

 

|Following the steps above you can switch to Gutenberg from Classic editor anytime. You can use Gutenberg while writing a Page/Post.

To move to Gutenberg just move to to bottom of a page or post. At the right sidebar of a Page/Post you can see a section named Editor. From there click on Switch to Block Editor.

Switch to Gutenberg Editor

Switch to Gutenberg Editor

 

This will switch your Classic editor to Gutenberg. At the same time you can back to Classic editor.

 

Switch to Gutenberg Editor

Switch to Gutenberg Editor

 

This is all for now. You may also like to read how to replace Gutenberg with Classic editor.

I hope you this will help you to Disable Gutenberg and Keep the WordPress Classic Editor. If you have any questions beyond this article, feel free to leave a comment below.

, ,

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.

,

11 Must Have Free WordPress Plugins For Your Website

Creating a website is not a so hard at all today. There are more opensource resources now then before ever it was. one can easily make his website using a CMS without having programming idea. WordPress is one of the most favorite CMS nowadays. Its huge amount Themes and Plugins make it easier to to create a website. But, picking the right themes or plugin may be tricky for the first time. So, today I’ll let you know about the 11 Must Have Free WordPress Plugins For Your Website.

Here are many types of website nowadays. According to the type of a website, some different types of plugin you may need to use. But, there are some common necessary plugins that a blogger/website owner should use for the growth of their website.

There are plugins both free and paid for WordPress site. In this article, I’m going to show you some free plugin that are really useful for the growth of your business.

What are the 11 Must Have Free WordPress Plugins?

Actually there are thousands of plugins over the air. Picking some of them and call to be the best plugin seems insane. Then what’s the key to make a list of best plugin?

In this article, I’ve made the rank upon on the functionality and user reviews.

 

1. Jetpack by WordPress

 

"<yoastmark

 

Jetpack is one of the most favorite WordPress plugin for multitask. From creating and customizing your site you can do almost everything by Jetpack.

Using jetpack you can use lots of stuff in a single plugin. With this plugin you can easily create your site as it comes with a variety of themes.

Again, if you want do create your site SEO friendly then jetpack provide you some SEO optimized feature. For instance, you can optimized your image to load faster. You can use site stats and analytics as well as spam filtering with this single plugin. I’ve made a key features provided by jetpack.

Key Features of Jetpack

  • Free Content Delivery Network (CDN) for WordPress
  • Lazy Load image in WordPress
  • Hundreds of professional themes
  • Site stats and analytics
  • SEO tools for social media
  • Advertising program for various platform
  • Spam filtering

 

 

2. Yoast SEO

 

Yoast SEO

Yoast SEO

 

The most popular SEO plugin for WordPress website. If you want to rank your site in google than, there is no similar alternative to Yoast SEO plugin. Also I’m using this awesome plugin for CodeAstrology.

Yoast SEO is the best plugin to analysis the content of your site. It’s Readability Analysis and Focus Keyphrase section helps to keep the On Page SEO standard. Again there is a Meta box that helps to set your sites Meta info.

In the free version, you can also see the Search Console reports connecting to Google Search Console.

 

3. Akismet Anti-Spam

 

Akismet Anti-Spam

Akismet Anti-Spam

 

Akismet is mainly a spam filtering service for your site. Specially when you runs a blog or have a site that have spam comments. This is the best free tools to filter spam comments on your site.

Akismet check every comments on your site and filters out the ones that look like spam. When a comment is marked spam by akismet then the comment is filtered to spam section.

 

 

4. Contact Form 7

 

Contact Form 7

Contact Form 7

 

Are you looking for a contact form for your business website? Then I’ll recommend using Contact Form 7. It have more than 5M active installation.

It’s user friendly, ease to use and its notable features is much better than other paid plugin for contact form. You can create a contact form in a short time using this free plugin. Besides, you can use text, textarea, number, mail, checkbox, recaptcha and some other stuff with Contact Form 7.

 

 

5. MonsterInsights

 

MonsterInsights

MonsterInsights

Are you looking for a plugin to see the analytics of your site? Then MonsterInsights plugin will be the best for that action. It’s a free tool to use your google analytics data.

MonsterInsights track all the data from your WordPress site and let you show directly from your WordPress Dashboard. For this you can analyze your site without leaving your WordPress site.

 

 

6. WooCommerce

 

WooComerce

WooComerce

 

If you have a Ecommerce site than you might have heared about WooCommerce. It is the best plugin for Ecommerce site. With 4M+ active installation WooCommerce is being used by some popular site. You can see the list in webdev.
With this plugin you can create your Ecommerce site more actionable. You will be able to sell anything from anywhere. It supports product variation as well as you can sell your affiliate products with this free plugin. WooCommerec has a premium version also. If you want some advanced feature you can switch to premium version.

Notable Feature:

  • Support Product Variations
  • Sale Affiliate Products
  • Products Import & Export
  • Shipping options and Shipping rate

 

 

7. Woo Product Table

 

Woo Product Table

Woo Product Table

 

Are you looking for ways to increase sells of your WooCommerce site? Definitely Woo Product Table plugin is made for you. This plugin increase the conversion rate of your WooCommerce site.

Woo Product Table shows your WooCommerce product in a table view that uses a responsive layout. Besides, you can customize your each table differently. Also you can customize your table that assigns products for selected category.

The most important part is the multiple checkbox. Customer can select multiple product through checkbox and checkout once for all the selected items. To know more view Woo Product Table Free – Features
What have in this plugin?

  • Shortcode generator to create table
  • Responsive layout
  • Ajax Add to Cart
  • Multiple purchase by Checkbox
  • Customize each table differently

 

8. W3 Total Cache

 

W3 Total Cache

 

If you want to rank your site to google then it need to faster. Since speed is an important issue for SEO than you should speed up your site.

W3 Total Cache plugin is optimized to speed up your website. Actually it make a cached version of your website into visitors browser. For this, when they switch to another page of your website it takes less time to load the page. Compatible with shared hosting and supports for mobile devices.

Key Features:

  • Transparent CDN management
  • Accelerated Mobile Pages  support
  • Supports caching of feeds
  • Minification of posts and pages and feeds

 

 

9. Google XML Sitemaps

 

Google XML Sitemaps

Do you want to rank your site in SERP like Google, Bing or Yahoo? For this your need to be indexed to search engine.

Actually search engine crawls to different pages to your sites. Since there are millions of website and increasing day sometimes it takes time to crawl your page. But if you have a sitemap of your site than it becomes easier to crawl your site and understand what your site about. This plugin supports all types pages created by WordPress. Meanwhile it notify the major search engine when you create a new Post.

 

 

10. Elementor Page Builder

 

Elementor Page Builder

Do you want to create your site more dynamic? But can’t find an easy way to create your site? Then Elementor Page Builder plugin is for you. You can create eye catching website without knowing coding since it has a drag and drop feature.

Elementor Page Builder is a live page builder that helps you creating high-end pages. It has Custom fonts, Blog post layout widget and many other feature totally free. If you want advanced feature you can switch to pro version.

 

 

11. WP Clone by WP Academy

 

Wp Clone

Wp Clone

 

If you don’t have a backup of your WordPress site, take a backup of your site. Wp Clone is a one click cloning plugin. So, if you are a beginner this is best suit for you.

With this plugin you can take a backup of your site and restore later with a single click. You can move your site from localhost to Live site as well ass the reverse. To use this plugin you need not subscribe any account. You can also like to read How to Clone WordPress with Wp Clone in a Single Click.

 

Related Post: How to manage WordPress Plugin.

 

This is all for now. I hope, some plugins from the list 11 must have free WordPress Plugins will be best suit for your business. If you have any favorite plugin share it with us in the comment section.

,

Top 15 Free WordPress Themes for 2019

The present online marketplace is expanding so much rapidly. There are several marketplace for WordPress Themes. Among the marketplace WordPress Theme directory is a free one to get various Themes and plugins in free of cost. But, there are thousands of themes in WordPress. So it is difficult to choose the right theme for a newbie. Today I’ve written about the Top 15 Free WordPress Themes for 2019 (in my opinion) that will help you selecting the best themes for your website.

How to Choose the Best Theme for Your Site?

There are lots of themes in WordPress Themes directory. Among them choose your theme that is perfect for your site. But do you know what feature should have in a good WordPress theme. Let me explain what functionality  should you check before using a theme (If know it already please go to the next step of the article).

Responsiveness: First of all, check your preferred theme whether responsive or not. If your website is not responsive than it may cause a headache for google ranking.

Customize theme options: Secondly, you may need customize your site upon your demand. For that your used theme must have customize friendly options.

SEO Friendly: If you want to rank your site than your used theme must be SEO friendly. You can check the code from W3C Markup Validation.

Ratings and Reviews: Another good idea is checking the users ratings and reviews. You can get the ratings below the download section in WordPress.

Besides, if the theme have a premium version on third party marketplace you can check the reviews from there.

Support: Last of all, support is an important feature. While using the theme you may face trouble with the theme. So check whether there is a good support of in your preferred theme.

You will get the support forum of a WordPress theme at the right sidebar of the theme below the Ratings options.

 

Now let’s see what are the Top 15 Free WordPress Themes for 2019 to make a website.

 

1. OceanWP

 

"<yoastmark

 

OceanWP is the most popular free multipurpose WP theme having lots of premium feature. Perfect for your blogs,magazines. Works perfectly with almost all page builder like Elementor,  Visual Composer, Divi, SiteOrigin, Beaver Builder, Brizy, etc.

If you are looking a multipurpose theme then it will be the best choice for you without any hesitation. It has more then 200,000 active installation with 5* ratings having a good support also.

Key Features:

  • Responsive Design
  • Compatible with Page Builder
  • Super Fast Page Load
  • SEO Friendly
  • Demo Import & Export feature

 

2. Astra

 

"<yoastmark

 

This is one of the best Free WordPress theme to make a website. It’s simplicity and ease to use make it user friendly. With a several click you can make your site with Astra.

Lots of customize options and supports popular page builders like  Elementor, Beaver Builder, Visual Composer etc.

It’s Responsive, Designed, Developed, Maintained & Supported by Brainstorm Force. Also if you are searching for a SEO friendly theme than it can be a good choice.

Key Features:

  • Responsive Design
  • Focused on Page Speed
  • RTL & Translation Ready
  • Page Builder Friendly
  • WooCommerce Ready

 

3. Hestia

 

"<yoastmark

 

Hestia is a multipurpose theme of wordpress. It’s specially effective both for business and startup website.

It’s built-in one page layout and modern design catches attraction. Compatible with Elementor Page Builder and some popular slider like Flat Parallax Slider, Photo Gallery, Travel Map etc.

Key Features:

  • Responsive Design
  • Live Customizer
  • E-commerce
  • SEO Friendly
  • Drag & Drop builder

 

4. Storefront

 

Storefront Theme

Storefront Theme

 

If you run a E-commerce site along with WooCommerce plugin then this is the best theme to perform your lots of stuff. There are several layout to customize your shop.

Key Features:

  • Responsive Design
  • WooCommerce Friendly
  • Live Customizer
  • Specially Optimized for E-commerce
  • Drag & Drop builder

 

5. Mesmerize

 

"<yoastmark

 

Mesmerize is an incredibly flexible, multipurpose WordPress theme that can help you create an amazing website easier than ever, by drag and drop.

It have lots of options to customize along with different header layouts. It’s totally mobile responsive and made as WooCommerce ready.

Key Features:

  • Responsive Design
  • 30+ ready to use content sections
  • E-commerce ready
  • Drag and drop
  • Gradient overlays

6. Shapely

 

Shapely

Shapely

 

This is a one page WordPress blog theme with pixel perfect design and outstanding functionality. It’s a multipurpose WordPress theme with lots of customize functionality.

Shapely is a mobile friendly and fully responsive theme which you can use in your business, portfolio, landing page etc.

Key Features:

  • Responsive Design
  • WordPress Customizer Support
  • Add Paralax section
  • Plugin support
  • Drag & Drop builder

 

7. Ashe

 

Ashe

Ashe

Fully responsive Personal and Multi-Author Free WordPress Blog Theme. Perfect for content based blog site. Supports Fullscreen Slider, Header image, Instagram slider widget support and more.

Supports most of the drag and drop page builder. Compatible with WooCommerce also.

Key Features:

  • Responsive and mobile-friendly design.
  • Multi-Author Free WordPress Blog Theme
  • WooCommerce compatible
  • SEO Friendly

 

8. ColorMag

 

"<yoastmark

 

ColorMag is the perfect theme for your magazine designed by ThemeGrill. It’s also compatible for news, newspaper and business.

Besides, it includes a plenty of color options along with a variety of customization. Again, it’s various Widgets area makes it premium premium feel in free version.

Key Features:

  • Responsive Design
  • SEO Friendly
  • Custom CSS
  • Optimized for speed
  • WPML compatible

8. OnePress

 

OnePress

OnePress

If you are finding a one page theme for your wordpress site, then OnePress will be a good option for you. OnePress is a multipurpose theme specially suited for business website, portfolio and digital agency.

Designed on Bootstrap 4 and compatible with latest version of WooCommerce also.

Key Features:

  • Responsive design
  • Theme customizer
  • Paralax  background effect
  • SEO optimized
  • Supports custom Page Template

 

9. Hueman

 

Hueman Theme

Hueman Theme

Top rated wordpress theme for blog and magazine. In addition, Hueman loads faster and is 100% mobile-friendly. For this your visitor grows and helps to rank on google.

Moreover it’s powering 70k+ websites around the world insure its quality.

Key Features:

  • Responsive Design
  • Various font options
  • Slider feature
  • Optimized for speed
  • Translation ready

10. Poseidon

 

Poseidon

Poseidon

Are you going to start a new news website or a magazine?  If yes, then you can choose Poseidon for your site. It’s specially suit for magazine.

It’s clean typography and spacious white layout makes it great to share your stories. In addition, it’s Post Slideshow feature gives the premium feel.

Key Features:

  • 100% Responsive Design
  • Available various custom options
  • Post Slider feature
  • Optimized for speed
  • Translation ready

 

11. Hemingway

 

Hemingway

Hemingway

 

Hemingway is a clean, beautiful and responsive two-column theme for bloggers. It’s full-width header image with parallax scrolling effect gives it another dimension.

Besides it has custom accent color, custom logo upload, custom Flickr and Dribbble widgets, page templates and translation-ready code.

Key Features:

  • Responsive Layout
  • Custom Header
  • Clean design
  • Translation ready
  • Supports Post formats

 

12. GeneratePress

 

GeneratePress

GeneratePress

 

A lightweight WordPress theme built with a focus on speed and better performance. Compatible with Gutenberg. For this you get more flexibility creating your content.

Well coded theme with WooCommerce support and has been translated over 25 languages.

Key Features:

  • Responsive Layout
  • Super fast and lightweight
  • Compatible with all popular page builder
  • Translation ready
  • Built in Schema

 

13. Sydney

 

Sydney

Sydney

One of the most popular WordPress theme having more than 200,000+ active installations. Sydney is totally compatible with Elementor.

Supports all Google Fonts, full color control, layout control, logo upload, full screen slider, header image and much more.

 

Key Features:

  • Responsive Layout
  • Custom Header
  • Supports custom color
  • Translation ready
  • Parallax background

 

14. Zerif Lite

 

Zerif LITE

Zerif LITE

 

One page multipurpose WordPress theme to make your site. It’s responsive, clean and modern design will catches your attraction. You can try this theme for your startup.

Key Features:

  • Responsive Layout
  • Theme options
  • Optimized for speed
  • WooCommerce ready
  • Custom Backgrounds

 

15. Nirvana

 

Nirvana

Nirvana

A responsive WordPress template with lots of customization options. You can personalize your landing page with recent blog post, sliders, customized text etc.

Key Features:

  • Responsive Layout
  • Highly customizable
  • SEO Friendly
  • Landing Page
  • Developer support

 

Related Article:

See How to Manage a WordPress Plugin

That’s all. I hope these Top 15 Free WordPress Themes for 2019 will help you finding perfect article for your website.

,

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.