Author Archives: Jogesh Sharma

About Jogesh Sharma

Jogesh Sharma is a web developer and blogger who loves all the things design and the technology, He love all the things having to do with PHP, WordPress, Joomla, Magento, Durpal, Codeigniter, jQuery, HTML5 etc. He is the author of this blog. If you'd like to connect with him, head on over the

Click and Hold event listener with JQuery

by in , on

I have did some experiment with click event. I need to hold the click for a specific amount of time and when user release the mouse that time my defined event will trigger with it. And i have achieved that and now want to share it with you. I have also implemented the touchstart and touchend event into it and tested in chrome and its working perfect. So this is simple demo for click and hold event listener.

Add read more button with the_content() function

in WordPress on

Its quite simple to add the Read More button with the_content() function, the_content() function is displaying the content of the current post but if its find the tag into the post then its only display the upper content of this tag into the single post. This is how it looks like in the template part.

How to access another Database in WordPress

by in on

wpdb is the class that helps you to manipulate the database in WordPress. But you can not access it directly, you have to use the global object $wpdb to manipulate the database. The Database configuration is stored in wp-config.php during installation process. Highlighted like this