طوق حياه

مواضيع ذات صلة في موقعك بطريقه جميلة وخفيفة ورائعه


ولإضافة هذه الخاصية إتبع الخطوات التالية:
  الخطوت الأولى : إذهب إلى تحرير html لقالب مدونتك ولا تنسى أن تضغط على مربع ( توسيع قوالب عناصر واجهة المستخدم ) كى يظهر الكود كاملا.
 الخطوت الثانية : إبحث عن هذا الكود:
 </head> 
عندما تجده نضع فوقه مباشرة هذا الكود:
<script src='http://masraweyamol.googlecode.com/files/masraweyamol.js' type='text/javascript'/> <b:if cond='data:blog.pageType == &quot;item&quot;'> <style type='text/css'> #related-posts {float:center;text-transform:none;height:100%;min-height:100%;padding:0;margin:10px 0 5px 0;} #related-posts h2{margin:0;background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPzK30uMjjff3C6PsgeSm48hXdGpVIMj4kfJ7HDluhMnKTQyHjw2fxcAZddgDCT9zlqkeIi8P3VNMTNN9sj53wOnXZzOmVhWjSUh6szIOyaR8yx4z5iwIdjzftJLhDixxeObKEXjQ2P1E/s1600/newslienquan.jpg) no-repeat scroll left 0 transparent;height: 16px;} #related-posts a:hover {background-color:#d4eaf2} .lienquan {background: #ddd;height:57px;float: left;padding-left: 1px;width: 173px;margin:1px;overflow:hidden;line-height:1.4em} .related-posts {margin: 0;padding: 0} .related-posts ul {margin: 0;padding-top: 5px} .related-posts ul li {background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5kOvotM9StjlV5cfOSJuX5ZMsGhYAzUO3oF0O0_wy_98FZJVXQRLhJKCGUSow-te0yDSKSk57wnG_ef9YzsA5UXi50yI2Vu2C9V4QN4RdoREvipQKCTUpg4Kn0NAyNK2CtJvlQ7cDQ8fr/s1600/list.png) no-repeat top left;list-style-type: none;margin: 0 0 2px 5px;padding: 2px 0 0 18px;word-wrap: break-word} </style> <script type='text/javascript'> //<![CDATA[ var titles=new Array();var titlesNum=0;var urls=new Array();var time=new Array();function related_results_labels(c){for(var b=0;b<c.feed.entry.length;b++){var d=c.feed.entry[b];titles[titlesNum]=d.title.$t;for(var a=0;a<d.link.length;a++){if(d.link[a].rel=="alternate"){urls[titlesNum]=d.link[a].href;time[titlesNum]=d.published.$t;titlesNum++;break}}}}function removeRelatedDuplicates(){var b=new Array(0);var c=new Array(0);e=new Array(0);for(var a=0;a<urls.length;a++){if(!contains(b,urls[a])){b.length+=1;b[b.length-1]=urls[a];c.length+=1;c[c.length-1]=titles[a];e.length+=1;e[e.length-1]=time[a]}}titles=c;urls=b;time=e}function contains(b,d){for(var c=0;c<b.length;c++){if(b[c]==d){return true}}return false}function printRelatedLabels(a){for(var b=0;b<urls.length;b++){if(urls[b]==a){urls.splice(b,1);titles.splice(b,1);time.splice(b,1)}}var c=Math.floor((titles.length-1)*Math.random());var b=0;document.write("<ul>");if(titles.length==0){document.write("<li>Không c? bài vi?t liên quan</li>")}else{while(b<titles.length&&b<20&&b<maxresults){document.write('<li><a href="'+urls[c]+'" title="'+time[c].substring(8,10)+"/"+time[c].substring(5,7)+"/"+time[c].substring(0,4)+'">'+titles[c]+"</a></li>");if(c<titles.length-1){c++}else{c=0}b++}}document.write("</ul>");urls.splice(0,urls.length);titles.splice(0,titles.length)}; //]]> </script> </b:if>
الخطوت الثالتة : نبحث كدلك على هذا الوسم:
 <data:post.body/> 
ستجد منه إثنين أو ثلاتة إختر الأول وضع أسفله الكود التالي:


<b:if cond='data:blog.pageType == &quot;item&quot;'> <div id='related-posts'> <b:loop values='data:post.labels' var='label'> <script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels_thumbs&amp;max-results=12&quot;' type='text/javascript'/> </b:loop> <script type='text/javascript'> var currentposturl=&quot;<data:post.url/>&quot;; var maxresults=9; var relatedpoststitle=&quot;&quot;; removeRelatedDuplicates_thumbs(); printRelatedLabels_thumbs(); </script> </div> <div style='margin-bottom:5px;clear:both'/> <img border='0' src='http://2.bp.blogspot.com/-Y3adlpBwqDQ/Twx31TM0XvI/AAAAAAAACoQ/kh3cR7fgE0Y/s1600/t0esqo7n.jpg'/> <div class='related-posts'> <b:loop values='data:post.labels' var='label'> <script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&quot;' type='text/javascript'/> </b:loop> <script type='text/javascript'>var maxresults=6;removeRelatedDuplicates();printRelatedLabels('<data:post.url/>');</script> </div> <div class='clear'/></b:if>

ملاحظة : يمكنك تغيير الرقم var maxresults=6، وهو يدل على عدد المواضيع ذات الصلة التي سيتم عرضها. بغير الصورة وكذلك الرقم var maxresults=9 وهو يدل على عدد المواضيع التي تظهر مع الصورة.......
احفظ القالب....
  اي استفسار انا تحت خدمتكم 
 استودعكم الله.
أصدقاء(طوق حياه)
تعليقات Facebook
12تعليقات Blogger

12 عدد التعليقات على موضوع مواضيع ذات صلة في موقعك بطريقه جميلة وخفيفة ورائعه

غير معرف يقول...

It is in point of fact a great and useful piece of information.

I am happy that you shared this useful info with us.
Please keep us up to date like this. Thank you for
sharing.

Feel free to surf to my site :: top appliance repair tampa

غير معرف يقول...

I enjoy what you guys are up too. This kind of
clever work and reporting! Keep up the very good works guys I've added you guys to my personal blogroll.

Check out my web blog - appliance repair clearwater rates

غير معرف يقول...

Helpful info. Lucky me I found your website by chance, and
I'm shocked why this accident didn't happened in advance!
I bookmarked it.

Feel free to visit my page: appliance repair Valrico

غير معرف يقول...

Thanks for some other magnificent article. The place else may anybody get that kind of
information in such a perfect method of writing? I have a presentation next week,
and I'm at the look for such info.

Stop by my webpage subzero refrigerator & appliance repair Lutz

غير معرف يقول...

I needed to thank you for this wonderful read!

! I definitely loved every bit of it. I have got you saved as a favorite to check out new stuff you post…

my web site; top rated appliance repair Safety Harbor FL

غير معرف يقول...

I always spent my half an hour to read this website's articles everyday along with a mug of coffee.

Feel free to surf to my web site :: appliance repair Clearwater FL free estimates

غير معرف يقول...

I think the admin of this web site is in fact working hard for
his website, as here every stuff is quality based material.


Check out my blog post :: Smart circle directv

غير معرف يقول...

You ought to take part in a contest for one of the greatest blogs on the web.
I most certainly will highly recommend this blog!


Here is my weblog ... second mortgage companies

إرسال تعليق