Google Maps are very useful to show locations on your blog, but they can be a bit tricky to integrate, especially for client or non tech-savvy users. Here is a shortcode that will make Google Maps integration super easy.
By default, when you (or someone else) fail to login on your wp-admin, WordPress displays an error message. While those messages might be useful, they can also be used by hackers to track their progress. Here is a nice tip to prevent WordPress from displaying login errors.
If you’re using many attachments in your posts, you might like to be able to visualize how many attachments a post have just from the admin post list. Here is a quick recipe to force WordPress to display post attachment count in admin post list.
By default, the next_posts_link() and previous_posts_link() are generated with no custom class. If you need one for your CSS styling or anything else, here’s a pretty simple way to add the needed class by using a hook.
It may seems a bit weird, but in some projects, you may only need WordPress backend. This super simple trick allows you to automatically redirect all the frontend part of the site to your wp-admin/login form.
When blogging, you may need to include an external file, such as text or image, into your own posts. Here is a very useful shortcode to embed and display any external files in your blog posts.
For some reason you sometimes need to add a custom field to all your existing posts. You can do it manually, but if you have lots of posts, the process will take a while. Here is a simple way to add a custom field to all posts quickly and easily.
Sometimes you may want a post to link to somewhere else instead of providing a content, like the “link” type from the post formats do. To do so, here is a useful code snippet to get the first link from a post.
Created by Facebook, Open Graph is a protocol which allow your blog or website to “talk” to social networks. Here is a super useful code snippet to add to your WordPress site to make it fully Open Graph compliant.
As a blogger or website owner, your goal is probably to attract traffic to your website. While facebook and twitter are definitely the two bigger social networking sites, Pinterest is also bringing lots of traffic to blogs. So what about adding a pinterest “Pin It” button to your blog? Let’s do it.