ادعمناعلي الفيس بوك Close

الأربعاء، 16 أكتوبر 2013

مواضيع ذات صلة - مهمة للأرشفة وتحسين ترتيبك

السلام عليكم .

أقدم لكم إضافة مميزة لبلوجر وهى مواضيع ذات صلة .

تقوى الأرشفة جدا ، وتحسن ترتيب مدونتك بشكل ملحوظ لأنها تعطيك روابط داخلية كثيرة وجوجل يتنقل عندك من موضوع إلى موضوع .

كما تسهل على الزوار التنقل بين مواضيعك بسهولة .


صورة من الإضافة :
 
 
شرح التركيب :

من تحرير html ابحث عن :

رمز Code:
</head>
ثم أضف أعلاه هذا الكود :

رمز Code:
<style> #related-posts { float : left; width : 540px; margin-top:20px; margin-left : 5px; margin-bottom:20px; font : 11px tahoma; margin-bottom:10px; } #related-posts .widget { list-style-type : none; margin : 5px 0 5px 0; padding : 0; } #related-posts .widget h2, #related-posts h2 { font-size : 11px; font-weight : normal; margin : 5px 7px 0; padding : 0 0 5px; } #related-posts a { text-decoration : none; } #related-posts a:hover { text-decoration : none; padding-right:2px;} #related-posts ul { border : medium none; margin : 10px; padding : 0; } #related-posts ul li { display : block; background : url(&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjehBwKUEtVq3XdWNwZAP_39lLJi4PWv3KrMr90kqYp06s7L6lpnSqjY-0szuyhLT5CmVuMexzO_EOiqIle33OMOuSBe4MTeH0jNd_-GcyXDWKic1esVy4hoGLAJCxyNX-_a44tQ-Pw2Dg/&quot;) no-repeat 0 0; margin : 0; padding-top : 0; padding-right : 0; padding-bottom : 1px; padding-left : 21px; margin-bottom : 5px; line-height : 2em; border-bottom:1px dotted #cccccc; } </style> <script src='http://fares-related-post.googlecode.com/files/Related.js' type='text/javascript'/>
ثم ابحث عن :

رمز Code:
<data:post.body/>
وإن لم تجده ابحث عن :

رمز Code:
<div class='post-body>
وضع تحته هذا الكود :



رمز Code:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div class='fares-rl' id='related-posts'>
<font face='Arial' size='2'><b>قد يهمك :</b></font><font color='#FFFFFF'><b:loop values='data:post.labels' var='label'><data:label.name/><b:if cond='data:label.isLast != &quot;true&quot;'>,</b:if><b:if cond='data:blog.pageType == &quot;item&quot;'>
<script expr:src='&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=5&quot;' type='text/javascript'/></b:if></b:loop> </font>
<script type='text/javascript'> removeRelatedDuplicates(); printRelatedLabels();
</script>
</div></b:if>
تستطيع تغيير ما باللون الأحمر إلى ما تحب . وعدد 5 إلى عدد المواضيع الذى تريد .
 

0 التعليقات:

إرسال تعليق