<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blogger | Blogger Tips And Tricks | BloggerTipandTrick.net</title>
	<atom:link href="https://bloggertipandtrick.net/tutorials/blogger/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Blogger Tips And Tricks &#124; BloggerTipandTrick.net</description>
	<lastBuildDate>Sun, 11 Oct 2026 12:37:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://bloggertipandtrick.net/wp-content/uploads/2026/10/cropped-btt-site-icon-v1-32x32.png</url>
	<title>Blogger | Blogger Tips And Tricks | BloggerTipandTrick.net</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Add a Calendar to Blogger</title>
		<link>https://bloggertipandtrick.net/add-calendar-to-blogger/</link>
					<comments>https://bloggertipandtrick.net/add-calendar-to-blogger/#respond</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Tue, 26 Aug 2025 08:32:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[gadget]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[java script]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/09/how-to-add-a-calender-to-bloggerblogspot.html</guid>

					<description><![CDATA[<p>This guide shows how to add a simple monthly calendar to your Blogger blog. It uses one HTML/JavaScript gadget and a small script. No external files are required. 1. Open your Blogger dashboard. 2. Go to Layout. 3. Click Add a Gadget in the area where you want the calendar. 4. Choose HTML/JavaScript. 5. Add [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/add-calendar-to-blogger/">How to Add a Calendar to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-a-Calendar-to-Blogger.jpg" alt="How to Add a Calendar to Blogger" width="1200" height="630" class="alignnone size-full wp-image-7464 singular-featured-image" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-a-Calendar-to-Blogger.jpg 1200w, https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-a-Calendar-to-Blogger-768x403.jpg 768w" sizes="(max-width: 1200px) 100vw, 1200px" /></p>
<p>This guide shows how to add a simple monthly calendar to your Blogger blog. It uses one HTML/JavaScript gadget and a small script. No external files are required.</p>
<p>1. Open your <strong>Blogger</strong> dashboard.</p>
<p>2. Go to <strong>Layout</strong>.</p>
<p>3. Click <strong>Add a Gadget</strong> in the area where you want the calendar.</p>
<p>4. Choose <strong>HTML/JavaScript</strong>.</p>
<p>5. Add the code given below into the content box and click <strong>Save</strong>.</p>
<pre><code>&lt;div id=&quot;btt-basic-calendar&quot;&gt;&lt;/div&gt;
&lt;script type='text/javascript'&gt;
//&lt;![CDATA[

(function() {
  function generateCalendar(id) {
    var today = new Date();
    var month = today.getMonth();
    var year = today.getFullYear();
    var firstDay = new Date(year, month, 1).getDay();
    var daysInMonth = new Date(year, month + 1, 0).getDate();
    
    var monthNames = [
      &quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,
      &quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;
    ];
    
    var calendar = &quot;&lt;table class='btt-basic-calendar'&gt;&quot;;
    calendar += &quot;&lt;thead&gt;&lt;tr&gt;&lt;th colspan='7'&gt;&quot; + monthNames[month] + &quot; &quot; + year + &quot;&lt;/th&gt;&lt;/tr&gt;&quot;;
    calendar += &quot;&lt;tr&gt;&lt;th&gt;Sun&lt;/th&gt;&lt;th&gt;Mon&lt;/th&gt;&lt;th&gt;Tue&lt;/th&gt;&lt;th&gt;Wed&lt;/th&gt;&lt;th&gt;Thu&lt;/th&gt;&lt;th&gt;Fri&lt;/th&gt;&lt;th&gt;Sat&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&quot;;
    
    // Empty cells before first day
    for (var i = 0; i &lt; firstDay; i++) {
      calendar += &quot;&lt;td&gt;&lt;/td&gt;&quot;;
    }
    
    // Fill days
    var day = 1;
    for (var i = firstDay; i &lt; 7; i++) {
      calendar += &quot;&lt;td&quot; + (day === today.getDate() ? &quot; class='today'&quot; : &quot;&quot;) + &quot;&gt;&quot; + day + &quot;&lt;/td&gt;&quot;;
      day++;
    }
    calendar += &quot;&lt;/tr&gt;&quot;;
    
    // Remaining weeks
    while (day &lt;= daysInMonth) {
      calendar += &quot;&lt;tr&gt;&quot;;
      for (var i = 0; i &lt; 7 &amp;&amp; day &lt;= daysInMonth; i++) {
        calendar += &quot;&lt;td&quot; + (day === today.getDate() ? &quot; class='today'&quot; : &quot;&quot;) + &quot;&gt;&quot; + day + &quot;&lt;/td&gt;&quot;;
        day++;
      }
      calendar += &quot;&lt;/tr&gt;&quot;;
    }
    
    calendar += &quot;&lt;/tbody&gt;&lt;/table&gt;&quot;;
    document.getElementById(id).innerHTML = calendar;
  }

  // Run on load if a container with id=&quot;btt-basic-calendar&quot; exists
  window.onload = function() {
    var container = document.getElementById(&quot;btt-basic-calendar&quot;);
    if (container) {
      generateCalendar(&quot;btt-basic-calendar&quot;);
    }
  };
})();

//]]&gt;
&lt;/script&gt;
&lt;style&gt;
.btt-basic-calendar {border-collapse:collapse;width:100%;text-align:center;font-family:Arial,sans-serif;font-size:14px;}
.btt-basic-calendar th {background:#f5f5f5;padding:5px;}
.btt-basic-calendar td {border:1px solid #ddd;padding:5px;}
.btt-basic-calendar .today {background:#ffeb3b;font-weight:bold;}
&lt;/style&gt;</code></pre>
<p><strong>Tip:</strong> You can add a title for the gadget, such as Calendar, to show a header above the widget.</p>
<p>6. Save your layout and refresh your blog. The current month will appear, and today's date will be highlighted.</p>
<p><strong>Note:</strong> This calendar code is not limited to Blogger. You can also use it on any other website by pasting the same snippet into your HTML where you want the calendar to appear.</p>
<p>The post <a href="https://bloggertipandtrick.net/add-calendar-to-blogger/">How to Add a Calendar to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/add-calendar-to-blogger/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add jQuery to Blogger</title>
		<link>https://bloggertipandtrick.net/add-jquery-to-blogger/</link>
					<comments>https://bloggertipandtrick.net/add-jquery-to-blogger/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Sun, 24 Aug 2025 03:08:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[java script]]></category>
		<category><![CDATA[jquery]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/07/how-to-add-jquery-on-blogger-blogspot-blogs.html</guid>

					<description><![CDATA[<p>Some Blogger templates or gadgets require jQuery to work properly. If your theme does not already load it, you can easily add it by following these steps. Steps Open your Blogger Dashboard and go to Theme. Click Edit HTML to open the code editor. Search for the closing tag &#60;/head&#62;. Paste the script below just [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/add-jquery-to-blogger/">How to Add jQuery to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-jQuery-to-Blogger.jpg" alt="How to Add jQuery to Blogger" width="1536" height="806" class="alignnone size-full wp-image-7460 singular-featured-image" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-jQuery-to-Blogger.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-jQuery-to-Blogger-768x403.jpg 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></p>
<p>Some Blogger templates or gadgets require jQuery to work properly. If your theme does not already load it, you can easily add it by following these steps.</p>
<h2>Steps</h2>
<ol>
<li>Open your <strong>Blogger Dashboard</strong> and go to <strong>Theme</strong>.</li>
<li>Click <strong>Edit HTML</strong> to open the code editor.</li>
<li>Search for the closing tag <strong>&lt;/head&gt;</strong>.</li>
<li>Paste the script below <em>just before</em> <strong>&lt;/head&gt;</strong>.</li>
<li>Click <strong>Save</strong> to update your theme.</li>
</ol>
<h2>jQuery Script</h2>
<pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
<h2>Optional: Add jQuery Migrate</h2>
<p>If your template or old gadgets stop working after adding the latest jQuery, you can also include jQuery Migrate. Place it <em>immediately after</em> the jQuery script tag:</p>
<pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="https://code.jquery.com/jquery-migrate-3.4.1.min.js"&gt;&lt;/script&gt;</code></pre>
<p><strong>Tip:</strong> Only add jQuery Migrate if you notice errors with older scripts. For most modern templates, the main jQuery script is enough.</p>
<h2>Final Step</h2>
<p>After saving your theme, refresh your blog and check if everything works correctly. If you see errors in the console, consider adding the optional jQuery Migrate script.</p>
<p>The post <a href="https://bloggertipandtrick.net/add-jquery-to-blogger/">How to Add jQuery to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/add-jquery-to-blogger/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Open Blogger Link List Gadget Links in a New Tab</title>
		<link>https://bloggertipandtrick.net/open-blogger-link-list-gadget-links-in-new-tab/</link>
					<comments>https://bloggertipandtrick.net/open-blogger-link-list-gadget-links-in-new-tab/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Thu, 21 Aug 2025 01:17:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[html]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/07/how-to-set-links-of-a-linklist-widget-open-in-a-new-window.html</guid>

					<description><![CDATA[<p>Do you want the links in your Blogger Link List widget to open in a new tab? You can do this by adding a small change to your template. This guide shows the steps in a clear and simple way. Before you start Make a backup of your theme first. Go to Theme → Backup [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/open-blogger-link-list-gadget-links-in-new-tab/">How to Open Blogger Link List Gadget Links in a New Tab</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Open-Blogger-Link-List-Gadget-Links-in-a-New-Tab.jpg" alt="How to Open Blogger Link List Gadget Links in a New Tab" width="1536" height="806" class="singular-featured-image alignnone size-full wp-image-7419" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Open-Blogger-Link-List-Gadget-Links-in-a-New-Tab.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Open-Blogger-Link-List-Gadget-Links-in-a-New-Tab-768x403.jpg 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></p>
<p>Do you want the links in your Blogger <strong>Link List</strong> widget to open in a new tab? You can do this by adding a small change to your template. This guide shows the steps in a clear and simple way.</p>
<h2>Before you start</h2>
<ul>
<li>Make a backup of your theme first. Go to <strong>Theme</strong> → <strong>Backup</strong> → <strong>Download</strong>.</li>
</ul>
<h2>Step 1: Open your template</h2>
<ol>
<li>Go to your Blogger dashboard.</li>
<li>Click <strong>Theme</strong> → <strong>Edit HTML</strong>.</li>
<li>Click inside the code area and press <kbd>Ctrl</kbd> + <kbd>F</kbd> to search.</li>
</ol>
<h2>Step 2: Find your Link List widget</h2>
<p>Search for <span style="color:#0cb30c;font-weight:bold;">&lt;b:widget id='LinkList</span> or scroll until you see the Link List code block.</p>
<p>It will look similar to this:</p>
<pre><code>&lt;b:widget id='LinkList1' locked='false' title='Recommended Links' type='LinkList' visible='true'&gt;
&lt;b:includable id='main'&gt;
  &lt;b:include name='widget-title'/&gt;
  &lt;b:include name='content'/&gt;
&lt;/b:includable&gt;
&lt;b:includable id='content'&gt;
 &lt;div class='widget-content'&gt;
   &lt;ul&gt;
     &lt;b:loop values='data:links' var='link'&gt;
       &lt;li&gt;&lt;a expr:href='data:link.target'&gt;&lt;data:link.name/&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;/b:loop&gt;
   &lt;/ul&gt;
 &lt;/div&gt;
&lt;/b:includable&gt;
&lt;/b:widget&gt;</code></pre>
<h2>Step 3: Add the target attribute</h2>
<p>Edit the <span style="color:#ff0000;font-weight:bold;">&lt;a&gt;</span> tag to include <span style="color:#0cb30c;font-weight:bold;">target='_blank'</span>. This makes each link open in a new tab.</p>
<p><strong>Important:</strong> add a space before <span style="color:#0cb30c;font-weight:bold;">target='_blank'</span> so the HTML stays valid.</p>
<p>Update your code to the following:</p>
<pre><code>&lt;b:widget id='LinkList1' locked='false' title='Recommended Links' type='LinkList' visible='true'&gt;
&lt;b:includable id='main'&gt;
  &lt;b:include name='widget-title'/&gt;
  &lt;b:include name='content'/&gt;
&lt;/b:includable&gt;
&lt;b:includable id='content'&gt;
 &lt;div class='widget-content'&gt;
   &lt;ul&gt;
     &lt;b:loop values='data:links' var='link'&gt;
       &lt;li&gt;&lt;a expr:href='data:link.target' <span style="color:#0cb30c;font-weight:bold;">target='_blank'</span> <span style="color:#ff00ff;font-weight:bold;">rel='noopener noreferrer'</span>&gt;&lt;data:link.name/&gt;&lt;/a&gt;&lt;/li&gt;
     &lt;/b:loop&gt;
   &lt;/ul&gt;
 &lt;/div&gt;
&lt;/b:includable&gt;
&lt;/b:widget&gt;</code></pre>
<p>Adding <span style="color:#ff00ff;font-weight:bold;">rel='noopener noreferrer'</span> improves security by preventing the new tab from controlling your blog, and it can also improve performance.</p>
<h2>Step 4: Save your changes</h2>
<ol>
<li>Click <strong>Save</strong> in the top right corner of the editor.</li>
<li>Refresh your blog and test the links in the Link List widget.</li>
</ol>
<h2>Troubleshooting</h2>
<ul>
<li><strong>I cannot find the widget:</strong> Try searching for the exact widget ID if you know it, for example <strong>LinkList12</strong>.</li>
<li><strong>Links still open in the same tab:</strong> Make sure you added a space before <strong>target='_blank'</strong> and saved the template.</li>
<li><strong>Multiple Link List widgets:</strong> Repeat the same change for each Link List block you want to affect.</li>
</ul>
<h2>Done</h2>
<p>Your Link List links should now open in a new tab. This is a small change that makes navigation more comfortable for your visitors.</p>
<p>The post <a href="https://bloggertipandtrick.net/open-blogger-link-list-gadget-links-in-new-tab/">How to Open Blogger Link List Gadget Links in a New Tab</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/open-blogger-link-list-gadget-links-in-new-tab/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>How to Embed a PHP Page in Blogger</title>
		<link>https://bloggertipandtrick.net/embed-php-page-in-blogger/</link>
					<comments>https://bloggertipandtrick.net/embed-php-page-in-blogger/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Wed, 20 Aug 2025 04:22:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[html]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/07/how-to-embed-a-php-file-into-blogger.html</guid>

					<description><![CDATA[<p>Blogger does not support PHP files directly, but you can still display them. If you already have a PHP page hosted on a server, you can show it inside your Blogger blog using a simple &#60;iframe&#62;. This method is perfect for adding tools, forms, or scripts without needing to change how Blogger works. In this [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/embed-php-page-in-blogger/">How to Embed a PHP Page in Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Embed-a-PHP-Page-in-Blogger.jpg" alt="How to Embed a PHP Page in Blogger" width="1536" height="806" class="singular-featured-image alignnone size-full wp-image-7414" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Embed-a-PHP-Page-in-Blogger.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Embed-a-PHP-Page-in-Blogger-768x403.jpg 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px" /></p>
<p>Blogger does not support PHP files directly, but you can still display them. If you already have a PHP page hosted on a server, you can show it inside your Blogger blog using a simple <strong>&lt;iframe&gt;</strong>. This method is perfect for adding tools, forms, or scripts without needing to change how Blogger works. In this guide, I will explain the steps in a simple way.</p>
<h2>Step 1: Host your PHP file</h2>
<p>Upload your PHP file to a web server that supports PHP. Blogger itself cannot run PHP,  so the file must be hosted elsewhere. For example: <strong>https://yourdomain.com/tool.php</strong>. If your blog uses HTTPS, make sure your PHP page also uses HTTPS.</p>
<h2>Step 2: Add an iframe to your blog</h2>
<p>Next, embed your PHP page using an iframe. Go to your Blogger dashboard, edit the post or page, switch to <strong>HTML view</strong>, and paste this code:</p>
<pre><code>&lt;iframe 
src="https://yourdomain.com/tool.php" 
title="Embedded PHP Page"
width="100%" 
height="420" 
loading="lazy"
style="border:0; max-width: 900px; display:block; margin: 0 auto;"&gt;
&lt;/iframe&gt;</code></pre>
<p>Replace <strong>https://yourdomain.com/tool.php</strong> with the link to your PHP file. You can change the <strong>height</strong> and <strong>max-width</strong> to fit your design.</p>
<h2>Step 3: Add it as a gadget (optional)</h2>
<p>
You can also add the PHP tool in your sidebar or footer as a gadget:
</p>
<ol>
<li>Go to <strong>Layout</strong> in your Blogger dashboard.</li>
<li>Click <strong>Add a Gadget</strong> where you want it to show.</li>
<li>Select <strong>HTML/JavaScript</strong>.</li>
<li>Paste the iframe code and save.</li>
</ol>
<h2>Tips and common issues</h2>
<ul>
<li><strong>Blank box?</strong> Your PHP host may block embedding with headers like <strong>X-Frame-Options</strong>. Try another host if this happens.</li>
<li><strong>Mixed content warnings</strong> Use HTTPS for both your blog and the PHP page.</li>
<li><strong>Too short or too tall?</strong> Adjust the <strong>height</strong> value in the iframe code.</li>
<li><strong>SEO note</strong> Content inside an iframe is not read as part of your blog by search engines. Add some supporting text to help SEO.</li>
</ul>
<h2>Example</h2>
<p>Here is an example with a placeholder PHP page URL:</p>
<pre><code>&lt;iframe 
src="https://example.com/my-tool.php" 
title="My PHP Tool"
width="100%" 
height="480" 
loading="lazy"
style="border:0; max-width: 900px; display:block; margin: 0 auto;"&gt;
&lt;/iframe&gt;</code></pre>
<p>This will display the PHP page inside your Blogger post, centered and clean.</p>
<h2>Conclusion</h2>
<p>That is all you need to do. Blogger cannot run PHP files itself, but you can display them by embedding the page with an iframe. Just host the PHP file on a proper server, then paste the iframe code into your blog. It is a simple and reliable way to bring dynamic features into Blogger.</p>
<p>The post <a href="https://bloggertipandtrick.net/embed-php-page-in-blogger/">How to Embed a PHP Page in Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/embed-php-page-in-blogger/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add Official X (Twitter) Follow Button to Blogger</title>
		<link>https://bloggertipandtrick.net/official-x-twitter-follow-button-blogger/</link>
					<comments>https://bloggertipandtrick.net/official-x-twitter-follow-button-blogger/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Tue, 19 Aug 2025 05:14:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[twitter]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2011/06/how-to-add-official-twitter-follow-button-to-blogger.html</guid>

					<description><![CDATA[<p>Adding an official X (Twitter) Follow Button to your Blogger site is a quick way to let visitors follow you with one click. It helps you grow your followers and stay connected with your audience. In this guide I will show you how to add the button directly to your blog. Copy and Paste This [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/official-x-twitter-follow-button-blogger/">How to Add Official X (Twitter) Follow Button to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-Official-X-Twitter-Follow-Button-to-Blogger.jpg" alt="How to Add Official X (Twitter) Follow Button to Blogger" width="1536" height="806" class="singular-featured-image alignnone size-full wp-image-7400" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-Official-X-Twitter-Follow-Button-to-Blogger.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/08/How-to-Add-Official-X-Twitter-Follow-Button-to-Blogger-768x403.jpg 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px" /></p>
<p>Adding an official <strong>X (Twitter) Follow Button</strong> to your Blogger site is a quick way to let visitors follow you with one click. It helps you grow your followers and stay connected with your audience. In this guide I will show you how to add the button directly to your blog.</p>
<hr />
<h2>Copy and Paste This Code</h2>
<p>Here is the code you need. Replace <span style="color:#0cb30c;font-weight:bold;">YourHandle</span> with your actual X/Twitter username (without the @ sign).</p>
<pre><code>&lt;a href="https://twitter.com/YourHandle"
   class="twitter-follow-button"
   data-show-screen-name="true"
   data-show-count="false"
   data-size="large"&gt;
  Follow @YourHandle
&lt;/a&gt;
&lt;script async src="https://platform.twitter.com/widgets.js" charset="utf-8"&gt;&lt;/script&gt;</code></pre>
<p><em>Tip:</em> You only need the script line once per page. If your template already has it, you can remove the last line.</p>
<p style="background:#f7f7f7; padding:12px; border-left:4px solid #0cb30c;">
  <strong>Note:</strong> This follow button code is not limited to Blogger. You can also use the same code on any other website, such as WordPress, static HTML pages, or custom CMS platforms. Just paste it into your site’s HTML and it will work the same way.
</p>
<hr />
<h2>Method A: Add the Button with a Gadget</h2>
<ol>
<li>Log in to Blogger and go to <strong>Layout</strong>.</li>
<li>Click <strong>Add a Gadget → HTML/JavaScript</strong>.</li>
<li>Paste the code shown above.</li>
<li>Click <strong>Save</strong>.</li>
</ol>
<p>The button will now appear in the sidebar, footer or any gadget area you choose.</p>
<hr />
<h2>Method B: Add the Button in Your Theme</h2>
<p><strong>Important:</strong> Make a backup of your theme first (Theme → Backup). Blogger templates can be different, so check carefully before editing.</p>
<ol>
<li>Go to <strong>Theme → Edit HTML</strong>.</li>
<li>Search for <span style="color:#0cb30c;font-weight:bold;">&lt;b:includable id='post' var='post'&gt;</span>. Inside this block you will see <span style="color:#ff00ff;font-weight:bold;">&lt;data:post.body/&gt;</span>.</li>
<li>Paste the same follow button code <strong>just before</strong> <span style="color:#ff00ff;font-weight:bold;">&lt;data:post.body/&gt;</span>.</li>
</ol>
<p>This will make the button appear at the top of every blog post.</p>
<p>If you want the button to be aligned to the right, wrap it with a simple <span style="color:#0cb30c;font-weight:bold;">&lt;div&gt;</span> like this:</p>
<pre><code>&lt;div style="float:right; margin:6px 0 10px 10px;"&gt;
  &lt;!-- Follow button code goes here --&gt;
&lt;/div&gt;</code></pre>
<hr />
<h2>Customize the Button</h2>
<ul>
<li><strong>Show or hide username:</strong> Change <span style="color:#0cb30c;font-weight:bold;">data-show-screen-name</span> to <span style="color:#ff00ff;font-weight:bold;">true</span> or <span style="color:#ff00ff;font-weight:bold;">false</span>.</li>
<li><strong>Show or hide follower count:</strong> Change <span style="color:#0cb30c;font-weight:bold;">data-show-count</span> to <span style="color:#ff00ff;font-weight:bold;">true</span> or <span style="color:#ff00ff;font-weight:bold;">false</span>.</li>
<li><strong>Button size:</strong> Add <span style="color:#0cb30c;font-weight:bold;">data-size="large"</span> for a bigger button or remove it for the default size.</li>
<li><strong>Position:</strong> Use a wrapper <span style="color:#0cb30c;font-weight:bold;">&lt;div&gt;</span> and add CSS such as <span style="color:#ff00ff;font-weight:bold;">float:right;</span> or <span style="color:#ff00ff;font-weight:bold;">margin</span>.</li>
</ul>
<hr />
<h2>Fixing Common Problems</h2>
<ul>
<li><strong>Button shows only as a link:</strong> Make sure the script line is included once per page: <span style="color:#0cb30c;font-weight:bold;">&lt;script async src="https://platform.twitter.com/widgets.js"&gt;&lt;/script&gt;</span></li>
<li><strong>Button does not appear in posts:</strong> Check that you pasted the code inside <span style="color:#0cb30c;font-weight:bold;">&lt;b:includable id='post' var='post'&gt;</span> and before <span style="color:#ff00ff;font-weight:bold;">&lt;data:post.body/&gt;</span>.</li>
<li><strong>Button loads twice:</strong> Remove extra copies of the script so only one remains.</li>
<li><strong>Wrong account:</strong> Double check that you replaced <span style="color:#0cb30c;font-weight:bold;">YourHandle</span> with your own username.</li>
</ul>
<hr />
<p>That’s it. Now your Blogger site has a working <strong>X (Twitter) Follow Button</strong> and visitors can follow you instantly. Happy blogging!</p>
<p>The post <a href="https://bloggertipandtrick.net/official-x-twitter-follow-button-blogger/">How to Add Official X (Twitter) Follow Button to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/official-x-twitter-follow-button-blogger/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add a Random Post Button in Blogger</title>
		<link>https://bloggertipandtrick.net/random-post-button-blogger/</link>
					<comments>https://bloggertipandtrick.net/random-post-button-blogger/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Mon, 21 Jul 2025 05:44:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[widget]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/05/how-to-add-random-posts-widget-to-blogger.html</guid>

					<description><![CDATA[<p>Adding a Random Post button to your Blogger site is a fun and effective way to keep visitors engaged with your content. When clicked, this button sends users to a randomly selected blog post, encouraging them to discover articles they might have missed. In this tutorial, you'll learn how to easily add this feature to [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/random-post-button-blogger/">How to Add a Random Post Button in Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Add-a-Random-Post-Button-in-Blogger.jpg" alt="How to Add a Random Post Button in Blogger" width="1200" height="630" class="singular-featured-image alignnone size-full wp-image-7288" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Add-a-Random-Post-Button-in-Blogger.jpg 1200w, https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Add-a-Random-Post-Button-in-Blogger-768x403.jpg 768w" sizes="auto, (max-width: 1200px) 100vw, 1200px" /></p>
<p>Adding a <strong>Random Post</strong> button to your Blogger site is a fun and effective way to keep visitors engaged with your content. When clicked, this button sends users to a randomly selected blog post, encouraging them to discover articles they might have missed. In this tutorial, you'll learn how to easily add this feature to your blog using a simple copy-and-paste code.</p>
<p>Go to the "<strong>Layout</strong>" page of your Blogger blog, add the following code into an "<strong>HTML/JavaScript</strong>" gadget, and click <strong>Save</strong>.</p>
<pre style="border:1px solid black;max-height:1000px;overflow:auto;">&lt;style&gt;
#myLuckyPost {
  margin-bottom: 10px;
}
#myLuckyPost a {
  display: block;
  background: #333;
  color: #fff;
  text-shadow: none !important;
  text-align: center;
  padding: 6px 10px;
  text-decoration: none;
  text-transform: uppercase;
}
&lt;/style&gt;

&lt;div id=&quot;myLuckyPost&quot;&gt;Loading random post...&lt;/div&gt;

&lt;script&gt;
(function () {
  const container = document.getElementById(&quot;myLuckyPost&quot;);
  const FEED_URL = &quot;/feeds/posts/summary&quot;;

  // === JSONP fallback logic ===
  window.showLucky = function (root) {
    const entry = (root.feed.entry || [])[0];
    if (!entry) {
      container.textContent = &quot;No post found.&quot;;
      return;
    }
    const link = entry.link.find(l =&gt; l.rel === &quot;alternate&quot;);
    if (link &amp;&amp; link.href) {
      window.location.href = link.href;
    } else {
      container.textContent = &quot;Post link not found.&quot;;
    }
  };

  window.feelingLucky = function (root) {
    const total = parseInt(root.feed.openSearch$totalResults.$t, 10);
    if (!total) {
      container.textContent = &quot;No posts available.&quot;;
      return;
    }

    const luckyIndex = Math.floor(Math.random() * total) + 1;
    const a = document.createElement(&quot;a&quot;);
    a.href = &quot;#&quot;;
    a.onclick = function () {
      const s = document.createElement(&quot;script&quot;);
      s.src = `${FEED_URL}?start-index=${luckyIndex}&amp;max-results=1&amp;alt=json-in-script&amp;callback=showLucky`;
      document.head.appendChild(s);
      return false;
    };
    a.textContent = &quot;Are you feeling lucky?&quot;;
    container.innerHTML = &quot;&quot;;
    container.appendChild(a);
  };

  // === Try modern fetch to get total post count ===
  (async function tryFetch() {
    try {
      const res = await fetch(`${FEED_URL}?alt=json&amp;max-results=0`);
      if (!res.ok) throw new Error(&quot;HTTP error &quot; + res.status);
      const data = await res.json();
      const total = parseInt(data.feed.openSearch$totalResults.$t, 10);

      if (!total) {
        container.textContent = &quot;No posts found.&quot;;
        return;
      }

      const luckyIndex = Math.floor(Math.random() * total) + 1;
      const postRes = await fetch(`${FEED_URL}?alt=json&amp;start-index=${luckyIndex}&amp;max-results=1`);
      if (!postRes.ok) throw new Error(&quot;Post fetch failed&quot;);

      const postData = await postRes.json();
      const entry = (postData.feed.entry || [])[0];
      if (!entry) {
        container.textContent = &quot;Random post not found.&quot;;
        return;
      }

      const link = entry.link.find(l =&gt; l.rel === &quot;alternate&quot;);
      if (!link || !link.href) {
        container.textContent = &quot;Post URL missing.&quot;;
        return;
      }

      const a = document.createElement(&quot;a&quot;);
      a.href = link.href;
      a.textContent = &quot;Are you feeling lucky?&quot;;
      container.innerHTML = &quot;&quot;;
      container.appendChild(a);

    } catch (err) {
      console.warn(&quot;Fetch failed, using JSONP fallback:&quot;, err);
      const s = document.createElement(&quot;script&quot;);
      s.src = `${FEED_URL}?max-results=0&amp;alt=json-in-script&amp;callback=feelingLucky`;
      document.head.appendChild(s);
    }
  })();
})();
&lt;/script&gt;</pre>
<p>Refresh your site and click the "<strong>Are you feeling lucky?</strong>" button to see it in action.</p>
<p>The post <a href="https://bloggertipandtrick.net/random-post-button-blogger/">How to Add a Random Post Button in Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/random-post-button-blogger/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change or Disable Blogger Cookies Notification</title>
		<link>https://bloggertipandtrick.net/change-blogger-cookies-notification/</link>
					<comments>https://bloggertipandtrick.net/change-blogger-cookies-notification/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Sat, 19 Jul 2025 15:52:04 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[java script]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/?p=6344</guid>

					<description><![CDATA[<p>Blogger automatically displays a cookies consent banner for European Union (EU) visitors to comply with GDPR regulations. This banner appears at the top of your blog and informs users that your site uses cookies, especially for Google services and personalized ads. If you're located outside the EU and want to preview the cookies notification, you [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/change-blogger-cookies-notification/">How to Change or Disable Blogger Cookies Notification</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Change-or-Disable-Blogger-Cookies-Notification.jpg" alt="How to Change or Disable Blogger Cookies Notification" width="1536" height="806" class="singular-featured-image alignnone size-full wp-image-7280" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Change-or-Disable-Blogger-Cookies-Notification.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Change-or-Disable-Blogger-Cookies-Notification-768x403.jpg 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px" /></p>
<p>Blogger automatically displays a cookies consent banner for <strong>European Union (EU)</strong> visitors to comply with GDPR regulations. This banner appears at the top of your blog and informs users that your site uses cookies, especially for Google services and personalized ads.</p>
<p><a href="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Blogger-Cookies-Notification.png" target="_blank"><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Blogger-Cookies-Notification.png" alt="Blogger Cookies Notification" width="1053" height="92" class="alignnone size-full wp-image-7283" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Blogger-Cookies-Notification.png 1053w, https://bloggertipandtrick.net/wp-content/uploads/2025/07/Blogger-Cookies-Notification-768x67.png 768w" sizes="auto, (max-width: 1053px) 100vw, 1053px" /></a></p>
<p>If you're located outside the EU and want to preview the cookies notification, you can no longer use region-specific domains like <strong>.co.uk</strong> as they now redirect to <strong>.com</strong>.</p>
<p>Instead, use a VPN, browser extension, or an online tool like "GeoPeeker" to simulate a visit from an EU country. This allows you to see how the cookie banner appears to EU-based visitors, regardless of whether your blog uses a *.blogspot.com address or a custom domain.</p>
<p>The cookie banner in Blogger is automatically managed by Google and is designed to inform visitors about the use of cookies on your site. It highlights how Google uses cookies for services such as personalized advertising and traffic analysis, while also fulfilling the legal requirement to obtain user consent under GDPR regulations.</p>
<p>However, the default message may not align with your blog's tone or design, and some users choose to customize or disable it entirely. This should be done with caution, as it may lead to compliance risks.</p>
<h2>How to Change the Blogger Cookies Notification Message</h2>
<p>You can customize the cookie banner text and buttons. Go to the theme's "<strong>Edit HTML</strong>" page and add this code just before the <strong>&lt;/head&gt;</strong> tag:</p>
<pre style="border:1px solid black;overflow:auto;">&lt;script type=&quot;text/javascript&quot;&gt;
    cookieOptions = {
        msg: &quot;<span style='color:#ff0000'>This site uses cookies from Google to deliver its services, to personalize ads and to analyze traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies.</span>&quot;,
        link: &quot;https://policies.google.com/technologies/cookies&quot;,
        close: &quot;Got it&quot;,
        learn: &quot;Learn More&quot;
    };
&lt;/script&gt;</pre>
<p><strong>Note:</strong> You need to change the <span style="color:#0cb30c;"><strong>msg</strong></span> text to better fit your blog's language or tone.</p>
<h2>How to Disable the Blogger Cookies Notification</h2>
<p><strong>Important:</strong> Use this <strong>only if</strong> you fully understand your region's legal responsibilities. Disabling the banner may lead to <strong>non-compliance</strong> with privacy laws like GDPR.</p>
<p>To completely disable the banner, add the following code just before the closing <strong>&lt;/head&gt;</strong> tag in your theme's Edit HTML page:</p>
<pre style="border:1px solid black;overflow:auto;">&lt;script type=&quot;text/javascript&quot;&gt;
    cookieOptions = {};
&lt;/script&gt;</pre>
<p><strong>Note:</strong> For most users, customizing the banner (rather than removing it) is the safest and most compliant choice.</p>
<p>For more information: <a href="https://support.google.com/blogger/answer/6253244" target="_blank" rel="nofollow">https://support.google.com/blogger/answer/6253244</a></p>
<p>The post <a href="https://bloggertipandtrick.net/change-blogger-cookies-notification/">How to Change or Disable Blogger Cookies Notification</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/change-blogger-cookies-notification/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Submit Blogger Sitemap to Google Search Console</title>
		<link>https://bloggertipandtrick.net/submit-blogger-sitemap-google-search-console/</link>
					<comments>https://bloggertipandtrick.net/submit-blogger-sitemap-google-search-console/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Tue, 15 Jul 2025 03:36:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[seo]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/03/how-to-submit-blogger-sitemap-to-google.html</guid>

					<description><![CDATA[<p>This quick tutorial explains how to submit your Blogger blog’s sitemap to Google Search Console. Every Blogger blog has a sitemap file automatically created by Blogger. You can access it by adding /sitemap.xml to the end of your blog URL. For example: https://YOURBLOGNAME.blogspot.com/sitemap.xml Follow the steps below to submit your Blogger sitemap to Google Search [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/submit-blogger-sitemap-google-search-console/">Submit Blogger Sitemap to Google Search Console</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Submit-Blogger-Sitemap-to-Google-Search-Console.jpg" alt="Submit Blogger Sitemap to Google Search Console" width="1536" height="806" class="singular-featured-image alignnone size-full wp-image-7267" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Submit-Blogger-Sitemap-to-Google-Search-Console.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/07/Submit-Blogger-Sitemap-to-Google-Search-Console-768x403.jpg 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px" /></p>
<p>This quick tutorial explains how to submit your Blogger blog’s sitemap to <strong>Google Search Console</strong>. Every Blogger blog has a sitemap file automatically created by Blogger. You can access it by adding <strong>/sitemap.xml</strong> to the end of your blog URL.</p>
<p>For example: <strong><u>https://YOURBLOGNAME.blogspot.com<span style="color:#0cb30c;">/sitemap.xml</span></u></strong></p>
<p>Follow the steps below to submit your Blogger sitemap to Google Search Console:</p>
<p>1. Go to <a href="https://search.google.com/search-console" target="_blank">Google Search Console</a> and sign in with your Google account.</p>
<p>2. Select your blog from the property list (top-left dropdown).</p>
<p><strong>Note:</strong> If your blog isn't added yet, click "<strong>Add Property</strong>"  and enter your full blog URL (e.g., https://yourblogname.blogspot.com), then follow the <strong>verification steps</strong>.</p>
<p>3. In the left sidebar, click on "<strong>Indexing</strong>" → "<strong>Sitemaps</strong>".</p>
<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Sitemaps-Google-Search-Console.png" alt="Sitemaps Google Search Console" width="307" height="487" class="alignnone size-full wp-image-7270" /></p>
<p>4. Under "<strong>Add a new sitemap</strong>", enter your full sitemap URL like this:</p>
<pre>https://YOURBLOGNAME.blogspot.com/sitemap.xml</pre>
<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Add-Sitemap-URL-to-Google-Search-Console.png" alt="Add Sitemap URL to Google Search Console" width="724" height="280" class="alignnone size-full wp-image-7268" /></p>
<p>5. Then click the <strong>Submit</strong> button.</p>
<p>Your Blogger sitemap has now been submitted to Google. After processing, you'll be able to view indexing status, discovered URLs, and any crawling errors in the Search Console dashboard.</p>
<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Submitted-Blogger-Sitemaps.png" alt="Submitted Blogger Sitemaps" width="718" height="257" class="alignnone size-full wp-image-7269" /></p>
<p><strong>Note:</strong> If you're using a <strong>custom domain</strong> (like https://www.mycustomdomain.com), your sitemap URL would be:</p>
<pre>https://www.mycustomdomain.com/sitemap.xml</pre>
<p>The post <a href="https://bloggertipandtrick.net/submit-blogger-sitemap-google-search-console/">Submit Blogger Sitemap to Google Search Console</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/submit-blogger-sitemap-google-search-console/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>How to Use Prettify Syntax Highlighter With Blogger</title>
		<link>https://bloggertipandtrick.net/prettify-syntax-highlighter-for-blogger-blogspot/</link>
					<comments>https://bloggertipandtrick.net/prettify-syntax-highlighter-for-blogger-blogspot/#comments</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Tue, 08 Jul 2025 03:05:44 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[java script]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/?p=3922</guid>

					<description><![CDATA[<p>If you're a developer, tech blogger, or just love sharing code on your Blogger (Blogspot) blog, adding a good syntax highlighter is a must for readability and professional presentation. One of the lightweight tools you can still use is Google Code Prettify, a JavaScript-based syntax highlighter. This tutorial shows how to easily integrate the Prettify [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/prettify-syntax-highlighter-for-blogger-blogspot/">How to Use Prettify Syntax Highlighter With Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/How-to-Use-Prettify-Syntax-Highlighter-With-Blogger.jpg" alt="How to Use Prettify Syntax Highlighter With Blogger" width="1536" height="924" class="singular-featured-image alignnone size-full wp-image-7232" srcset="https://bloggertipandtrick.net/wp-content/uploads/2014/02/How-to-Use-Prettify-Syntax-Highlighter-With-Blogger.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2014/02/How-to-Use-Prettify-Syntax-Highlighter-With-Blogger-768x462.jpg 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px" /></p>
<p>If you're a developer, tech blogger, or just love sharing code on your Blogger (Blogspot) blog, adding a good syntax highlighter is a must for readability and professional presentation. One of the lightweight tools you can still use is <strong>Google Code Prettify</strong>, a JavaScript-based syntax highlighter.</p>
<p>This tutorial shows how to easily integrate the <strong>Prettify</strong> into your Blogger blog, with live examples and alternate skin options.</p>
<p><span style="color:#009688"><strong>Step 1:</strong></span> Login to your Blogger account and go to the "<strong>Edit HTML</strong>" page of your blog.</p>
<p><span style="color:#009688"><strong>Step 2:</strong></span> You can load the JavaScript and CSS for prettify via one URL. Add this code just below <strong>&lt;head&gt;</strong> tag:</p>
<pre style="border:1px solid black;overflow:auto;font-size:120%;padding:15px 10px;"><strong>&lt;script src='https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js'&gt;&lt;/script&gt;</strong></pre>
<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Add-Google-Code-Prettify-Auto-Loader.png" alt="Add Google Code Prettify Auto Loader" width="1011" height="411" class="alignnone size-full wp-image-7238" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/07/Add-Google-Code-Prettify-Auto-Loader.png 1011w, https://bloggertipandtrick.net/wp-content/uploads/2025/07/Add-Google-Code-Prettify-Auto-Loader-768x312.png 768w" sizes="auto, (max-width: 1011px) 100vw, 1011px" /></p>
<p><span style="color:#009688"><strong>Step 3:</strong></span> Save your template. You have successfully added <strong>Prettify auto-loader</strong> to your Blogger blog. Above code will load the entire system and schedule the prettifier to run on page load.</p>
<p><span style="color:#009688"><strong>Step 4:</strong></span> Now when you want to display a code snippet in your blogger post, go to the Blogger post editor and select "<strong>HTML view</strong>".</p>
<p><span style="color:#009688"><strong>Step 5:</strong></span> Wrap your code snippet inside a <span style="color: #0000ff;"><strong>&lt;pre&gt;</strong></span> tag with the <span style="color: #ff00ff;"><strong>prettyprint</strong></span> class like this:</p>
<pre style="border: 1px solid black; overflow: auto;"><strong>&lt;pre class="<span style="color: #ff00ff;">prettyprint</span>"&gt;
source code here
&lt;/pre&gt;</strong></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3924" alt="Add Source Code to Post Editor HTML" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/add-source-code-to-post-editor-html.jpg" width="664" height="365" /></p>
<p>Code Example:</p>
<pre style="border: 1px solid black; overflow: auto;">&lt;pre class="prettyprint"&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
  for (var i = 42; --i &amp;gt;= 0;) {
    alert('Hello ' + String(world));
  }
}
&amp;lt;/script&amp;gt;
&amp;lt;style&amp;gt;
p { color: pink }
b { color: blue }
u { color: &amp;quot;umber&amp;quot; }
&amp;lt;/style&amp;gt;
&lt;/pre&gt;</pre>
<p><strong>Note:</strong> You must <a href='https://bloggertipandtrick.net/tools/html-encoder/' target='_blank'><strong>escape special characters</strong></a> in your code snippet before adding it to the HTML. This ensures the browser displays the code correctly instead of interpreting it as actual markup.</p>
<p><span style="color:#009688"><strong>Step 6:</strong></span> Publish/Update your post and view your post. It will look like this:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3925" alt="Google Code Prettify Default Skin" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-default-skin.jpg" width="522" height="302" /></p>
<h2>How to Add Different Code Styles</h2>
<p>Only you need to do is, replace "<span style="color:#009688"><strong>Step 2</strong></span>" code with below codes.</p>
<h3>Desert Skin:</h3>
<pre style="border: 1px solid black; overflow: auto;">&lt;script src='https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?skin=<span style="color: #ff00ff;">desert</span>'&gt;&lt;/script&gt;</pre>
<p>Result:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3926" alt="Prettify Desert Skin" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-desert-skin.jpg" width="522" height="302" /></p>
<h3>Sunburst Skin:</h3>
<pre style="border: 1px solid black; overflow: auto;">&lt;script src='https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?skin=<span style="color: #ff00ff;">sunburst</span>'&gt;&lt;/script&gt;</pre>
<p>Result:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3927" alt="Prettify Sunburst Skin" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-sunburst-skin.jpg" width="522" height="323" /></p>
<h3>Sons-Of-Obsidian Skin:</h3>
<pre style="border: 1px solid black; overflow: auto;">&lt;script src='https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?skin=<span style="color: #ff00ff;">sons-of-obsidian</span>'&gt;&lt;/script&gt;</pre>
<p>Result:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3928" alt="Prettify Sons-Of-Obsidian Skin" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-sons-of-obsidian-skin.jpg" width="522" height="298" /></p>
<h3>Doxy Skin:</h3>
<pre style="border: 1px solid black; overflow: auto;">&lt;script src='https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?skin=<span style="color: #ff00ff;">doxy</span>'&gt;&lt;/script&gt;</pre>
<p>Result:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3929" alt="Prettify Doxy Skin" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-doxy-skin.jpg" width="518" height="321" /></p>
<h2>How to Specify the Language of Your Code</h2>
<p>File extensions supported by default include: "<strong>bsh</strong>", "<strong>c</strong>", "<strong>cc</strong>", "<strong>cpp</strong>", "<strong>cs</strong>", "<strong>csh</strong>", "<strong>cyc</strong>", "<strong>cv</strong>", "<strong>htm</strong>", "<strong>html</strong>", "<strong>java</strong>", "<strong>js</strong>", "<strong>m</strong>", "<strong>mxml</strong>", "<strong>perl</strong>", "<strong>pl</strong>", "<strong>pm</strong>", "<strong>py</strong>", "<strong>rb</strong>", "<strong>sh</strong>", "<strong>xhtml</strong>", "<strong>xml</strong>", "<strong>xsl</strong>"</p>
<p>The <span style="color: #0000ff;"><strong>lang-*</strong></span> class specifies the language file extensions.</p>
<p>You can specify other languages by specifying the language extension along with the prettyprint class.</p>
<p>For example, The syntax-highlighting functions contained in lang-css.js will not be called without adding the class "<span style="color: #ff00ff;"><strong>lang-css</strong></span>" to the &lt;pre&gt; tag. So you can add your CSS codes like this:</p>
<pre style="border: 1px solid black; overflow: auto;"><strong>&lt;pre class="prettyprint <span style="color: #ff00ff;">lang-css</span>"&gt;
CSS code here
&lt;/pre&gt;</strong></pre>
<p>Example:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3932" alt="Prettify Add CSS Codes" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-add-css-codes.jpg" width="664" height="365" /></p>
<p>View the <a href="https://github.com/googlearchive/code-prettify/tree/master/src" target="_blank" rel="nofollow">complete list of Prettify language handlers</a> on GitHub.</p>
<h2>How to Display Codes with Line Numbers</h2>
<p>To display line numbers, use "<span style="color: #ff00ff;"><strong>linenums</strong></span>" class like this:</p>
<pre style="border: 1px solid black; overflow: auto;"><strong>&lt;pre class="prettyprint <span style="color: #ff00ff;">linenums</span>"&gt;
source code here
&lt;/pre&gt;</strong></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3930" alt="Prettify with Line Numbers" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-add-line-numbers.jpg" width="664" height="365" /></p>
<p>Code Example:</p>
<pre style="border: 1px solid black; overflow: auto;">&lt;pre class="prettyprint linenums"&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
  for (var i = 42; --i &amp;gt;= 0;) {
    alert('Hello ' + String(world));
  }
}
&amp;lt;/script&amp;gt;
&amp;lt;style&amp;gt;
p { color: pink }
b { color: blue }
u { color: &amp;quot;umber&amp;quot; }
&amp;lt;/style&amp;gt;
&lt;/pre&gt;</pre>
<p>Result:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3931" alt="Prettify Default Skin with Line Numbers" src="https://bloggertipandtrick.net/wp-content/uploads/2014/02/google-code-prettify-default-skin-with-line-numbers.jpg" width="515" height="300" /></p>
<p>Below code will display a CSS code with line numbers:</p>
<pre style="border: 1px solid black; overflow: auto;">&lt;pre class="<span style="color: #0000ff;">prettyprint</span> <span style="color: #ff00ff;">lang-css</span> <span style="color: #ff0000;">linenums</span>"&gt;
body{background:#000000 url(http://3.bp.blogspot.com/-vB6rbTuTh34/UEw9OyUKQJI/AAAAAAAAIoQ/A3dwg6dKC_g/s1600/background.jpg) center top no-repeat;color:#555555;font-family: Arial, Helvetica, Sans-serif;font-size: 13px;margin:0px;padding:0px;}
a:link,a:visited{color:#C11112;text-decoration:underline;outline:none;}
a:hover{color:#FE3D36;text-decoration:none;outline:none;}
a img{border-width:0}
#body-wrapper{margin:0px;padding:0px;}
&lt;/pre&gt;</pre>
<p><strong>Note:</strong> The codes above work not only on Blogger but also on other websites. Simply add the code from <span style="color:#009688"><strong>Step 2</strong></span> right after the <strong>&lt;head&gt;</strong> tag of your webpage, then use any of the provided examples to display syntax-highlighted code.</p>
<p>Google Code Prettify is still a great choice for lightweight syntax highlighting on Blogger or any other website, especially if you don't want to use third-party script builders. It works out-of-the-box, <strong>supports multiple languages</strong>, and <strong>has various themes</strong> you can apply in seconds.</p>
<p>The post <a href="https://bloggertipandtrick.net/prettify-syntax-highlighter-for-blogger-blogspot/">How to Use Prettify Syntax Highlighter With Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/prettify-syntax-highlighter-for-blogger-blogspot/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add jQuery Easy Tooltip to Blogger</title>
		<link>https://bloggertipandtrick.net/jquery-easy-tooltip-to-blogger/</link>
					<comments>https://bloggertipandtrick.net/jquery-easy-tooltip-to-blogger/#respond</comments>
		
		<dc:creator><![CDATA[Lasantha Bandara]]></dc:creator>
		<pubDate>Wed, 02 Jul 2025 16:58:00 +0000</pubDate>
				<category><![CDATA[Blogger]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jquery]]></category>
		<guid isPermaLink="false">http://bloggertipandtrick.net/2009/08/how-to-add-jquery-tooltips-effect-to-blogger-links.html</guid>

					<description><![CDATA[<p>This tutorial explains how to add tooltips to the links of your website or blog using "Easy Tooltip" jQuery plugin. A Tooltip is a hint that appears when an user hovers the pointer over an item that contains a brief text message identifying the object. Follow the steps given below to add Easy Tooltip to [&#8230;]</p>
<p>The post <a href="https://bloggertipandtrick.net/jquery-easy-tooltip-to-blogger/">How to Add jQuery Easy Tooltip to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Add-jQuery-Easy-Tooltip-to-Blogger.jpg" alt="How to Add jQuery Easy Tooltip to Blogger" width="1536" height="1024" class="singular-featured-image alignnone size-full wp-image-7212" srcset="https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Add-jQuery-Easy-Tooltip-to-Blogger.jpg 1536w, https://bloggertipandtrick.net/wp-content/uploads/2025/07/How-to-Add-jQuery-Easy-Tooltip-to-Blogger-768x512.jpg 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px" /></p>
<p>This tutorial explains how to add tooltips to the links of your website or blog using "<strong>Easy Tooltip</strong>" jQuery plugin. A Tooltip is a hint that appears when an user hovers the pointer over an item that contains a brief text message identifying the object. Follow the steps given below to add Easy Tooltip to your website.</p>
<p>1.If you are using Blogger, go to "Edit HTML" of your blog.</p>
<p>2.Add this code just before <span style="color: #ff0000;"><strong>&lt;/head&gt;</strong></span> tag:</p>
<pre style="border: 1px solid black; overflow: auto;">&lt;!-- jQuery : remove these 2 lines if jQuery already included --&gt;
&lt;script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js' type='text/javascript'&gt;&lt;/script&gt;
&lt;script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-migrate/3.4.1/jquery-migrate.min.js' type='text/javascript'&gt;&lt;/script&gt;
  
&lt;script type='text/javascript'&gt;
//&lt;![CDATA[
(function($){$.fn.easyTooltip=function(options){var defaults={xOffset:20,yOffset:45,tooltipId:&quot;easyTooltip&quot;,clickRemove:false,content:&quot;&quot;,useElement:&quot;&quot;};var options=$.extend(defaults,options);var content;this.each(function(){var title=$(this).attr(&quot;title&quot;);$(this).hover(function(e){content=(options.content!=&quot;&quot;)?options.content:title;content=(options.useElement!=&quot;&quot;)?$(&quot;#&quot;+options.useElement).html():content;$(this).attr(&quot;title&quot;,&quot;&quot;);if(content!=&quot;&quot;&amp;&amp;content!=undefined){$(&quot;body&quot;).append(&quot;&lt;div id='&quot;+options.tooltipId+&quot;'&gt;&quot;+content+&quot;&lt;/div&gt;&quot;);$(&quot;#&quot;+options.tooltipId).css(&quot;position&quot;,&quot;absolute&quot;).css(&quot;top&quot;,(e.pageY-options.yOffset)+&quot;px&quot;).css(&quot;left&quot;,(e.pageX+options.xOffset)+&quot;px&quot;).css(&quot;display&quot;,&quot;none&quot;).fadeIn(&quot;fast&quot;)}},function(){$(&quot;#&quot;+options.tooltipId).remove();$(this).attr(&quot;title&quot;,title)});$(this).mousemove(function(e){$(&quot;#&quot;+options.tooltipId).css(&quot;top&quot;,(e.pageY-options.yOffset)+&quot;px&quot;).css(&quot;left&quot;,(e.pageX+options.xOffset)+&quot;px&quot;)});if(options.clickRemove){$(this).mousedown(function(e){$(&quot;#&quot;+options.tooltipId).remove();$(this).attr(&quot;title&quot;,title)})}})}})(jQuery);
//]]&gt;
&lt;/script&gt;
&lt;!-- end tooltips --&gt;
  
&lt;script type='text/javascript'&gt;
//&lt;![CDATA[

jQuery(document).ready(function($) {
  $('a.easytooltip').easyTooltip();
});

//]]&gt;
&lt;/script&gt;

&lt;style type='text/css'&gt;
#easyTooltip{
padding:5px 10px;
border:1px solid #000;
background: #333;
color:#fff;
}
&lt;/style&gt;</pre>
<p>3.Save your template.</p>
<p>4.Now when you adding a HTML link, "<span style="color: #ff0000;"><strong>easytooltip</strong></span>" CSS class and title attribute should add like this:</p>
<pre style="border: 1px solid black; overflow: auto;">&lt;a <span style="color: #ff00ff;"><strong>class='easytooltip'</strong></span> <span style="color: #008000;"><strong>title='ENTER-LINK-TITLE-HERE'</strong></span> href='ENTER-LINK-URL-HERE'&gt;ENTER-LINK-NAME-HERE&lt;/a&gt;</pre>
<p>Look at this example:</p>
<pre style="border: 1px solid black; overflow: auto;">&lt;a <span style="color: #ff00ff;"><strong>class='easytooltip'</strong></span> <span style="color: #008000;"><strong>title='How to Create NoFollow Link List Widget in Blogger'</strong></span> href='https://bloggertipandtrick.net/nofollow-link-list-widget-blogger/'&gt;Create NoFollow Link List Widget in Blogger&lt;/a&gt;</pre>
<p>Final result will look like this:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-6449" src="https://bloggertipandtrick.net/wp-content/uploads/2017/04/jQuery-Easy-Tooltip.jpg" alt="jQuery Easy Tooltip" width="600" height="120" /></p>
<p>The post <a href="https://bloggertipandtrick.net/jquery-easy-tooltip-to-blogger/">How to Add jQuery Easy Tooltip to Blogger</a> appeared first on <a href="https://bloggertipandtrick.net">Blogger Tips And Tricks | BloggerTipandTrick.net</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bloggertipandtrick.net/jquery-easy-tooltip-to-blogger/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
