Hi Every body , Today i will Show you how you can add a welcome message for your visitors on your blog you can make a welcome message or Anything to the visitor every time they visit your blog . This tutorial is simple and easy to Do . ok Let’s Started …..
Follow these Steps :
1 – install The code
- Go To Blogger > Layout > Edit HTML
- Search for the code :
</head>
- After finding the code </head> in your blog template, now copy all the code below and then paste that code before the code </head>.
<SCRIPT language='JavaScript'>alert("Welcome To My Blog");</SCRIPT>
- Now you can change that sentense “Welcome To My Blog” using your own welcome message
- save your change and see the result
- Go To Blogger > Layout > Edit HTML
- Search for the code :
<SCRIPT language='JavaScript'>alert("Welcome To My Blog");</SCRIPT>
- Now add the code Above between this Two line :
<b:if cond='data:blog.pageType == "index"'>
<SCRIPT language='JavaScript'>alert("Welcome To My Blog");</SCRIPT>
</b:if>
- As you can see in that code above, the welcome message code has been wrapped up by using the 2 line codes (red code). By doing this, every time your visitors visit your article pages, the welcome message will disappear and only appear in the homepage.
- save your change and enjoy with this beautiful wedget
That’s All!
0 comments:
Post a Comment