Change WordPress default gallery output

Gallery feature made it easy to add one or more images into a post with a simple shortcode. While we may occasionally want to change the gallery output to better meet our requirements, like to showcase the images using a third party js plugin. There’s a filter to post_gallery which you can use to customize … Continue reading “Change WordPress default gallery output”

How to hide the admin bar in wordpress

If your website is a multi-author blog or just open user registration, after a user login he/she can see the admin bar on the top. For the administrator or editor, this feature makes sense. But in other cases, you may want to hide it to prevent confusion for contributors or subscribers. There are two ways … Continue reading “How to hide the admin bar in wordpress”