الروابط الآليه لموضوعات بلوجر

3:02 م

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

URL
HTML
BBCODE

انتقل إلى لوح تحكم مدونتك،إختر "تصميم" ،ثم "تحريرhtml
وقم بالبحث عن الكود التالي:

]]></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/AVvXsEhK-spU4fnsBNXWMnTiVggDjG16kRokRZQd9V2zKMpcVCwx9WsXipTk8IFcisakLqBMhfff4pGoFtxebc52UiUp4I8m7_sU-zEU-57FxD3hhBCQq8_L_pJcGwBwprI10p1DwKOR3sHl5U9e/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/AVvXsEh8R1uZXUYsmTOLxVAI51F0j0pCmMqDmMveHCdvjy0mMD2GQ96HKQ3X9xPvDZ0VjjIf_GpZzA9NXvGh8DeuQ-Htevq9obvtjxezk5AkH7TH2k6zjCfbtXVp6bINJ4yYy31dxeSz5Qz4a6Np/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/AVvXsEjrkuZ4ZO2_sH5zdR7bIiFGqjI-GhBXIfYFm4BicC1zz2H6iFMkiorARicxVNKhtGKhasj-EvECi_Ks7A1zjYMV3nfSdZQjVzpEH0gsf7noPvL167CD_gZ3WH46iyHRaBfCbHxEjOLAfLDS/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 التعليقات