إضافة خاصية روابط التدوينة قابلة للنسخ لمدونات بلوجر

إخواني الكرام أقدم لكم إضافة جميلة وهي في الأصل مستوحات من المنتديات وهي إضافة روابط الموضوع 
يعني تضهر روابط الموضوع تلقائيا أسفل كل موضوع وذالك للمساهمة في نشر مواضيعكم في مواقع اخرى
وهي للتسهيل على الزائر نسخ مصدر الموضوع

صورة للإضافة

إضافة خاصية روابط التدوينة قابلة للنسخ لمدونات بلوجر

لتركيب الإضافة كل ما عليك هو البحث عن الوسم ]]></b:skin>
 ثم فوقه ضع الكود التالي

#table {
    font-family: “Lucida Sans Unicode”, “Lucida Grande”, Sans-Serif;
    font-size: 13px;
    margin: 10px -12px;
    width: 580px;
    text-align: left;
    border-collapse: collapse;
   direction:ltr;
}
#table th {
    font-size: 13px;
    font-weight: normal;
    padding: 8px;
    background: #b9c9fe url(‘https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhgl-2HsaDldpVU0d7DvugbYti7KHVr2cEqZNbzZyEDc0hcyJQaGEuqBjtyspIiuuCrlkbzwDAEfgX-vZa-PUNZnxDYAmjXnqUhBFrUn0Dt_zRe86gKNxV5q4TxkCPEiwHNX4TPViKf_o/s1600/gradhead.png’) repeat-x;
    border-top: 2px solid #d3ddff;
    border-bottom: 1px solid #fff;
    color: #039;
}
#table td {
    padding: 8px;
    border-bottom: 1px solid #fff;
    color: #4c4c4c;
    border-top: 1px solid #fff;
    background: #e8edff url(‘https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS84t8Ezok_xF8yydkk_jIUa0gaKy0dHuYkA0npI8ooXon_XVYdbMRWO-YSnsegvABWumClbgs59StX-EqJ0RMzfgdF80HPMoUGYJsg5hUdAVbylmsvR2rhjFKwQdfKAVHdmVUwkVV6GSH/s1600/gradback.png’) repeat-x;
}
#table tfoot tr td {
    background: #e8edff;
    font-size: 20px;
    color: #99c;
    text-align:center;
}
#table tbody tr:hover td {
    background: #d0dafd url(‘https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8qM_fYW1XuxvTaaSspDcPQRbGAwfzQp6zyaM1Jc3zHvAbPHaJWIVbeyH1V9mGGSvebX0-Wcf6fJOegbN4BwtPKojXFnubFMv22_IOiH5W_sV9ONv2OGEvp-WRuWpO6c9i4fRc3dM6svVB/s1600/gradhover.png’) repeat-x;
    color: #339;
}
#table a:hover {
    text-decoration:underline;
}

ثم بعد ذالك قم بالبحث عن الوسم التالي <data:post.body/>
ثم أسفله ضع الكود التالي


<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<table id=’table’ summary=’روابط الموضوع’>
  <tfoot>
    <tr>
      <td colspan=’2′>روابط هذه التدوينة قابلة للنسخ واللصق</td>
    </tr>
  </tfoot>
<tr>
  <td>URL</td>
  <td><input expr:value=’data:post.canonicalUrl’ onclick=’this.focus(); this.select();’ readonly=’readonly’ style=’width: 560px;’ type=’text’/></td>
</tr><tr>
  <td>HTML</td>
  <td><input expr:value=’&quot;&lt;a href=&amp;quot;&quot; + data:post.canonicalUrl + &quot;&amp;quot; title=&amp;quot;&quot; + data:post.title + &quot;&amp;quot;&gt;&quot; + data:post.title + &quot;&lt;/a&gt;&quot;’ onclick=’this.focus(); this.select();’ readonly=’readonly’ style=’width: 560px;’ type=’text’/></td>
</tr><tr>
  <td>BBCode</td>
  <td><input expr:value=’&quot;[url=&quot; + data:post.canonicalUrl + &quot;]&quot; + data:post.title + &quot;[/url]&quot;’ onclick=’this.focus(); this.select();’ readonly=’readonly’ style=’width: 560px;’ type=’text’/></td>
</tr>
</table> </b:if>

وهكذا تكون إنتهيت من تركيب الإضافة وأي مشكل او سؤال ضعه في رد لتتم المساعدة
بالتوفيق للجميع ودمتم في رعاية الله وحفضه  
المقال السابق
المقال التالي
مقالات دات صلة

0 comments: