Post Pic

How to display post attachment count in admin post list

2 comments

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.

Post Pic

Automatically add classes to links generated by next_posts_link and previous_posts_link

No comments yet

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.

Post Pic

How to redirect WordPress frontend to the backend

4 comments

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.

Post Pic

Shortcode to display external files on your posts

2 comments

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.

Post Pic

Mighty Deals Christmas giveaway

13 comments

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.

Post Pic

WordPress tip: Add a custom field to all posts

5 comments

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.

Post Pic

WordPress tip: How to get the first link in posts

2 comments

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.

Page 5 of 66« First...«23456789»...Last »

WP Theme of the week

Sponsored Likebox