မဂၤလာပါခင္ဗ်ာ :::: ဤဘေလာ႕တြင္ တင္သမွ် နည္းပညာေလးမ်ားသည္ ကၽြန္ေတာ္ေလ႕လာဖူးသမွ်ကို ျပန္လည္မွ်ေ၀ေပးျခင္းျဖစ္ပါတယ္။ ::::

Blog တြင္ Highlight Author comments

Auther Comment ကို High Light လုပ္နည္း

 
 အခုတင္ျပမွာကေတာ႕ highlight Author comments ျပဳလုပ္နည္းျဖစ္ပါတယ္။ကုိယ္ေရးတဲ႕ comments ကုိ အေရာင္းေလးနဲ႕ ေပၚေအာင္ လုပ္နည္းေလးပါ

1. မိမိ Blog ကုိ Sign In လုပ္လုိက္ပါ။
2. Layout မွ Edit Html ကုိ click လုိက္ပါ။
3. မိမိ Templates ကုိ Back up လုပ္လုိက္ပါ။ အမွားအယြင္ရွိက ျပန္ျပင္ႏုိင္ေအာင္ လုပ္ခ်င္ျဖစ္ပါတယ္။
4.Expand Widget Templates ကုိ အမွန္ျခစ္ေပးလုိက္ပါ။ ေအာက္က Code ကုိ ရွာလုိက္ပါ။

<p><data:comment.body/></p>

5. အထပ္ပါ code ကုိ Delete ေပးျပီ ေအာက္က code ကုိ ထည္႕လုိက္ပါ။

<!--author comments highlight start-->
<b:if cond='data:comment.author == data:post.author'>
<p style='color: limegreen; font-weight:bold;'><data:comment.body/></p>
<b:else/>
<p><data:comment.body/></p>
</b:if>
<!--author comments highlight end-->

6.Save Templates ကုိ click လုိက္ပါ။ ျပီပါျပီ။
(မွတ္ခ်က္ ။ ။ color ကုိ မၾကိဳက္က limegreen ေနရာမွာ စိတ္ၾကိဳက္ color ကုိ change ႏုိင္ပါတယ္။ font-weight:bold ေနရာမွာ font-style:italic အျဖစ္ change လုိ႔ရပါတယ္။ )

0 comments :

Post a Comment

မိတ္ေဆြတို႕၏ စကားတစ္ခြန္းသည္ စာေရးသူအတြက္ အားေဆးတစ္ခြက္ျဖစ္သည္။

Related Posts Plugin for WordPress, Blogger...
Link ေသေနတာမ်ားရိွရင္ comment မွာျဖစ္ျဖစ္၊ Cbox မွာျဖစ္ျဖစ္ ေျပာခဲ႕ပါဗ်ာ…....