-->
مدونة كورد تيك مدونة كورد تيك

آخر الأخبار

recent
جاري التحميل ...
recent

إضافة الروابط الأوتوماتيكية لتدوينات بلوجر






 السلام عليكم ورحمة الله وبركاته ،اليوم سوف نتعرف على كيفية إضافة الروابط الأوتوماتيكية لتدوينات بلوجر تحت كل موضوع ،حيث يُعرض على شكل جدول أسفل كل تدوينة ويتضمن روابط المقال على شكل 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/AVvXsEhWI1sNCT7okqCaQuk5MkOfhY1UUGYY1vV0GimLgTkUhyphenhyphennA10_lXGggkzligs42PVWGKnEIQUCXTrjkVWsyOac7ScNrkgaUTLBv0nFp3G7Vav9yOWUsLmPX7gcnbtk4nTrtonZw3CF9q3lz/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/AVvXsEjFNZRKz7BS-uiHgjDUFjVrjVozVOjWWqTBXFB5-KpQS6U0lnd7FKRYkdtoRfJpr-nLnbYwboRBAgtUbITpaP-l1x14BvaaBCFmkuU9o5zubRKqLGLNe6uiPNccBtf3XdRtbjBrXYom59KA/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/AVvXsEgHrKzZ6mYPQs2Vja_8TtB_g8CsRouprYHmhG5xUqK49tpmmbLp9SWW8kyRfLTIhj5dbO5KoZtTckAfhOK1J72GrjDB1jq1ncFXY7y6VqWSJVbPtxAakbds93ZpNM21HcPuxuk_5ltxZ0uU/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>






وأخيرا قم بحفظ القالب ،أتمنى أن تنال إعجابكم ولأي إستفسارالمرجو ترك تعليقاتكم 


المصدر ~ مدونة أبو عياد





التعليقات



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

إتصل بنا

جميع الحقوق محفوظة

مدونة كورد تيك

2016