วันศุกร์ที่ 14 มิถุนายน พ.ศ. 2556

Free wordpress plugin WP Twitter widget support new twitter api 1.1

For settings Twitter API support display user timeline a collection recent Tweets posted by the user indicated by the screen_name or user_id parameters. Each user timeline protected, user will authenticated for use twitter api approved follower of the timeline






INSTALL
This section describes how to install the plugin and get it working. 

1. Upload `plugin wp_twitter_widget folder` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Setting plugin connect with twitter apis at 'Settings menu -> WP Twitter Widget options' Create Twitter application by click this link https://dev.twitter.com/apps/new
4. Consumer key and Consumer secret paste into input box.
5. Click Sign in twitter 
6. Drag and drop widget into sidebar 


How to use wordpress twitter widget plugins.
1. Create Twitter application by click this link https://dev.twitter.com/apps/new
2. In Application details Pages

    Name Your application name
    Description
    Your application description
    Website Your application url accessible home:
    Callback URL copy here and paste into callback url.
    Developer Rules of the Road click agreement when read understand this agreement
    Enter image you can see CAPTCHA and Create your Twitter application.

3. After create an application Twitter show application information, then look at OAuth settings session copy Consumer key and Consumer secret paste into input box.

 
Consumer key  
Consumer secret  
Connnect to your application  

4. Click Sign in with twitter.
5. Congratulation now you can drag and drop WP Twitter wiget into your widget slidbar Goto widget page

Donwnload wordpress Twitter widget Click here


List of Review
http://softstribe.com/wordpress/daily-wordpress-plugins-roundup-6-july-2013/
http://mvkoen.com/lanzamientos-de-plugins-para-wordpress-0707/
http://wordpressyeah.com/blog/wp-twitter-widget-by-ryoking/
http://wpplus.me/roundup/
http://plugin.hotcom-web.com/index.php?pageID=9 http://wordpress.org/plugins/rss/tags/twitter-widget-for-wordpress

วันพุธที่ 13 มีนาคม พ.ศ. 2556

how to style radio buttons with labels


<style type="text/css">

input[type="radio"]:checked + label { color:#669933 }
input[type=radio] { vertical-align:text-bottom; margin-left:10px; outline:none; }
label { vertical-align:top; }
label:hover { text-decoration:underline; color:#669933 }

</style>

<input type="radio" name="mory" id="monthly" value="Monthly">
<label for="monthly">Monthly</label>
<input type="radio" name="mory" id="year" value="Year" checked="checked">
<label for="year" class="yearshadow">1 Year</label>

วันศุกร์ที่ 8 มีนาคม พ.ศ. 2556

How to use thickbox in wordpress ?


wp_enqueue_script('thickbox');
wp_enqueue_style('thickbox');
wp_enqueue_script('jquery');

// before wp head insert 3 line

wp_head();


Use thickbox in admin page

function mycustomscript_scripts() { if (is_admin()): wp_enqueue_script('jquery'); wp_enqueue_script('thickbox'); endif; } add_action('wp_print_scripts', 'mycustomscript_scripts'); Use thickbox in template file <a href="#TB_inline?height=155&width=300&inlineId=hiddenModalContent" class="thickbox">Show hidden modal content.</a> iframe content <a href="url.htm?keepThis=true&TB_iframe=true&height=300&width=500" title="add a caption to title attribute / or leave blank" class="thickbox">Example 2</a> More informations http://thickbox.net/

My popular music Yang Yoseob - Caffeine this is dance version

วันอังคารที่ 22 มิถุนายน พ.ศ. 2553

Dummy text

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.

Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero. Fusce vulputate eleifend sapien. Vestibulum purus quam, scelerisque ut, mollis sed, nonummy id, metus. Nullam accumsan lorem in dui. Cras ultricies mi eu turpis hendrerit fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In ac dui quis mi consectetuer lacinia.

Nam pretium turpis et arcu. Duis arcu tortor, suscipit eget, imperdiet nec, imperdiet iaculis, ipsum. Sed aliquam ultrices mauris. Integer ante arcu, accumsan a, consectetuer eget, posuere ut, mauris. Praesent adipiscing. Phasellus ullamcorper ipsum rutrum nunc. Nunc nonummy metus. Vestibulum volutpat pretium libero. Cras id dui. Aenean ut eros et nisl sagittis vestibulum. Nullam nulla eros, ultricies sit amet, nonummy id, imperdiet feugiat, pede. Sed lectus. Donec mollis hendrerit risus. Phasellus nec sem in justo pellentesque facilisis. Etiam imperdiet imperdiet orci. Nunc nec neque. Phasellus leo dolor, tempus non, auctor et, hendrerit quis, nisi.

Curabitur ligula sapien, tincidunt non, euismod vitae, posuere imperdiet, leo. Maecenas malesuada. Praesent congue erat at massa. Sed cursus turpis vitae tortor. Donec posuere vulputate arcu. Phasellus accumsan cursus velit. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed aliquam, nisi quis porttitor congue, elit erat euismod orci, ac placerat dolor lectus quis orci. Phasellus consectetuer vestibulum elit. Aenean tellus metus, bibendum sed, posuere ac, mattis non, nunc. Vestibulum fringilla pede sit amet augue. In turpis. Pellentesque posuere. Praesent turpis.

Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc, eu sollicitudin urna dolor sagittis lacus. Donec elit libero, sodales nec, volutpat a, suscipit non, turpis. Nullam sagittis. Suspendisse pulvinar, augue ac venenatis condimentum, sem libero volutpat nibh, nec pellentesque velit pede quis nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce id purus. Ut varius tincidunt libero. Phasellus dolor. Maecenas vestibulum mollis diam. Pellentesque ut neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

In dui magna, posuere eget, vestibulum et, tempor auctor, justo. In ac felis quis tortor malesuada pretium. Pellentesque auctor neque nec urna. Proin sapien ipsum, porta a, auctor quis, euismod ut, mi. Aenean viverra rhoncus pede. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Ut non enim eleifend felis pretium feugiat. Vivamus quis mi. Phasellus a est. Phasellus magna.

In hac habitasse platea dictumst. Curabitur at lacus ac velit ornare lobortis. Curabitur a felis in nunc fringilla tristique. Morbi mattis ullamcorper velit. Phasellus gravida semper nisi. Nullam vel sem. Pellentesque libero tortor, tincidunt et, tincidunt eget, semper nec, quam. Sed hendrerit. Morbi ac felis. Nunc egestas, augue at pellentesque laoreet, felis eros vehicula leo, at malesuada velit leo quis pede. Donec interdum, metus et hendrerit aliquet, dolor diam sagittis ligula, eget egestas libero turpis vel mi. Nunc nulla. Fusce risus nisl, viverra et, tempor et, pretium in, sapien. Donec venenatis vulputate lorem.

Morbi nec metus. Phasellus blandit leo ut odio. Maecenas ullamcorper, dui et placerat feugiat, eros pede varius nisi, condimentum viverra felis nunc et lorem. Sed magna purus, fermentum eu, tincidunt eu, varius ut, felis. In auctor lobortis lacus. Quisque libero metus, condimentum nec, tempor a, commodo mollis, magna. Vestibulum ullamcorper mauris at ligula. Fusce fermentum. Nullam cursus lacinia erat. Praesent blandit laoreet nibh.

Fusce convallis metus id felis luctus adipiscing. Pellentesque egestas, neque sit amet convallis pulvinar, justo nulla eleifend augue, ac auctor orci leo non est. Quisque id mi. Ut tincidunt tincidunt erat. Etiam feugiat lorem non metus. Vestibulum dapibus nunc ac augue. Curabitur vestibulum aliquam leo. Praesent egestas neque eu enim. In hac habitasse platea dictumst. Fusce a quam. Etiam ut purus mattis mauris sodales aliquam. Curabitur nisi. Quisque malesuada placerat nisl. Nam ipsum risus, rutrum vitae, vestibulum eu, molestie vel, lacus.

Sed augue ipsum, egestas nec, vestibulum et, malesuada adipiscing, dui. Vestibulum facilisis, purus nec pulvinar iaculis, ligula mi congue nunc, vitae euismod ligula urna in dolor. Mauris sollicitudin fermentum libero. Praesent nonummy mi in odio. Nunc interdum lacus sit amet orci. Vestibulum rutrum, mi nec elementum vehicula, eros quam gravida nisl, id fringilla neque ante vel mi. Morbi mollis tellus ac sapien. Phasellus volutpat, metus eget egestas mollis, lacus lacus blandit dui, id egestas quam mauris ut lacus. Fusce vel dui. Sed in libero ut nibh placerat accumsan. Proin faucibus arcu quis ante. In consectetuer turpis ut velit. Nulla sit amet est. Praesent metus tellus, elementum eu, semper a, adipiscing nec, purus. Cras risus ipsum, faucibus ut, ullamcorper id, varius ac, leo. Suspendisse feugiat. Suspendisse enim turpis, dictum sed, iaculis a, condimentum nec, nisi. Praesent nec nisl a purus blandit viverra. Praesent ac massa at ligula laoreet iaculis. Nulla neque dolor, sagittis eget, iaculis quis, molestie non, velit.

Mauris turpis nunc, blandit et, volutpat molestie, porta ut, ligula. Fusce pharetra convallis urna. Quisque ut nisi. Donec mi odio, faucibus at, scelerisque quis, convallis in, nisi. Suspendisse non nisl sit amet velit hendrerit rutrum. Ut leo. Ut a nisl id ante tempus hendrerit. Proin pretium, leo ac pellentesque mollis, felis nunc ultrices eros, sed gravida augue augue mollis justo. Suspendisse eu ligula. Nulla facilisi. Donec id justo. Praesent porttitor, nulla vitae posuere iaculis, arcu nisl dignissim dolor, a pretium mi sem ut ipsum. Curabitur suscipit suscipit tellus.

Praesent vestibulum dapibus nibh. Etiam iaculis nunc ac metus. Ut id nisl quis enim dignissim sagittis. Etiam sollicitudin, ipsum eu pulvinar rutrum, tellus ipsum laoreet sapien, quis venenatis ante odio sit amet eros. Proin magna. Duis vel nibh at velit scelerisque suscipit. Curabitur turpis. Vestibulum suscipit nulla quis orci. Fusce ac felis sit amet ligula pharetra condimentum. Maecenas egestas arcu quis ligula mattis placerat. Duis lobortis massa imperdiet quam. Suspendisse potenti.

Pellentesque commodo eros a enim. Vestibulum turpis sem, aliquet eget, lobortis pellentesque, rutrum eu, nisl. Sed libero. Aliquam erat volutpat. Etiam vitae tortor. Morbi vestibulum volutpat enim. Aliquam eu nunc. Nunc sed turpis. Sed mollis, eros et ultrices tempus, mauris ipsum aliquam libero, non adipiscing dolor urna a orci. Nulla porta dolor. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.

Pellentesque dapibus hendrerit tortor. Praesent egestas tristique nibh. Sed a libero. Cras varius. Donec vitae orci sed dolor rutrum auctor. Fusce egestas elit eget lorem. Suspendisse nisl elit, rhoncus eget, elementum ac, condimentum eget, diam. Nam at tortor in tellus interdum sagittis. Aliquam lobortis. Donec orci lectus, aliquam ut, faucibus non, euismod id, nulla. Curabitur blandit mollis lacus. Nam adipiscing. Vestibulum eu odio.

Vivamus laoreet. Nullam tincidunt adipiscing enim. Phasellus tempus. Proin viverra, ligula sit amet ultrices semper, ligula arcu tristique sapien, a accumsan nisi mauris ac eros. Fusce neque. Suspendisse faucibus, nunc et pellentesque egestas, lacus ante convallis tellus, vitae iaculis lacus elit id tortor. Vivamus aliquet elit ac nisl. Fusce fermentum odio nec arcu. Vivamus euismod mauris. In ut quam vitae odio lacinia tincidunt. Praesent ut ligula non mi varius sagittis. Cras sagittis. Praesent ac sem eget est egestas volutpat. Vivamus consectetuer hendrerit lacus. Cras non dolor. Vivamus in erat ut urna cursus vestibulum. Fusce commodo aliquam arcu. Nam commodo suscipit quam. Quisque id odio. Praesent venenatis metus at tortor pulvinar varius.

วันพุธที่ 19 พฤษภาคม พ.ศ. 2553

แกงผักขี้หูด แสนอร่อย

วันหนึ่ง เดินเที่ยวตลาด หาของกิน ไปเจอลิ้นจิ๋น่ากิน แต่ว่าไม่ได้กับข้าวเลย เพราะมีแต่ผักซ้ำๆ อย่างผักกาดขาว คะน้า ผักหวาน ซึ่งแกงกินเบื่อแล้ว แบบว่ากินอะไรก็เบื่อ พอดีสายตาเหลือบไปเห็นผักขี้หูด นึกถึงตอนแม่แกงอร่อย แต่แฟนบอกว่าสูตรเชียงรายใส่ไข่มดแดง ก็ไม่อยากเสี่ยงใส่เพราะไม่เคยกิน ก็เลยบอกให้ใส่จิ้นควาย ตามสูตรเชียงใหม่

เริ่มกันเลย ดังนี้ วิธีแกง เครื่องปรุง พริกชี้ฟ้าแห้ง สิบห้า ถึงซาวเม็ด ขมิ้นฝานบางสามชิ้นเล็กๆ ตะไคร้หนึ่งหัว กระปิหนึ่งช้อนโต๊ะ มะเขือเทศ สามถึงห้าลูก กระเทียมห้ากลีบ หอมแดงสองหัว เกลือสองหยิบมือ



วิธีทำ นำพริก ตะไตร้ ทั้งหมด ยกเว้นมะเขือนะ ใส่ไปในครกและโขรกให้ละเอียดจากนั้นนำน้ำใส่หม้อตั้งไฟร้อนๆ พอน้ำเดือดใส่จิ้นควาย เมื่อจิ้นเปี่อย นำพริกที่โขรกไว้ใส่ลงไปในน้ำเดือด แล้วสักพักใส่ผักขี้หูด ลงไปเมื่อผักขี้หูดสูกปรุงรส พร้อมใส่มะเขือเทศหั่นพอดีคำ ตักใส่จาน หั่นต้นหอมผักชี้โรยหน้า เพื่อความสวยงามและหอม

วันพฤหัสบดีที่ 8 เมษายน พ.ศ. 2553

Password Generate แบบง่ายๆ

$length = 8;
$chars = array_merge(range(0,9), range('a','z'), range('A','Z'));
shuffle($chars);
$password = implode(array_slice($chars, 0, $length));

ผู้ติดตาม