How to make WhatsApp viral script with background music for WordPress


Whatsapp Viral Script for WordPress: Hello! Guys…Today I discuss WhatsApp viral script for the all-season festival. This can help you to earn money in this festive season with your Google Ads, Amazon affiliates, POP Ads and Propeller ads. You can call this Wishing Script also.

I think you are interested so much to read this article. Download this Whatsapp Viral Script in Html format and modified this script as per your own requirement. Want to how? then start reading this article very minutely.

This HTML viral script works on a Hosted Domain and also with Blogger. But in this article, it is discussed how this script works on a Hosted Domain?

If you don’t have any hosted domain then first you make a free WordPress website with a free domain and hosting.


Then install and run this HTML wishing script on your free website.

I assume that you already create a free website, so let’s go straight to the main topic.

Create a Sub-domain at C-Panel

Now create a Sub-domain with your hosted domain like InfinityFree or any other hosted domain. For that, go to the Control Panel of your Hosting.

Click on the Sub-Domains and go to the next page.

create sub-domain for install whatsapp viral script

On the left-hand side, in the blank area enter your URL name like- happyindependenceday2019 or any other URL name as per the festive season, then beside that select the sub-domain as per your choice.

I prefer that you can go with .com or .net sub-domain name. Then click on the Create button.

Installation Process of this Whatsapp Viral Script

Please keep in mind that various HTML Script installation process is different. I am showing you the two different processes to install the script.

Method 1


Go to the Softaculous Apps Installer > Select WordPress > Install WordPress (if you don’t know how to install then read this block first.)

install wordpress for whatsapp viral script

After installing WordPress, Go to the Online File Manager to install this script (screenshot below).

open online file manager to install whatsapp viral script

After opening the File Manager, select your sub-domain folder from the file manager (screenshot below).

select sub-domain name for install whatsapp viral script

Next, you click on htdocs folder > then select Index.php file > Click on Edit (screenshot below).

open index-php to install whatsapp viral script

Now select all the php script (press Ctrl+A from your keyboard) and delete all the php script.

After that, Paste our HTML script into this. Then Save the file and that’s all.

Method 2 –

Some Scripts no need to install the WordPress because there are already have the required files to run this wishing script (see the below screenshot). If you have anything like this type of files then just create a sub-domain and leave htdocs blank.


Now upload all the necessary files into this htdocs folder from the upload button by your Online File Manager.

However, you can upload your files into the htdocs by the FileZilla software.

Download for Windows: 32bit | 64bit

If you don’t know how to upload files by FileZilla then read this article.


Add background music into this Whatsapp Viral Script

First, select a royalty-free song from the online which you want to add to this script, then cut this song with the online MP3 cutter. Note that some browser supports the MP3 file format and some browser supports WAV file format. So cut the songs with both formats.

Add this HTML code into the script-

	<audio controls autoplay loop ">
  <source src="demo.mp3" type="audio/mpeg">
  <source src="demo.wav" type="audio/wav">

This music controller shows in your visual content.

If you want to hide this controller from your visual content then just delete the controls option from the code like this-

	<audio autoplay loop ">
  <source src="demo.mp3" type="audio/mpeg">
  <source src="demo.wav" type="audio/wav">

Loop means continuous to play the music, if you don’t want to play continuously the song then you can also delete the “loop”.

Now upload both the music files into the htdocs folder by click on the upload button of the Online File Manager.

Modify the Html Whatsapp viral script

To modify this script, you have to download the Notepad++. Install this software to your PC or you can edit the script with online Html editor.

Change in a script – Part 1

Part 1:


In Line no 10., change the URL with your sub-domain name which you created earlier within the double quote.

Change the content in line no 14 by your recent festival name.

Change in a script – Part 2

Part 2:

Replate the URL with your website URL and replace the Website name with your website name in line no.-26 & 27.


Select a Royalty free GIF image for your script from google image. If already selected then copy the URL of that image by right click of your mouse and paste that link into the SRC=” ” in line no.- 34.

Also, change the festive name with the current festive name in the alt=” ” beside the SRC.

Change in a script – Part 3

Part 3:

This is a vital part of your script because here you paste/add your Google Adsense Html code or Amazon affiliate banner Html code, Pop Ad or Propeller Ad. This is the part where you can earn money.


As per the screenshot, Paste your code within that particular area (see the above screenshot). If your Google Adsense code is new then it takes 48 hours to show your google ad in this script, so don’t panic.

In the Google Adsense, create a new banner size by 300w x 50h to fit the ads properly into this script. For that change the dimension in the line no.-39 (div style=”width=300px; height=50px; background=#”)

Also, you can add a message for your loved ones or in general purpose from line no.-52 to 55 within this bracket (see the above screenshot).

Download the HTML Script

This whishing script is made for the purpose of Independence Day, but you can modify it with any occasion. Download this raw wishing script from the below.



As I told you that this WhatsApp viral script is made for all festivals & you can use this wishing script on Birthday wishes, Chhat Puja, Lori, Ganesh Chaturthi, Holi, etc. If you know the advance level Html coding then you can play with this script also. If you put your hard work in it you can earn as much as possible during the festive season.

I am recommending you not to use your main Google Ads to this wishing script. Your Google Ads may ban.

Tips: If you want to earn more money then join the multiple WhatsApp group related to your niche. Search in google “WhatsApp group link” and join.


Want More Update Like This? 🤔

About Manash

HI! I am Manash, Founder of this site. Also doing work on Web & Graphic designing. I design & develop WordPress based websites at In this site, I am sharing my experiences & knowledge about WordPress, web design and digital marketing related articles through my blogs. Also reviewing websites and their detailed features. I always try to help my visitor and giving them the best solution. Follow me on Twitter account.

2 thoughts on “How to make WhatsApp viral script with background music for WordPress”

  1. Thank you for the good writeup. It, in fact, was an amusement account it.
    Look advanced to more added agreeable from you!

    However, how could we communicate? Wow, this paragraph is good, my sister is analyzing such things, therefore I am going to tell her.


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.


How to create designs for free with an Online Graphic Design Tool: Snappa

How to submit URL to Google, Bing, Yahoo & Other search engines for WordPress

Copy link