Implementing Swift Mailer with Codeigniter

As we know that Composer is a tool for dependency management and we are going to use it to implement Swift Mailer. According to the Codeigniter Documentation, We can use Composer by settings $config['composer_autoload']; in your application/config/config.php. Now use terminal and locate your projects application directory by simple CD (Change Directory) command. Now make sure you have installed Composer, You can check the installation by typing the following command composer --v and if Composer installed into your machine it will tell you about the current version of the Composer.

Click and Hold event listener with JQuery

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

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.

the_content( 
    __( 'Continue reading <span class="meta-nav"></span>', 'twentytwelve' ) 
);