Tuesday, February 16, 2016

How To Easily Install SEO Smart Links in Blog

How To Easily Install SEO Smart Links in Blog

How to Install Easy Blog SEO Smart Links - This time will share the SEO Smart Links plugin is a WordPress plugin that works to change any given word in an article into a link.


How it Works Plugin SEO Smart Links

This plugin will read every word pal specified in the article.For example, if my friend add words or Blogger SEO plugin, then automatically every time the word will turn into a link and only then if in your blog article contained the word.

How to Install SEO Smart Links

Go to Blogger> Template> Then add the following code before the </ body>

<Script type = 'text / javascript'>SmartLink function () { this.keywdHref = new Object (); this.add = function (keywords, href) { if (keyword.substr (0,1)! = & quot; & quot;) {keyword = & quot; & Quot; + Keyword;} this.keywdHref [keyword] = href; } this.createAnchor = function () { var objs = document.getElementsByTagName (& quot; div & quot;); for (var i = 0; i & lt; objs.length; i ++) { var obj = objs [i]; if (obj.className.indexOf (& quot; post-body & quot;) & gt; -1) { var content = obj.innerHTML; for (var keyword in this.keywdHref) { var href = this.keywdHref [keyword]; var newstr = content.replace (keyword, & quot; & lt; a href = & # 39; & quot; + href + & quot; & # 39; & gt; & quot; + keyword + & quot; & lt; / a & gt; & quot ;, & quot; gi & quot;); obj.innerHTML = newstr; content = newstr; } } } } this.startScript = function () { var onLoad = window.onload; window.onload = function () { if (onLoad) {onLoad ();} setTimeout (& quot; f.createAnchor () & quot ;, 100); } }}</ Script><Script type = 'text / javascript'>var f = new SmartLink ();f.add (& quot;SEO& Quot ;, & quot;http://meetarticles.blogspot.com/& Quot;);f.startScript ();</ Script>

If you want the plugin above only appear on post pages only, please add a special conditional tag pages post Reference: Multiple Functions Conditional Tag On Widget Simpan template


On the marked code, replace SEO with a keyword and replace pal specify http://meetarticles.blogspot.com with the url of your blog.





Final Words

If You Need Any Kind Of Information about Blogger Contact us

pkhowto.com