How To

How To Add Stylish Breadcrumbs Navigation In Blogger

Breadcrumbs or breadcrumb is a navigation used in user interface, typically it appear horizontally across the top of a web page , after navigation, usually below title bars or headers in blog area. You can also find example of breadcrumbs in my blog after navigation. See a screenshot to know what actually are a breadcrumbs.

How To Add Stylish Breadcrumbs Navigation In Blogger

I suggest every Bloggers who are using Blogspot Platform to add breadcrumbs. This help people to easily know about your post and also it helps you in SEO purpose.

Typical breadcrumbs look like this:

Home page > Section page > Subsection page or Home page >> Section page >> Subsection page.

After backing up blogger template Follow below given simple steps on How To Add Stylish Breadcrumbs Navigation In Blogger

Steps to Add Breadcrumbs in Blogger

  • Login to Blogger Dashboard > Design > Edit Html
  • Find Below code

<b:include data='top' name='status-message'/>

and replace it wit this code:

<b:include data=’top’ name=’status-message’/>

<b:include data='posts' name='breadcrumb'/>

#Step 3. Now Find this code:

<b:includable id='main' var='top'>e

 

  • and replace it with below code
<b:includable id='breadcrumb' var='posts'>
<b:if cond='data:blog.homepageUrl == data:blog.url'>
<!-- No breadcrumb on home page -->
<b:else/>
<b:if cond='data:blog.pageType == "item"'>
<!-- breadcrumb for the post page -->
<p class='breadcrumbs'>
<span class='post-labels'>
<a expr:href='data:blog.homepageUrl' rel='tag'>Home</a>
<b:loop values='data:posts' var='post'>
<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'> »
<a expr:href='data:label.url' rel='tag'><data:label.name/></a>
</b:if>
</b:loop>
<b:else/>
» Unlabelled
</b:if>
» <span><data:post.title/></span>
</b:loop>
</span>
</p>
<b:else/>
<b:if cond='data:blog.pageType == "archive"'>
<!-- breadcrumb for the label archive page and search pages.. -->
<p class='breadcrumbs'>
<span class='post-labels'>
<a expr:href='data:blog.homepageUrl'>Home</a> » Archives for <data:blog.pageName/>
</span>
</p>
<b:else/>
<b:if cond='data:blog.pageType == "index"'>
<p class='breadcrumbs'>
<span class='post-labels'>
<b:if cond='data:blog.pageName == ""'>
<a expr:href='data:blog.homepageUrl'>Home</a> » All posts
<b:else/>
<a expr:href='data:blog.homepageUrl'>Home</a> » Posts filed under <data:blog.pageName/>
</b:if>
</span>
</p>
</b:if>
</b:if>
</b:if>
</b:if>
</b:includable>
<b:includable id='main' var='top'>

Making It Cool with CSS

To add cool effect to Breadcrumbs follow below steps.

  • Find this code
]]></b:skin>

and replace it with

/* Breadcrumbs Css info @ https://allbloggingtips.com */
.breadcrumbs {
padding:5px 5px 5px 0px;
margin: 0px 0px 15px 0px;
font-size:95%;
line-height: 1.4em;
border-bottom:2px solid #e6e4e3;}
]]></b:skin>
To add Hover Effect
  • Insert below code after adding code in above step
.breadcrumbs :hover{
border-bottom:2px dashed #e6e4e3;
background:#f1f1f1;
}
If you are using multiple labels for one post then this breadcrumbs will show only the last label you have added, so put label at end in Labels for this post: section for which you want to show in your breadcrumb.

That’s All. If you are using WordPress Theme than i will publish a article on How to Add Breadcrumbs in WordPress themes. Till keep visiting. Got any problem feel free to comment!

Add Post Views Counter In WordPress Posts Without Plugin

Add Post Views Counter In WordPress Posts Without PluginDid you ever want to know how many times a particular post has been viewed? I will show you How To Add Post Views Counter In WordPress Posts Without Plugin. This is very useful to track post views this will help you in future to write more interesting, quality content articles which can attract more visitors. Just add the following snippets to your template files and you are ready to go for Post Views Counter In WordPress!

I am not responsible if you done any mistake. So Check this video to Adding Code Though File Manager

 

Step 1: Adding Post Views Counter Code in Functions.PHP
  • Go to Appearance > EditorHow to Edit Functions.PHP
  • Under Editor section Select Functions.php in the list of php files on the right of your screen (or just see image below)
  • Paste Below code in functions.php
// Display or Count how many times a post has been viewed. // id = the post id and action = display or count function arixWp_PostViews( $id, $action ) { $axCountMeta = 'ax_post_views'; // Your Custom field that stores the views $axCount = get_post_meta($id, $axCountMeta, true); if ( $axCount == '' ) { if ( $action == 'count' ) { $axCount = 0; } delete_post_meta( $id, $axCountMeta ); add_post_meta( $id, $axCountMeta, 0 ); if ( $action == 'display' ) { echo "0 Views"; } } else { if ( $action == 'count' ) { $axCount++; update_post_meta( $id, $axCountMeta, $axCount ); } else { echo $axCount . ' Views'; } } }
  • After adding above code Click Update File
Step 2: Showing Posts Views Counter in WordPress Posts
  •  Select Single.PHP from right of your screen (See image below)

Single.PHP Screenshot

  • Now Paste below code just after High Lighted Section in above image.
 
    <?php echo arixWp_PostViews( get_the_ID(), 'count' ); ?>

To display the count outside the loop use this:

  <?php echo arixWp_PostViews( get_the_ID(), 'display' ); ?>

If you want them to show in the loop use this instead.

 <?php echo arixWp_PostViews( $post->ID, 'display' ); ?>
  • Finally Click on Update File and You had done.

Check your blog post to check whether counter is working or not!. Feel Free to Ask any question about this Post Views Counter In WordPress

<credit>

Use Facebook Smileys and Emotions On Facebook Chat

There’s a stack of guides all over the net listing all the smileys you can send in Facebook and many forum posts discussing the formatting options. We’re yet to find one good one that lumps it all into one page, with the latest facebook smileys codes, in a nice easy to read format, so we’ve decided to oblige. If you know of any facebook smileys or emotions we are missing, let us know!

Al Facebook Chat Emotions and Smiyles

Use Facebook Smileys and Emotions : Complete List !

Here is the list of all Facebook Smileys Emoticons and their shortcuts:

 

 
EmoticonsShortcut KeyDescription
like thump up facebook chat emoticons(y) (Y)Like / Thumb Up Facebook Chat Emoticons NEW!!
42 red facebook chat emoticon:42:42 Red Number FaceBook Chat Emoticon
facebook chat emoticon angelO:) O:-)Angel FaceBook Chat Emoticon
facebook chat emoticon confusedo.O O.oConfused FaceBook Chat Emoticon
facebook chat emoticon cry:'(Cry / Tears Eye FaceBook Chat Emoticon
facebook chat emoticon curly lips:3Curly Lips Facebook Emoticon / cute / cat-like
facebook chat emoticon devil3:) 3:-)Devil / Satan / Vampire FaceBook Chat Emoticon
facebook chat emoticon frown:-( :( :[ =(Frown / Sad FaceBook Chat Emoticon
Facebook Chat Emoticon Gasp:-O :O :-o :oGasp / Surprise FaceBook Chat Emoticon
facebook chat emoticon glasses8-) 8) B-) B)Glasses / Blue Glasses FaceBook Chat Emoticon
facebook chat emoticon grin:-D :D =DGrin Facebook Chat Emoticon (Big Smile)
facebook chat emoticon grumpy>:( >:-(Grumpy FaceBook Chat Emoticon
facebook chat emoticon heart<3Heart / Love FaceBook Chat Emoticon
facebook chat emoticon kiki^_^Kiki FaceBook Chat Emoticon
facebook chat emoticon kiss:-* :*Kiss Facebook Chat Emoticon
facebook chat emoticon pacman:vPacman Facebook Chat Emoticon
facebook chat emoticon penguin<(")Penguin Facebook Chat Emoticon
facebook chat emoticon chris putnam:putnam:Putnam (Chris Putnam) Facebook Chat Emoticon
facebook chat emoticon robot:|]Robot Facebook Chat Emoticon
facebook chat emoticon shark(^^^)Shark FaceBook Chat Emoticon
facebook chat emoticon smile:-) :) :] =)Smile Facebook Chat Emoticon
facebook chat emoticon squint-_-Squint FaceBook Chat Emoticon
facebook chat emoticon sun glasses8-| 8| B-| B|Sun / Black Glasses FaceBook Chat Emoticon
facebook chat emoticon tongue:-P :P :-p :p =PTongue FaceBook Chat Emoticon
facebook chat emoticon unsure:/ :-/ : :-Unsure Facebook Chat Emoticon
facebook chat emoticon upset>:O >:-O >:o >:-oUpset FaceBook Chat Emoticon
facebook chat emoticon wink;-) ;)Wink FaceBook Chat Emoticon

 
Facebook smileys and emoticons can add a hint of personality to the message you’re sending and maybe even some humor. If you happen to be at a loss for words, insert an emoticon. There are different variations the emoticons can be used for but they all generally follow the same rules. IF i miss any emotion in this tutorial Use Facebook Smileys and Emotions On Facebook Chat : Complete List !