Expanding Text Plugin

WordPress ရဲ႕ More tag ကို မသံုးပဲ Blogger မွာတုန္းကလုပ္သလို Peekaboo ပို႕စ္ ေခါက္ခ်င္တယ္ဆိုရင္ Expanding Text Plugin ကို သံုးႏိုင္ပါတယ္။ ထံုးစံအတိုင္း Plugin ကို Activate လုပ္ေပးရပါမယ္။ Plugin အသံုးျပဳနည္းကေတာ့ ပို႕စ္ ေရးသားတဲ့အခါ စေခါက္ထားေစခ်င္တဲ့ ေနရာမွာ

<DDET Click to expand!>
Here is your text!
</DDET>

ဒီလို ကုဒ္ ထည့္ေပးယံုပါပဲ။ ပို႕စ္မွာ Click to expand! ဆိုတာေလး ေပၚေနမွာျဖစ္ၿပီး သူ႕ကို click လုပ္ေပးရင္ ေခါက္ထားတာေတြကို ျမင္ရမွာ ျဖစ္ပါတယ္။ Click to expand! ဆိုတဲ့ေနရာမွာလဲ ျမန္မာလို အဂၤလိပ္လို ႀကိဳက္သလို ေျပာင္းေရးလို႕ရပါတယ္။ ပလင္အင္ ေဒါင္းလုပ္ လင့္ခ္ ကို Expanding Text Plugin သံုးၿပီးအစမ္းလုပ္ျပထားပါတယ္။

Click here to Download

Popularity: 44% [?]

WordPress နဲ႕ ျမန္မာေဖာင့္

WordPress Blog မွာ ျမန္မာလိုေကာင္းစြာေပၚဖို႕ အတြက္ အသံုးျပဳမယ့္ theme ရဲ႕ style.css မွာ ေဇာ္ဂ်ီေဖာင့္ Assign လုပ္ေပးရပါမယ္။ ဒါဆိုရင္ ေဇာ္ဂ်ီေဖာင့္ ရွိတဲ့ ကြန္ျပဴတာတိုင္းမွာ ျမန္မာလို ေကာင္းစြာျမင္ရပါလိမ့္မယ္။ ေဇာ္ဂ်ီေဖာင့္မရွိတဲ့ စက္ေတြအတြက္ eot လုပ္ေပးထားခ်င္ေသးတယ္ ဆိုရင္ေတာ့ ဘေလာ့စေပါ့ eot ထည့္နည္း အတိုင္း style.css ရဲ႕ ေပၚဆံုးမွာ ထည့္ေပးလို႕ရပါတယ္။ ဒါဆို ေဇာ္ဂ်ီေဖာင့္ မရွိလဲ ဖတ္လို႕ရပါၿပီ။ သတိျပဳရမွာက eot လုပ္ထားေပမယ့္ ေဇာ္ဂ်ီကို sytle.css မွာ Assign လုပ္မထားရင္ေတာ့ ျမန္မာလို ေပၚမွာ မဟုတ္ပါဘူး။ ေဇာ္ဂ်ီေဖာင့္ကိုလဲ ေကာင္းစြာ Assign လုပ္ထားၿပီးၿပီ ဒါေပမယ့္ ??????? ေတြပဲ ျမင္ေနရတယ္ ဆိုလွ်င္ MySQL database မွာ ျပသနာ တတ္တာ ျဖစ္ႏိုင္ပါတယ္။ MySQL Database Character Encodinig ဟာ UTF-8 ျဖစ္ကို ျဖစ္ရပါမယ္။ မဟုတ္ရင္ ဘယ္လို ေဇာ္ဂ်ီေဖာင့္ Assign လုပ္လုပ္ ျမန္မာလို ျမင္ရမွာ မဟုတ္ပါဘူး။

Hosting ေတြက ေပးထားတဲ့ Script နဲ႕ WordPress Install လုပ္တဲ့အခါ MySQL Encoding က UTF-8 မဟုတ္ပဲ အျခားဟာေတြ ျဖစ္ေနတတ္ပါတယ္ ( ဥပမာ။ 000webhosting ) ။ MySQL UTF-8 ဟုတ္မဟုတ္ စစ္ေဆးၾကည့္ဖို႕အတြက္ Hosting ရဲ႕ Control Panel / PHP Admin ကို ၀င္ၾကည့္ရပါမယ္။ UTF-8 နဲ႕ မေတြ႕ပဲ ဒီလိုမ်ိဳး latin1_general_ci သို႕မဟုတ္ အျခားတခုခု ဆိုရင္ MySQL ေၾကာင့္ဆိုတာ ေသခ်ာပါၿပီ။

Read more »

Popularity: 61% [?]

Read more…

Link Jumps to More or Top of Page

WordPress မွာ ပို႕စ္ အရမ္းရွည္ေနလွ်င္ ပို႕စ္ေခါက္ဖို႕ (သို႕) ပို႕စ္ေခါင္းစဥ္ကို ႏွိပ္မွ အျပည့္အစံု ဖတ္ႏိုင္ေစဖို႕ More tag ထည့္သြင္းေပးထားႏိုင္ပါတယ္။

wordpress read more

ပိုစ္ အျပည့္အစံု ဖတ္ရႈဖို႕ ၀င္ေရာက္လိုက္လွ်င္ More tag ထည့္ထားတဲ့ ေနာက္ပိုင္းကို တန္းေရာက္သြားၿပီး စာျမည္းအျဖစ္ ေဖာ္ျပထားတာေတြ ျပန္ဖတ္ဖို႕ Scroll up ျပန္ဆြဲေပးေနရတာ သတိျပဳမိၾကပါလိမ့္မယ္။ Post title (သို႕) More… ဆိုတာေလးကို ႏွိပ္လိုက္ရင္ ပို႕စ္အစ ကေန စၿပီး ေဖၚျပခ်င္တယ္ဆိုရင္ ⁄wp-includes/post-template.php မွာ အနည္းေျပာင္းလဲေပးရပါမယ္။

. "#more-$id\">$more_link_text</a>";

ဆိုတဲ့ ကုဒ္ ကိုရွာၿပီး

."\">$more_link_text</a>";

နဲ႕အစား ထိုးေပးလိုက္ရင္ အဆင္ေျပပါၿပီ။ တစ္ခုပဲ သတိျပဳရမွာက WordPress Upgrade လုပ္လိုက္ရင္ ျပဳလုပ္ထားတာ ေပ်ာက္သြားမွာျဖစ္ပါတယ္။

 

Designing the More Tag

More Tag နဲ႕ေခါက္ထားတဲ့ ပို႕စ္မွာ More… , Read more… ဆိုတာေတြအစား ႏွစ္သက္ရာ ေျပာင္းလဲခ်င္တယ္ ဆိုရင္ အသံုးျပဳထားတဲ့ Theme ရဲ႕ Index.php မွာ ေျပာင္းေပးရပါမယ္။

<?php the_content(__('Read more'));?>

အဲဒီက Read more ဆိုတဲ့ေနရာမွာ လိုခ်င္သလို ေျပာင္းေရးေပးလိုက္ရင္ အဆင္ေျပပါၿပီ။ Post title ကိုပါ ေဖာ္ျပခ်င္တယ္ဆိုရင္

<?php the_content("...continue reading the story
called " . get_the_title('', '', false)); ?>

ဒီလို ေျပာင္းေပးလို႕ရပါတယ္။ ပံုေလးေတြပါ ထည့္ခ်င္တယ္ဆိုရင္

<?php the_content('Read more...<img src="/images/leaf.gif"
alt="read more" title="Read more..." />'); ?>

အခုလိုထည့္ေပးလိုက္ရင္ အဆင္ေျပပါၿပီ။

 

Popularity: 28% [?]

အသံုး၀င္ WordPress Plugins မ်ား (2)

#4. WP-PageNavi

#5. Shashin

#6. WP-FLV

Read more »

Popularity: 37% [?]

အသံုး၀င္ WordPress Plugins မ်ား (1)

#1. All in One SEO Pack

#2. Dagon Design Sitemap Generator

#3. WP-Print

Read more »

Popularity: 24% [?]