Articles by "Blogger"

Showing posts with label Blogger. Show all posts

How to add an Estimate Post Reading Timer Plugin in Blogspot Blog - Today Priosoft will share a new widget that is quite interesting. With the help of this plugin, your readers can easily know about your article reading time (e.g How much time it will take to read this article).
Now, before you set up this timer plugin on your blog, make sure to take a look of this widget by clicking on the below demo button. (Just look at the "Title" of this article.)
For those who want to try this plugin on your own blog, simply follow the below simple steps.
  • Sign in to Blogger account and go to Blogger dashboard.
  • Click the arrow adjacent to 'Go to post list' icon and select 'Template' from the drop down menu. Alternately you can click 'Template' from left navigation menu if you're already within your blog.
  • Click Edit HTML.
  • Skip this step if jQuery library already installed in your blog. Otherwise Search for (Ctrl+F) </head> and paste (Ctrl+V) the following code before </head>
  • <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"></script>
  • Search for (Ctrl+F) </b:skin>, copy (Ctrl+C) the following code and paste it (Ctrl+V) before </b:skin>
  • Apply the below code just before ]]></b:skin>.
  • span.right {float:center;display:inline-block;padding:10px 5px;}
    .read-time{padding:5px;width:100%;background:#ebebeb;margin-bottom:10px;font-family: "Avant Garde",Avantgarde,"Century Gothic",CenturyGothic,AppleGothic,sans-serif;font-weight:700;font-size:12px;}
    
  • Copy the below JavaScript code and paste it just before </body>
  •  <script type='text/javascript'>//<![CDATA[
    !function(e){e.fn.readingTime=function(n){var t={readingTimeTarget:".eta",wordCountTarget:null,wordsPerMinute:270,round:!0,lang:"en",lessThanAMinuteString:"",prependTimeString:"",prependWordString:"",remotePath:null,remoteTarget:null,success:function(){},error:function(){}},i=this,r=e(this);i.settings=e.extend({},t,n);var a=i.settings;if(!this.length)return a.error.call(this),this;if("it"==a.lang)var s=a.lessThanAMinuteString||"Meno di un minuto",l="min";else if("fr"==a.lang)var s=a.lessThanAMinuteString||"Moins d'une minute",l="min";else if("de"==a.lang)var s=a.lessThanAMinuteString||"Weniger als eine Minute",l="min";else if("es"==a.lang)var s=a.lessThanAMinuteString||"Menos de un minuto",l="min";else if("nl"==a.lang)var s=a.lessThanAMinuteString||"Minder dan een minuut",l="min";else if("sk"==a.lang)var s=a.lessThanAMinuteString||"Menej než minútu",l="min";else if("cz"==a.lang)var s=a.lessThanAMinuteString||"Méně než minutu",l="min";else if("hu"==a.lang)var s=a.lessThanAMinuteString||"Kevesebb mint egy perc",l="perc";else var s=a.lessThanAMinuteString||"Less than a minute",l="min";var u=function(n){if(""!==n){var t=n.trim().split(/\s+/g).length,i=a.wordsPerMinute/60,r=t/i;if(a.round===!0)var u=Math.round(r/60);else var u=Math.floor(r/60);var g=Math.round(r-60*u);if(a.round===!0)u>0?e(a.readingTimeTarget).text(a.prependTimeString+u+" "+l):e(a.readingTimeTarget).text(a.prependTimeString+s);else{var o=u+":"+g;e(a.readingTimeTarget).text(a.prependTimeString+o)}""!==a.wordCountTarget&&void 0!==a.wordCountTarget&&e(a.wordCountTarget).text(a.prependWordString+t),a.success.call(this)}else a.error.call(this,"The element is empty.")};r.each(function(){null!=a.remotePath&&null!=a.remoteTarget?e.get(a.remotePath,function(n){u(e("<div>").html(n).find(a.remoteTarget).text())}):u(r.text())})}}(jQuery);
    //]]>
    </script>
  • Now apply the below code anywhere you want to show this widget.
  •  <div class='read-time'>
    <span class='right'><i class='fa fa-clock-o'/> Estimated Post Reading Time <span class='eta'/></span></div>
    
Any type of information please Contact us.

Conditional tags provide us better control over our templates, allowing us to specify what part of our template appears only under certain conditions.
You may wish to hide a widget or element on one page and display it on the other, need to remove the sidebar on certain pages, or even display buttons on select pages. This is exactly where conditional tags come into play. There are a number of tags available for blogger which, if applied correctly, will help you modify elements of your template

Blogger Conditional Tags

In this tutorial, i will share or update all blogger conditional tags and how to use them properly in your template.

1. Conditional Tag Use

First you need to know how to use them. See below example:
 <b:if cond='ADD_CONDITION_HERE'>
ADD CONTENT HERE
</b:if>

The conditional tags syntax start with <b:if> tags and a cond attributes. Condition need to write as the value of cond attribute. Every opening   <b:if> tag need to be closed with a closing </b:if> tag.

All Blogger Conditional Tags List

Below i have listed all blogger conditional tags. Recently blogger released new condition tags for specific label, i also added this.
  1. Homepage
     <b:if cond='data:blog.url == data:blog.homepageUrl'>
    ADD CONTENT HERE
    </b:if>

  2. Blog Post/Article Page
     <b:if cond='data:blog.pageType == "item"'>
    ADD CONTENT HERE
    </b:if>

  3. Index Page Index pages include homepage, label page, search page and yearly archive page
    .
     <b:if cond='data:blog.pageType == "index"'>
    ADD CONTENT HERE
    </b:if>

  4. Static Pages Static page means blogger page which we created by blogger page section.
     <b:if cond='data:blog.pageType == "static_page"'>
    ADD CONTENT HERE
    </b:if>

  5. Post and Static Pages
     <b:if cond='data:blog.url == data:post.url'>
    ADD CONTENT HERE
    </b:if>

  6. Label and Search Pages
     <b:if cond='data:blog.searchLabel'>
    ADD CONTENT HERE
    </b:if>

  7. Specific Label Change PUT_LABEL_NAME_HERE with your label name. Label name is case sensitive.
     <b:if cond='data:post.labels any (l => l.name == "PUT_LABEL_NAME_HERE")'>
    ADD CONTENT HERE
    </b:if>

  8. Archive Pages
     <b:if cond='data:blog.pageType == "archive"'>
    ADD CONTENT HERE
    </b:if>

  9. Specific page/URL
    Change PUT_URL_HERE with any page/post/label etc url
     <b:if cond='data:blog.url == "PUT_URL_HERE"'>
    ADD CONTENT HERE
    </b:if>

  10. 404 Error Page
     <b:if cond='data:blog.pageType == "error_page"'>
    ADD CONTENT HERE
    </b:if>

  11. First Post This is not for a page type. It's used for targeting the posts on multi-post pages like (index,archive,label,search query).
     <b:if cond='data:post.isFirstPost'>
    ADD CONTENT HERE
    </b:if>

Applying Conditional Tags

To apply a conditional tag to a content, you need to put your content between the opening <b:if cond..> and closing </b:if>. Example see below
<b:if cond='data:blog.pageType == "item"'> 
CONTENT (TO BE EXECUTED IF CONDITION IS TRUE)
</b:if>
The above example means that the content will appear only on post pages.

Applying Multiple Conditional Tags

By putting <b:else/> tag, you can add multiple condition. It means that if first condition not work then execute second condition to all of pages. See example below
 <b:if cond='data:blog.pageType == "item"'>
Content-1 EXECUTE IF TRUE
<b:else/>
Content-2 EXECUTE IF FALSE
</b:if>
Above example means that execute content-1 in post page. If it's not post page then execute content-2.

Applying Reverse Conditional Tags

If you want to reverse a conditional tag, you can do it by changing comparison operator from == (is equal to) to != (is not equal to).
 <b:if cond='data:blog.pageType != "item"'> 
CONTENT (TO BE EXECUTED IF CONDITION IS TRUE)
</b:if>

In the example above, the content will appear all of pages except post page. Remember that you can not apply this method to Label-Search and First Post conditionals.

[info title="Remember" icon="info-circle"]You can place all of conditional anywhere inside the template HTML. It will not work on blogger Layout like (Add a Gadget>HTML/Javascript)[/info]
That's it. I think that it will help you to customize your template as your wish. Happy Comment!

There are some specific situations when you want to redirect particular website to be opened through HTTP instead of HTTPS. Today i share will share a code which redirect HTTPS to HTTP.To do so you can add the following directives in your website's .
  1. Login to your Blogger account, go to Blogger dashboard, click the arrow adjacent to 'Go to post list icon' and select 'Template' from dropdown menu. You can also select the 'Template' from left navigation menu.
  2. Click 'Edit HTML'.
  3. Search for (Ctrl+F) </b:body> and paste (Ctrl+V) the following code before </b:body>
<script>
var loc = window.location.href+'';
if undefinedloc.indexOfundefined'https://')==0){
    window.location.href = loc.replaceundefined'https://','http://');
}
</script>

Any type of information please Contact us.

We know that after publishing a content Google index it and crawl in search engine. But sometime your blog content become duplicate without any noticeable reason. Suppose you have post a content and same post in blog archive creating 2 same content which may penalize by Google. Though you are creating genuinecontent but due to another copy in blog archive your post become duplicate. In this case Google apply some penalty for blogs such as, downgrade the page rank or banned by search engine.



 So we can prevent this problem by applying a simple piece of code. For this reason you have to set a code that Google Search Engine index your achieve pages.
  1. Login to your Blogger account, go to Blogger dashboard, click the arrow adjacent to 'Go to post list icon' and select 'Template' from dropdown menu. You can also select the 'Template' from left navigation menu.
  2. Click 'Edit HTML'.
  3. Search for (Ctrl+F) <Head> and paste (Ctrl+V) the following code before </Head>.
  4. <b:if cond='data:blog.pageType == &quot;archive&quot;'>
    <meta content='noindex,noarchive' name='robots'/>
    </b:if>
  5. Now the archive pages will not index by search engines.Avoiding duplicate content in the search results.

Any type of information please Contact us.

Today i am Share PopUp Video Youtube Widget For blogger.It really awesome widget.you can add this any post in blogger.now follow my instruction.

PopUp Video Youtube Widget For blogger
[accordion] [item icon="diamond" title="DEMO"]
[/item] [/accordion]

 How Install Popup video widget :

  1. Step  Log in to your Blogger Account and Go to your Blogger Dashboard
  2. Step  Click on -> Template -> Edit HTML->
  3. Step  Now Find the ]]></b:skin> By Pressing Ctrl+F (Windows) or CMD+F (Mac)
  4. Step  Copy and Paste the below any Style Which you want , above ]]></b:skin>

  5.  /* Css by 4tipsbd */
    a.popup-link { padding:17px 0; text-align:center; margin:7% auto; position:relative; width:220px; color:#fff; text-decoration:none; background-color:#FFBA00; border-radius:3px; box-shadow:0 5px 0 0 #eea900; display:block; }
    a.popup-link:hover { background-color:#ff9900; box-shadow:0 3px 0 0 #eea900; -webkit-transition:all 1s; -moz-transition:all 1s; transition:all 1s; }
    #popup { position:fixed;visibility:hidden; opacity:0; margin-top:-300px; }
    #popup:target { visibility:visible; opacity:1; background-color:rgba(255,255,255,0.7); position:fixed; top:0; left:0; right:0; bottom:0; margin:0; z-index:99999999999; -webkit-transition:all 1s; -moz-transition:all 1s; transition:all 1s; }
    @media (min-width:768px) { .popup-container { width:600px; } }
    @media (max-width:767px) { .popup-container { width:100%; } }
    .popup-container { position:relative; margin:7% auto; padding:30px 50px; background-color:#333; color:#fff; border-radius:3px; }
    a.popup-close { position:absolute; top:3px; right:3px; background-color:#fff; padding:7px 10px; font-size:20px; text-decoration:none; line-height:1; color:#333; }
    

  6. Click on Save template to apply the CSS code to your blog.
  7. After adding the CSS code to your blog’s template, all you need to do next is add the below line of code where ever you want to add the code while composing a post.

  8.  <div id="closed"></div>
    <a href="#popup" class="popup-link">DEMO VIDEO</a>
    <div class="popup-wrapper" id="popup">
    <div class="popup-container">
    <center>
    <embed allowfullscreen="true" height="375" src="https://www.youtube.com/v/UOvvTehcAV0?fs=1&amp;amp" type="application/x-shockwave-flash" width="580"></embed>
    <a class="widgetku" href="http://4tipsbd.blogspot.com/" id="widgetku" target="blank">Prio-Soft™</a>
    </center>
    <a class="popup-close" href="#closed">X</a>
    </div>
    </div>
    
[info title="Customization:" icon="info-circle"] Change video url (red blue) OR replaced only ID Video Youtube (in blue) [/info]

Any type of information please Contact us.
switcher
Layout
Boxed Full
Boxed Background Image
Main Color
#007ABE

Shawon Khan

{picture#https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-a3-41YjYcJBZ5a8ARnrIkWEipCX5qC85U1TNiYgbjJtaIFGfVP5tGH2AqJOpDQCpktO4gvGceSGs2mFo8oDGHnw5RQIbSesYA7jEiCfHO8zoYhk3FNcKaXDjxIcSGKc6qL6_HvsmXiri/s50/avatku.jpg} Nor is it at all prudent for the hunter to be over curious touching the precise nature of the whale spout. {facebook#http://facebook.com} {twitter#http://twitter.com} {google#http://google.com} {pinterest#http://pinterest.com} {youtube#http://youtube.com}

Contact Form

Name

Email *

Message *

Powered by Blogger.