How to Embed Twitter Feed on WordPress website ?

Twitter is one of the most popular social media platforms, with over 300 million active users logging in at least once a month.

In this video, you will learn an easy way to embed any twitter account feeds. You can also embed feeds from Twitter lists as well as single tweet.

If you are using WordPress and you are looking to embed tweets in your WordPress website to engage more and more audience, you can use below plugin and in this video you will learn step by step instructions to install and configure.

If you are looking for embed twitter feeds except WordPress, you can find embedded code at below URL :

How to add Facebook Page Feeds in WordPress Sidebar, Footer and Posts / Pages ?

Facebook is one of the most popular platform for promoting your product and services. It is important that you can embed your Facebook Page Feeds into your website.

WordPress is the most popular Content Management System for creating blogs and websites.

You can go through below video for detail explanation about how you can install and configure Facebook Page Like Widget plugin into your WordPress’s sidebar and Post / Page.

This is most popular Plugin with more than 100000 active installations and quick support.

How to add Facebook Page Feed in WordPress !

This plugin will add your Facebook Page’s feeds into your WordPress website’s sidebar (as widget) , footer (as widget) and Post / Page (as Short-code).

This video will help you to install and configure this plugin step by step. Please leave your comments if you need any help.

How to fix 503 service unavailable error in WordPress

Are you facing 503 service unavailable error in your WordPress website? The problem with the 503 error is that, you can not get any sort of idea, why you are getting this error. I will show you how to fix the 503 service unavailable error in WordPress.

What is the reason behind 503 Service Unavailable Error in WordPress?

There maybe many reasons behind 503 Error. WordPress hosting companies offer fixed amount of resources for each hosting account. Shared hosting can not handle heavy traffic on website and heavy usage of server resources.

The 503 service unavailable error occurs when web server is unable to get a proper response from a PHP script. PHP script could be a complex WordPress plugin, a poor written theme, or a custom code. If this error is caused by heavy usage of server resources, or a DDoS attack then it could automatically disappear in a few minutes.

If it is caused by bad Plugin or poor Theme, then it will keep occurring unless you remove the code that’s causing it.

Let’s take a look at how to fix 503 service unavailable error in WordPress.

Real Solution : Fixing 503 Service Unavailable Error in WordPress

As shown in below steps, we will disable all unnecessary PHP scripts one by one until the error is resolved.

Deactivate All WordPress Plugins

As you cannot login to WordPress dashboard due to the 503 error, you will need to connect to FTP client or File Manager in cPanel. Once connected, go to /wp-content/ folder and rename the plugins folder to something plugins-backup.

Now, you need to create a new folder named plugins.

Now check if this trick resolved the error.

If it did, then some installed plugin was causing the error. Now you need to figure out which plugin was causing the issue. For that you need to go to /wp-content/ folder and delete the empty plugins folder.

After that you need to rename the plugins-backup folder to plugins. This will make all your previously installed plugins available deactivated state.

You need to visit the WordPress admin area and then go to the plugins page. You can activate your plugins one by one and check which plugin is causing the issue. You need to repeat above step until you find the plugin causing the 503 error.

If above trick did not solve your issue, you can move on to the next step.

Switch to a Default WordPress Theme

The next step will be to switch to a default WordPress theme. This will deactivate your current WordPress theme.

As you did for plugins, connect to FTP and go to /wp-content/themes/ folder.

Download your current WordPress theme as backup. Now, you can delete active theme from server and make Twenty Seventeen or Twenty Sixteen default theme. Now check if it solve 503 error.


If above both methods fail to resolve your error, then you have to follow following steps:

  • Please contact your WordPress hosting company because they may help you to find exact issue.
  • As a last option, you can reinstall WordPress with a fresh copy (Personally i do not recommend this).

I hope above article helped you to solve 503 Service Unable issue. Kindly leave your comments below.

WordPress Allow Login With Email

By Default WordPress do not let you to login using Email. Here, you can modify this behavior. Just add below code in your active theme’s functions.php file (Maybe if you are using child theme, put it into child theme’s functions.php).

add_filter('authenticate', 'customAllowEmailLogin', 20, 3);
function customAllowEmailLogin( $user, $username, $password ) {
	if ( is_email( $username ) ) {
	    $user = get_user_by_email( $username );
	    if ( $user ) $username = $user->user_login;
return wp_authenticate_username_password( null, $username, $password );

Now you can login with your email into WordPress.
Please leave your comments if its working or not working for you.

How to change length of Excerpt in WordPress

As a WordPress developer, i needed to change the length of the excerpt.
You can add following function in your themes’s functions.php file.

if(!function_exist('new_excerpt_length') {
    function new_excerpt_length($length) { 
       return 100;
add_filter('excerpt_length', 'new_excerpt_length');

Above function will change the excerpt length to 100. (You can change that value as per your need).