How to use network status plugin

Md Rakib
Md Rakib

When visitors are browsing your blog, their internet connection may suddenly disconnect. If they click on a link at that time, it won’t work. This can confuse them, and they may think your website is slow or has a problem.

To solve this issue, the Probha template includes a Network Status Plugin. When this feature is enabled, it shows a small notification on the screen as soon as the internet connection is lost, saying "You are offline". When the connection comes back, it shows "Connection restored". This helps visitors understand that the issue is with their internet, not your website.



Where to find the plugin?

To set it up, follow these detailed steps:

  • Log in to your Blogger dashboard.
  • From the left sidebar, click on the Layout option.
  • Scroll down to the Plugins section.
  • Find the gadget named "Network Status".
  • Click on the Edit button to open its settings.
  • You will see a JSON configuration box where you can control the plugin.
  • Make your changes and click Save.
  • Now refresh your blog and test by turning off your internet to see the notification.

Configuration Guide

This plugin uses JSON format to control its behavior. You can customize the messages for both online and offline states.

Status

"status": true → Keeps the feature enabled

"status": false → Disables the feature

Message Customization

You can control what message is shown when the internet is lost or restored.

"offline" → Message shown when there is no internet connection (example: You're offline)

"online" → Message shown when the internet connection comes back (example: Connection restored)

Example Configuration

{
  "status": true,
  "online": "Connection restored.",
  "offline": "You're offline."
}

Conclusion

This small feature can greatly improve your blog’s user experience (UX). Visitors will clearly understand whether the issue is with their internet or your website. In the Probha template, this feature is enabled by default.

If you found this helpful, don’t forget to share it.

About The Author

You may like these posts

Post a Comment