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.
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.
Christmas is soon, and I thought this is definitely the right time of the year to organize a contest here at WPRecipes. This time, our friends at Mightydeals are giving away the deal of their choice to 3 of WPR readers.
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.