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
touchend event into it and tested in chrome and its working perfect. So this is simple demo for click and hold event listener.
Sometimes we need to share our conversation or some useful information from social media to our personal blog. Tweeter is the one of the giant social media platform, that also give you the ability to embed tweet on your blog. And WordPress is the one of the most powerful platform for blogging.
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.
<?php the_content( __( 'Continue reading <span class="meta-nav"></span>', 'twentytwelve' ) ); ?>
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
/** The name of the database for WordPress */
/** MySQL database username */
/** MySQL database password */
/** MySQL hostname */
/** Database Charset to use in creating database tables. */
/** The Database Collate type. Don't change this if in doubt. */
After getting success of my responsive Google Map post, i decided to create a WordPress Plugin. It is easy to install like the other plugin. The best and favorite part of this plugin is Responsiveness. This plugin don’t need any extra functionality or CSS to make it responsive. You can freely use it on your website sidebar, posts and pages.
How to use Google Map Plugin?
It is so simple to use this plugin. Just install it like the other plugins and activate it.
Recently i have designed a website for one of my client that want featured post on his website’s blog section. Featured Post or You can say Sticky Post, one thing with different name, already available into WordPress admin panel and it is so easy to implement.