Every time you upload an image, WordPress saves that image in many sizes by default. Usually it’s ok, but there are situations when we don’t really need those thumbnails (e.g.: when our theme uses custom sizes) and I think it’s much better to delete them because they occupy space on the server for nothing. To […]
It is quite annoying to add plugin-dependent features to your wordpress themes. So I started looking if WordPress has a built-in function for paging … and after some tests I came to the conclusion that paginate_links is the perfect (built-in function) replacement for wp-pagenavi or any other plugin with the same role.
We can automatically wrap the image (sent from media upload box) in a div by applying a filter to the “image_send_to_editor” function.
Sometimes we need to list our blog authors (in a dynamic way) on “About” pages and this can be done by using a shortcode and WP_User_Query built-in class.
Sometimes we need to keep extra information about our users and we can do this by adding new custom fields.