Saturday, 15 August 2015

How to Fix Missing Quick Edit Pencil in Blogger/Blogspot

Is your custom Blogger template missing its quick edit pencil at the bottom of your Blogger posts (Blogspot posts)? Don't worry. In this Blogger tutorial we discuss how to show a quick edit pencil icon beneath Blogger posts if it is missing. This is a common Blogger problem among custom Blogger templates but fortunately it only takes a couple of minutes to fix.

Fix Missing Quick Edit Pencil Blogger/Blogspot

The quick edit pencil is a nice Blogger feature that you would not want to be without. A click on this time saving Blogger icon gives you direct access to your Blogger posts without having to go through "Edit Posts"

So if the free custom Blogger template you downloaded from the internet has no quick edit pencil displaying under your Blogger posts when viewing the actual published post then it can be fixed by taking the following the steps below:
  1. Login to Blogger 
  2. Go to your Design > Page Elements 
  3. Click on the Blog Posts edit button located in the bottom right hand corner of the widget
  4. A Configure Blog Posts window will pop up displaying a number of different features that can be turned on and off on your blog posts.
  5. Make sure that Show Quick Edit is checked. Tick the box and save if Show Quick Edit is not already checked
  6. Now navigate to an actual published post and check whether the quick edit pencil is now displaying in or around the footer of your blog post. Remember that you must be logged into Blogger to see the quick edit pencil - it is not displayed to your visitors
    If the pencil is there then that is the end of this Blogger tutorial. The pencil just needed to be enabled. So thank you for joining me.

    If the Blogger quick edit pencil is still missing it means that some important code has been omitted from your Blogger template and it will need to be added to get the quick edit pencil to show up:-
  7. Go to Design > Edit HTML
  8. Back up your template
  9. Check the Expand Widget Templates box by placing a tick in it
  10. Find the following line of code by holding down the CTRL key and F at the same time:
    <b:includable id='postQuickEdit' var='post'>
  11. Check whether the following code is under it:
    <span class='post-icons'>
    <!-- email post links -->
    <b:if cond='data:post.emailPostUrl'>
    <span class='item-action'>
    <a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
    <img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
    </a>
    </span>
    </b:if>

    <!-- quickedit pencil -->
    <b:include data='post' name='postQuickEdit'/>
    </span> </div>

  12. If part or all of the code is missing copy and paste it above :
    <!-- quickedit pencil -->
    <b:include data='post' name='postQuickEdit'/>

  13. Save changes to your Blogger template.
  14. Go to an individual published post page and see your new quick edit pencil displayed under your Blogger post.
Tips And Troubleshooting:

If you want to change the Blogger quick pencil icon you can by changing the image. Simply replace the image as depicted in red with the URL address of your own image. If your image is a different size you may have to change the width and height as shown in blue for the image to display correctly.
<span class='post-icons'>
<!-- email post links -->
<b:if cond='data:post.emailPostUrl'>
<span class='item-action'>
<a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
<img alt='' class='icon-action' height='13' src='http://img1.blogblog.com/img/icon18_email.gif' width='18'/>
</a>
</span>
</b:if>
<!-- quickedit pencil -->
<b:include data='post' name='postQuickEdit'/></span> </div>
In this Blogger tutorial (Blogspot tutorial) we have shown you how to fix a missing Blogger quick edit pencil that is not showing. We have demonstrated how to enable the quick edit pencil in Blogger via Page Elements and we have provided you with the missing code in the event that the quick edit pencil code is missing from your custom Blogger template.

Please let me know if this tutorial has been useful for you by leaving your comments and opinions below.

How to Add Internal Links Within Blogger Posts ?

There are lots of times when you may want to direct a reader to a different part of your Blogger post depending on what their needs and interests are. Or you might want to alert the visitor to something significant in a related post. In this article we will show how to make use of internal links both within posts and in Blogger generally.

Why bother with internal linking you may be wondering? Well the answer is to improve SEO. Blogs with a good internal linking structure will fare better than blogs that don't link posts. Plus you will be creating an aid to navigation for your reader. On longer posts jumps links to different sections within your post or to other posts mean readers can quickly find the information they are looking for.

Also Read:
How to Create Internal Links To Sections Within the Same Blogger Posts
How to Create Internal Links To Sections Within Different Blogger Posts

Create Internal Links To Sections Within The Same Blogger Posts:

Consider the above links. Click on them. Each jump the reader to a different part of this article. This type of internal linking is common practice in website building and can be equally applied to blogs to assist with navigation.

How did we create these links? The answer is that we used simple html that anyone can learn in a few minutes. Here are the steps we used to create these links.

Step No. 1: Log in to Blogger
Step No. 2: Go to Posting > New Post or Edit Post and either create a new article or edit an existing one.
Step No. 3: Within the article find a place where you want to add some jump links. This will be early on in the article as it will help the reader figure out what information is significant to them and how to get there quickly
Step No. 4: Switch to the Edit HTML mode rather than compose mode so you can see the code you are inserting into your post
Step No. 5: Create a couple of headings that will be your links to material further down in your Blogger article. Note you can also just jump to a word but for the purposes of this demonstration and clarity we are going to use headings. When creating this post we used the following headings:
How to Create Internal Links To Sections Within the Same Blogger Post
How to Create Internal Links To Sections Within Different Blogger Posts
Step No. 6: Add links to your headings like so:
<a href="#withinposts">How to Create Internal Links To Sections Within the Same Blogger Post</a>
<a href="#withinblogger">How to Create Internal Links To Sections Within Different Blogger Posts</a>
The href attribute and closing </a> element is the same structure you use for other links in your blog
Each identifier is preceded by a hash mark (#). The #tells the visitor's browser to look for a section within your post
Each link identifier needs its own unique identifier and needs to be enclosed in inverted commas. Use a name that reflects the link you are creating if possible as it will make it easier to identify on a page with a lot of internal jump links.
Step No. 7: Now go to the first point in your post where you want to jump the reader to. This will be the start of some new idea, section or logical split in the information.
Step No. 8: At this point create your anchor text by first adding your heading and then enclosing your heading with this anchor structure.
<a name="identifier">a heading</a>
Note the use of the name attribute at the beginning and the </a> element at the end
Each link identifier needs to be enclosed in inverted commas. Make sure to match up the correct identifier with the one created in step 6
Using this anchoring structure our first anchor becomes:
<a name="withinposts">How to Create Internal Links To Sections Within the Same Blogger Post</a>
Substitute your own link identifier and headings
Step No. 9: Now move on to the next point you want to link to and create the second anchor. In this example we use the same structure but change the identifier
<a name="withinblogger">How to Create Internal Links To Sections Within Different Blogger Posts</a>
Again substitute your own link identifier and headings to suit your article
Step No. 10: Save and Publish as normal and you will see your links are live and will jump the reader to different parts of the post

Create Internal Links To Sections Within Different Blogger Posts:

Now you know how to create links to sections within Blogger posts let's look at how to create internal links within different Blogger posts.

Most of you will be able to create a link to another post in Blogger using the posts editor. You just highlight the text you want and click on the figure eight icon and Blogger creates the link for you. Which is great most of the time.

However what if we want to direct the visitor to a particular section of a different post? When you create an internal link it will take the viewer to the top of the page but what if you want them to see something near the end of the article? Well using an internal link similar to what we did to create internal links within the post we can.

Say we want to take my reader to a particular post in this case Blogger Sitemap. How would we go about it?
Step No. 1: We create the link as usual by copying the article URL address from the browser address bar and using the post editor to add the link. The Blogger post editor uses this structure:
<a href="URLaddress">linkname</a>
So the Blogger editor would create the following link:
<a href="http://addictofblogging.blogspot.com/2015/08/how-to-create-sitemap-table-of-contents-in-blogger.html">Blogger Sitemap</a>
The link would appear like this in a browser:

Blogger Sitemap 

Step No. 2: Now we want to direct my visitors to the section about creating breadcrumb navigation so we add a section name using the following structure:
<a href="URLaddress#identifier">linkname</a>
Thus my link would look like this in the Edit HTML section of my post editor
<a href="http://addictofblogging.blogspot.com/2015/08/how-to-create-sitemap-table-of-contents-in-blogger.html#breadcrumb">Blogger Sitemap</a>
Note the link seen in a browser remains the same
Step No. 3: If you want your link to open in a new browser window add the following to your link:
<a href="http://addictofblogging.blogspot.com/2015/08/how-to-create-sitemap-table-of-contents-in-blogger.html#breadcrumb"target="_blank">Blogger Sitemap</a>
Step No. 4: Now we need to go to the post we am linking to and add the anchor. So in the post Blogger Sitemap we would use the following structure to link to the section about how to add breadcrumbs:
<a name="identifier">a heading</a>
So the section about breadcrumbs in the Blogger Blogger Sitemap article is now enclosed by the following:
<a name="breadcrumb">Add Breadcrumb Navigation to your Blogger Blog</a>
If you now click on the link below you will see that your browser open a new window and take you directly to the section about adding a breadcrumb to your blog.

Step No. 5: Save your changes and publish your article as normal.

In this Blogger tutorial you have learned how to add internal links to a particular section of a post from both within the same Blogger post and within a different post. By adding internal links you will help your visitors to find their away your blog more easily and access information quickly. You will also be adding to your blog's SEO by linking related posts.

Enjoy !

Friday, 14 August 2015

How to Create a Border Around a Post in Blogger


Your Blogger account gives you tools to style your posts, but you can take this a step further by creating a border around your content. A border provides an outline that spans the length of your post, adding a nice touch. Your border can be any size, style or color you wish so it stands out, ensuring your customers won't miss important announcements. Blogger gives you direct access to your post's HTML code. Edit this code to create an eye-catching border around your blog post.

Also Read: How to Add Border around Post Images on Blogger/Blogspot

Create A Border Around A Post In Blogger:

Step 1: Navigate to the Blogger website and sign in to your account.
Step 2: Click the blog post that you want to edit or click the "Create New Post" button.
Step 3: Click the "HTML" button on the top left corner of the screen.
Step 4: Enter the code <div style="border: 1px solid black; padding: 10px;">as the opening tag for the post around which you want to create the border.
Step 5: Substitute the number after the "border" property with the value of the width you want your border to be.
Step 6: Substitute the "solid" value with dashed, groove, ridge, inset, double or outset depending on what type of border you want around your post.
Step 7: Substitute the "black" with the color that you want your border to be. Values can be either the name of the color such as red, blue, green, yellow or the hex color code, such as #C92020.
Step 8: Substitute the number after the "padding" property with the value of the distance you want your post content to be from the border line.
Step 9: Enter the </div> tag to close the code section. For example to create a dashed, yellow border that is 5px in width and has a padding of 10px, the code would be as follows:<div style="border: 5px dashed yellow; padding: 10px;"> </div>
Step 10: Click the "Compose" button at the top of the page to view your borders. You can now add your content inside the new borders if it is a new post.
Step 11: Click the "Preview" button to see a preview of how your post with the border around it will appear when published.
Step 12: Click the "Publish" button if you are satisfied with the results and want to publish it to Blogger.

How to make an automatic Carousel slider based on labels?

Welcome to all, we will discuss how to create automatic Carousel slider based on your labels in blogger. All you have to do is only replace with your own label and the slider will work based on the label that you add in Edit HTML template. This widget "carousel slider" we made is very simple and we only used jCarousellite script without adding easing effects or mousewheel.

Step-1. You must login to blogger with your account.
Step-2. After that select the blog that you want to add slider.
Step-3. Go to the template >> Edit HTML and check the expand widget templates, don't forget to backup your template first.
Step-4. And then place this following codes above ]]></b:skin>:
#carousel{width:950px;height:185px;margin-bottom:0px;position:relative;display:block}
#carousel .container{position:absolute;left:49px;width:895px;height:185px;overflow:hidden;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpTGA4AlHNe7wyjxS6DnuUDj0L9citFop5a_b_Br_T80n_cnubC79896GzCq3Z50q0w3gfO4LdXcLSEg94y6Wd6fBKgL9IXG6ydz6QygbpOj7FecTF63t_6COOxdbGKCDn5n1-Sd-s1os/s1600/scroller-bg.png) repeat center}
#carousel #previous_button{position:absolute;width:49px;height:185px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjsXrcGXeVsHV6ZljFsh4jl3TBm5B5sXdoGCS7ynRA5q19E5GydoKEbbOI3pfN-6w9UmJrDGoY_lXc93fOU6AIZFGrBwKZxeVZdmlJBh9qD1kxlnP2KroXyejeFo2L_S6ueiIa7yBUCEs/s1600/prev.png) center;z-index:100;cursor:pointer;border-right:1px solid #ccc}
#carousel #previous_button:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdFe2e8PU8JBd7X_ksc3yhnowkYAsw_HaG5TCZ6-uFR71dhsR8A3G4RpFza-n9enBNrwejcTGdswJ0cr1RfSc_g3t8GrFcElfjzyw2dEiSJX3n6ManGJKdNYu1kXBS5X9kxnNa1OFYEPc/s1600/prev.png) center}
#carousel #next_button{position:absolute;right:0;width:49px;height:185px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpWUmBNuDI7a2hgNLt9YC6d9tgK_HzCNmh5YWVUQTzz7XRiXmTow9_pIDYeZV0KTEeuc6u3t4x3j_yjbKw1Yt8K4zXMyxJwVOodfATEVSdxrvgP-bTFXhrW3n-58edH0UcL8ntY8KB-DA/s1600/next.png) center;z-index:100;cursor:pointer;border-left:1px solid #ccc}
#carousel #next_button:hover{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqHkOgjLJ-olo-7ytey4cvVJQ0YJMcvyuio1XPt0Nfh2kd5B9kqhDgT6nDeYx77ezOPFtRrJoA-7YMQNiyNWR4J2ndIXVRP6zJ4lxbv7jKfbW9gfY6KKH9NpLFbPx7hvxaxR08t9b3Cbc/s1600/next.png) center}
#carousel ul{width:100000px;position:relative;margin-top:10px}
#carousel ul li{background:#fff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2VdPNlP1d-vZ3r1CBhOyQFy5ldVXtEg1bTE0WPFfSMcP-4NA2j7lTuw4Ff7QBYLQiAC8a5qnRwm2FMmlTQeZeWjUQQ8EYXOqzz51jwRQdB-C9jspueikow6x8wJ51kJRE3cMhGnNNjL4/s1600/main.png) repeat-x top;display:inline;float:left;text-align:center;font-weight:700;font-size:.9em;line-height:1.2em;border:1px solid #ccc;width:145px;height:150px;margin:0 4px 20px 7px;padding:6px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
#carousel ul li:hover{filter:alpha(opacity=75);opacity:.75;}
#carousel ul li a.slider_title{color:#222;display:block;margin-top:5px}
#carousel ul li a.slider_title:hover{color:#cd1713}
#carousel a img{display:block;background:#fff;margin-top:0}
Look at some codes with the red color above, that's the width and height of the slider in the demo that we made, change with your own size depend on your template width.

Step-5. Still in Edit HTML, add this following code above </head> :
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
<script src='https://masolis-javascript.googlecode.com/svn/trunk/carousellite.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK98kOT7EEOPhbfNqf92ZXpV1FAoa9ZcwkCCpmT_1l2U7TDAq8oN_ROyAI6HFXAhIhDPi5xgpSY4PuG_J9byhsKfndGtkrHwMbCrpvqw6yxXTgivyRO8pckjjJNRNY9XOWPR2qL4Yebyg/s1600/no+image.jpg";
showRandomImg = true;
aBold = true;
summaryPost = 140;
summaryTitle = 25;
numposts1 = 15;
label1 = "news";
function removeHtmlTag(strx,chop){
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
s = s.join("");
s = s.substring(0,chop-1);
return s;
}
function showrecentposts(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0;
img = new Array();
document.write('<ul>');
for (var i = 0; i < numposts1; i++) {
var entry = json.feed.entry[i];
var posttitle = entry.title.$t;
var pcm;
var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
posturl = entry.link[k].href;
break;
}
}
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {
pcm = entry.link[k].title.split(" ")[0];
break;
}
}
if ("content" in entry) {
var postcontent = entry.content.$t;}
else
if ("summary" in entry) {
var postcontent = entry.summary.$t;}
else var postcontent = "";
postdate = entry.published.$t;
if(j>imgr.length-1) j=0;
img[i] = imgr[j];
s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
//cmtext = (text != 'no') ? '<i><font color="'+acolor+'">('+pcm+' '+text+')</font></i>' : '';
var month = [1,2,3,4,5,6,7,8,9,10,11,12];
var month2 = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
var day = postdate.split("-")[2].substring(0,2);
var m = postdate.split("-")[1];
var y = postdate.split("-")[0];
for(var u2=0;u2<month.length;u2++){
if(parseInt(m)==month[u2]) {
m = month2[u2] ; break;
}
}
var daystr = day+ ' ' + m + ' ' + y ;
var trtd = '<li class="car"><div class="thumb"><a href="'+posturl+'"><img width="145" height="100" class="alignnone" src="'+img[i]+'"/></a></div><p><a class="slider_title" href="'+posturl+'">'+posttitle+'</a></p></li>';

document.write(trtd);
j++;
}
document.write('</ul>');
}
//]]>
</script>
Notes: See the red URL script above, that's the latest series jQuery.min.js script code that we use to made this slider. And if you've found jQuery.min.js although with the different series in your template, no longer need to insert the red codes. There must be only one jQuery.min.js in your template, it is up to the serial number, if possible the latest version.
Blue code (15) : amount of your post that display in the slider. news was a label that I choose to show up in slider.

Step-6. Next step you must call the slider to appear in your blog. Place this following code above <div id='main-wrapper'>:
<b:if cond='data:blog.pageType != &quot;item&quot;'>
<div id='carousel'>
<div id='previous_button'/>
<div class='container'>
<script>
document.write(&quot;&lt;script src=\&quot;/feeds/posts/default/-/&quot;+label1+&quot;?max-results=&quot;+numposts1+&quot;&amp;orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts\&quot;&gt;&lt;\/script&gt;&quot;);
</script>
<div class='clear'/>
</div>
<div id='next_button'/>
</div>
<script type='text/javascript'>
(function($) { $(document).ready(function(){
$(&quot;#carousel .container&quot;).jCarouselLite({
auto:4000,
scroll: 1,
speed: 800,
visible: 5,
start: 0,
circular: true,
btnPrev: &quot;#previous_button&quot;,
btnNext: &quot;#next_button&quot;
});
})})(jQuery)
</script>
</b:if>
You can also put the following codes in the bottom of your navigation menu or you can also placed in your footer side, that's depend on your needs.

Step-7. The final step, 'Save templates' and see the results.

Subscribe Us or like us on Facebook if this tutorial really helped you. Don't miss to apply this automatic Carousel Slider in your blogger template. If you have any queries, just drop the comment in comment section. Enjoy!

How to Remove “Powered By Blogger” Attribution Widget ?

Today we can give you the easiest method that “How to Remove Powered By Blogger Attribution Widget from Blogger/Blogspot ?”. This is not a Difficult Stuff that How to Remove Powered by Blogger Attribution widget from Blogspot. We have seen many bloggers who were tired of/irritated from this because it is seen on the Blogger label that cause blog not Looking Professional. That is why they want to Remove it. One More thing to remember, In Blogger Layout the “remove” option is disable by default in all blogger templates. But now in Templates you can Remove this Widget by your Self. Lets do some practice guys:

Remove "Powered By Blogger" Attribution Widget ?

Step-1. Firstly Open you Blogger Account and Choose that Blog you want to Remove the Attribute Widget.

Step-2. Now Go to Template >> HTML In this Section you see “Jump to Widget” Option Click on it and Choose “Attribution1″ Widget and it will automatically Point to that Line.

Step-3. Now Press CTRL+F and Search for this Below Line.<b:widget id=’Attribution1′ locked=’true’ title=” type=’Attribution’>

Step-4. Now, Time to remove This. Just Replace ‘true’ with ‘false’ Like we Demonstrate in Above Screenshot.

Step-5. After this Your Code looks Like : <b:widget id=’Attribution1′ locked=’false’ title=” type=’Attribution’>.

Step-6. Save Your Template and Go To Blogger Dashboard >> Layout.

Step-7. See the Attribute Widget in Layout and Click Edit and Now Remove Option will Appear in Attribute Widget. Simply Click On Remove Button and remove Your “Powered By Blogger” Attribution Widget.

Now Click on View and Preview your Blog. Now you notice that “Powered by Blogger” Attribution is Removed. It is mainly set by Blogger in Default and in Disable Remove Permission for this Widget.

If this Article is Helpful for you, Please subscribe and share you Experience Below in Comments.