Monthly Archive:: January 2014

How to copy the selected text to a textarea on double click using php

Hello, in this article i m explain all of you that how to copy the selected text using jquery. after running this below code click on Hi.welcome to…. select this text and double click on that and that text is storing into hidden variable and instead of hidden variable you can store it in textarea

How to display date in wordpress page

in this article i m exaplain all of you how to display date in wordpress page using shortcode functionality, so once look code and paste wherever you want to display date in your wordpress project put below code in your active theme’s functions.php file [crayon-59c2183e6758d146286162/] use shortcode [smitcky-show-date] in wherever you want to display date

whats the difference between == and === in php

dear all the friends this is very nice question and this type of questions is asking in interview so every php developer should be knowledge of what the use of == and === and whats the difference between them so let me explain in brief == should be used to check if the values of

How to use register post type in wordpress

register_post_type should only ┬ábe invoked through the ‘init’ action. it wont work at all if called before init action. let me explain in brief whats the use of that and how to use that in any plugin. suppose i have so many pages/post in wordpress and in that my sliders post/pages also i have added