Notice: Follow to get latest blog post updates Click me
Posts

How do I add a character count tool to a Blogger static page?

Blogger theme Character Counter installation? You may add the free Character Counter tool into your blogger blog using our script.
Md. Anwarul Islam
Why Use Character Count Tool on Blogger Static Page? Adding a Character Count Tool to a Blogger static page has several benefits: Word Count Tracking: It's important to keep track of how many words or characters are in your blog posts as you write them. A character counter tool helps you make sure that your pieces are the right length or don't go over certain limits. SEO Optimization: When search engines rank pages, they look at how long the text is. Your site's score can improve if you use the right number of words. You can keep your text SEO-friendly by making sure it's the right amount with a character counter tool. Engaging Users: Readers usually like material that is short and well-organized. Using a character counter will help you make sure that your posts are just the right amount, keeping readers interested. How Long Should the Title and Meta Description Be? Search engines set character limits for blog names and meta descriptions. A character number helps you stay within these limits, which makes sure that your names and descriptions are clear and to the point. Learn how to add a Word Counter Tool to your Blogger static page: Go to Blogger's dashboard. Click “+ NEW PAGE” under “Pages” on the left menu to create a static page. TITLE IT! Use HTML view in the new page editor instead of Compose. Paste this code into HTML view:
<style>
// Character Count Tool by https://www.bloggerspice.com/
input[type="button"]{border:none;padding:5px 12px;text-transform:uppercase;text-align:center;color:#fff;display:inline-block;white-space:nowrap;background-color:#f57c00;cursor:pointer;font-weight:500;font-size:100%;position:relative;top:-1px;margin:0 10px;line-height:23px;transition:all 0.3s ease-in-out}
</style>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
<center>Enter your character here and press Calculate button to calculate Characters</center>
<br /><br />
<center>
<form method="POST">
<table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr><td width="auto"><textarea cols="65" name="charcount" rows="12" style="background: #fafafa; width:100%" wrap="virtual"></textarea></td></tr>
<tr><td width="auto"><div align="center">
<br />
<input onclick="countit(this)" type="button" value="Calculate Characters" /> <input name="displaycount" size="20" style="background: #fafafa;height:27px" type="text" /></div>
</td></tr>
</tbody></table>
<br /></form>
<br />
<script language="JavaScript">
function countit(what){
formcontent=what.form.charcount.value
what.form.displaycount.value=formcontent.length
}
</script><br />
</center>
This utility lets static website users count characters after saving their page. Customize the tool's style and look to fit your blog. Happy blogging!

Post a Comment

If you benefited from reading the post, don't forget to leave a comment!
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oh !
There is some problem with your internet connection. Please connect to the internet and start browsing again.