Maintenance Mode+

There are three methods to do this:

  1. Using a simple code snippet
  2. Using .htaccess file
  3. Using Free WordPress plugins

1. Using a Simple Code Snippet

This method is suitable for new websites as they do not have an audience to lose. This method is also simple and cost-effective.

You need to add the following code snippet to the functions.php file of your website’s current theme.

// Activating WordPress Maintenance Mode
function wp_maintenance_mode() {
 if (!current_user_can('edit_themes') || !is_user_logged_in()) 
 { 
    wp_die('

We are down for Maintenance


We will be back shortly!'); } } add_action('get_header', 'wp_maintenance_mode');

The above code snippet works for users who are not logged in to your website.

If you want to toggle enabling the maintenance mode, you can comment the add action() filter as shown below, and remove the comment line “//” to enable maintenance mode again.

//add_action('get_header', 'wp_maintenance_mode');

2. Using .htaccess file

The .htaccess file resides on your website’s home (root) folder. But before you make changes to this file, you should make a backup of the file to a different name, say “.htaccess_source”. You can then copy and paste the below code to the file.

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/maintenance\.html$
RewriteRule ^(.*)$ https://example.com/maintenance.html [R=307,L]

Control Many WP sites from one Place - With Plugin +

WP Suite - Premium ($37 unlimited sites for one time)

wpsuite.convertri.com


WP Suite Review Demo - Manage Unlimited WordPress Websites

Video Tuts by ProductReviews



How to Easily Manage Multiple WordPress Sites from One Dashboard (7 Tools)

An article by wpbeginner.com

Wordpress Booking System & Event Calendar +

Top 7 Best Booking Plugins For Wordpress

Video by Darrel Wilson


elementor.com/blog/best-wordpress-event-calendar-plugins/


ReDi Restaurant Reservation

ReDi Restaurant Reservation plugin allows you to manage reservations for your restaurant business. This plugin can help to receive reservations from clients online. Your clients will be able to see available space at specified time, and if it’s available, client is able to make a table reservation.


GDPR & Cookie Consent+

wordpress.org/plugins/complianz-gdpr/




Adding google Maps+

How to Add Google Maps in WordPress

Video Tuts by Website Learners


Google Maps Element Tutorial | Elementor

Video Tuts by Ferdy Korpershoek


How to Add Google Maps in WordPress

Video Tuts by WPBeginner using Mappress plugin and google map api


Adding a Google Map with a Marker to Your Website

An article by developers.google.com/maps/


wordpress.org/plugins/interactive-geo-maps/

Create interactive maps with regions and coloured markers. You can display the world map, continent maps and single country maps.



Dashicon for Admin Menu+

Dashicons for Admin Menu

developer.wordpress.org/resource/dashicons


wordpress.org/plugins/dashicons-cpt/




Stock Exchange & Forex Realtime Data Display+

everfx.com/

Sample Site


Premium Stock Market & Forex Widgets | WordPress Plugin

codecanyon.net/item/premium-stock-market-widgets/18686543


wordpress.org/plugins/trade-rates-realtime/

Forex Trade Rates Realtime Plugin-Widget By plugin-wp.com


geekflare.com/best-stock-market-api/


finnhub.io/docs/api


alphavantage.co/


Stock Ticker 3: Installation and Initial Setup

Video Tuts by Aleksandar Urošević - Jan 19, 2018


Create your own Stock Ticker App

Video Tuts by ImpulseBuyer - May 5, 2020





WebP images+

How to Serve WebP Images instead of JPG or PNG with WordPress

Video Tuts by Elegant Themes - Dec 6, 2019




 +







© 2025 My Wordpress collection by Mizanur Rahman