Skip to main content

Show Html And Forum 'BB' Code Of Your Post Url In Blogger

blogger bbcode
So, I've bumped into many websites having this feature, I liked and added it to my blog then thought iI could share it here for those who wish to have such feature as well.
Sometimes, when readers find a blog post interesting, sharing in different social media site may just be their next step. Sharing posts directly to most forums and in other medium may not be friendly because sharing widgets did not include these platforms thus readers may give up in sharing posts to such platforms which would definitely boost your readership. Sharing widgets generally include Facebook, Twitter, Pinterest, Reddit etc. But there are many social media sites that can be use in sharing contents as well.

So the best way to allow sharing to such social platforms is by displaying raw URL directly at the end of a blog post. this widget you are about to utilize is simple yet effective. After adding this eidget to your blog, it will display the post URL at the end of your Blog post.

This widget displays 3 set of URLs which are listed below;
blogger share
Post URL– This is suitable for sharing content on various social platforms.
HTML URL– Your URL displays in HTML formant and can be used in Comment section of blogs and websites accept HTML codes. Your Post title becomes the URLs name
Forum URL– Your URL displays in bbcode formant which can be used forums and comment sections of blogs and websites accepting bbcodes.
The URLs are user friendly and you or your Blog visitors can easily copy and paste your posts.
So now that you've read about the beautiful features of this Widget, its time to integrate it!
First thing first, login to your blogger account and back up your template.
Now, once your template have been backed up,
click on Edit HTML and find  ]]></b:skin> ( Ctrl F (Windows) or CMD F (Mac) ) Copy the css code below and Paste it above ]]></b:skin> 

#Postshare{text-align:left;margin-top:2em; padding-bottom:5px;color:#555555;}

Finally, Find this code <div class='post-footer'>  then copy the script below and paste it below <div class='post-footer'> . Preferably, as I did in my blog, you can paste the code directly under your share button.
(Your share button code is also found in your post-footer section).

<b:if cond='data:blog.pageType != &quot;index&quot;'>
<b:if cond='data:blog.pageType != &quot;archive&quot;'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='Postshare'>
<h2 style='margin-bottom:0.5em;color:#555555;'>Grab The Post URL</h2>
<b>URL:</b>
<textarea id='url' onclick='this.focus();this.select()' readonly='readonly' rows='1' style='margin-bottom:15px; background-color:#F8F8F8;color:#444444; height: 2.6em; width: 98%;' title='Click to highlight'><data:blog.url/></textarea>
  <br/>
<b>HTML link code:</b>
<textarea id="HTML-code" onclick="this.focus();this.select()" readonly="readonly" rows="1" style='margin-bottom:15px; background-color: #F8F8F8;color:#444444; height: 2.6em; width: 98%;' title="Click to highlight">&lt;a href="<data:blog.url/>"&gt;<data:blog.pageTitle/> "clickable"&lt;/a&gt;</textarea>
<br/>
<b>BB (forum) link code:</b>
<textarea id='BB-code' onclick='this.focus();this.select()' readonly='readonly' rows='1' style='margin-bottom:15px; background-color:#F8F8F8;color:#444444; height: 2.6em; width: 98%;' title='Click to highlight'>[url=<data:blog.url/>]<data:blog.pageTitle/> &quot;clickable&quot;[/url]</textarea>
  </div>
 </b:if>       
</b:if>
</b:if>

blogger share

After adding the codes above to your template correctly, Save your template and visit any Post in your blog, you will notice your new widget where it have been situated. 

So! After all said and done your Blog visitors will definitely enjoy sharing your Blog post URL in any social media site, Blog comment sections and in any forum. 
Enjoy your new widget...

Comments

Popular posts from this blog

#Day2: Overcoming Procrastination

Have you ever tried getting rid of procrastination but find yourself procrastinating about doing what's needed to be done? # Day2 of my 30 days on a Confused State of Mind. Today, it's about overcoming my biggest struggle, Procrastination. In case you missed #DAY1 Of my Confused State of mind, You can go read it >>>>  Discovering my self-worth 99% of times, I find myself procrastinating but worrying over the fact that I can't fight it! Like whom ever said I couldn't fight it? It's a rough fight and I'm always at the losing end. I feel bad about the fact that I go through this but I'm not ashamed to admit it. Probably spiting it out is one of the ways I've got to fight it. Who Else Rows the Boat? The act of postponing and procrastinating isn't peculiar to me, definitely there are a lot more people out there struggling even worse than I. But it doesn't matter, because we are all birds of a feather!  Obviously, it feels so bad to b...

How To Expand Your Wordpress Ping List

WordPress ping list are indeed useful when you want to extend your blog reach to major search engines. If you are not aware of pinging feature in WordPress, then be aware now! :) When ever you publish, edit or modify a post, WordPress sends ping to all the Ping services which must have been listed under your ping update service. So this way, ping services get notified about new post and search engine will quickly index them. Now by default WordPress notifies all major ping services but we can always extend our limit by pinging more services. adding them manually is an option definitely.  Below is a list of ping services for WordPress , which will help you to ping more services. You can also copy the list from WordPress doc file http://rpc.icerocket.com:10080/ http://blogsearch.google.com/ping/RPC2 http://1470.net/api/ping http://api.feedster.com/ping http://api.moreover.com/RPC2 http://api.moreover.com/ping http://api.my.yahoo.com/RPC2 http://api.my.yahoo.com...

I Hate Captchas, We All Hate Google Recaptcha

A good number of internet users if not all have come across and solved a captcha. Captchas are antibot checkers employed by websites to impede scam and spam. but these captchas are somewhat annoying and the latest and now most popular member of the captcha family, Google recaptcha, keeps popping up here and there in an absolutely unbearable and annoying manner. Solving captchas over the years have become somewhat harder and uncalled-for, especially with the spread and popularity of Google recaptcha. Solving captchas used to be fun and easier when users had to type in words and numbers as seen correctly but now reverse is the case as most websites have began using google recaptcha and recently, in order to have access to some websites, you need to prove that you are human! obnoxious I must say! To avoid getting stressed over selecting all roads, cars or signs, you could simply use Google Chrome browser. It's sickening that out of 10 sites you visit in a day, at...