Best Sharing Plugins for WordPress

Best Sharing Plugins for WordPress

When blogging it is essential to let your readers easily share the content you are producing. With social sharing icons you will thus be aiding your users. In this post we examine some of the most popular options for WordPress.

Continue reading

Extract All Image Sources from a WordPress Post

Extract All Image Sources from a WordPress Post

Here’s a handy piece of code that extracts all the images from a WordPress post:

The resulting output will be in this form:

About Jean GaleaJean Galea is a WordPress developer, entrepreneur and padel player. He is the founder of WP Mayor, the plugins WP RSS Aggregator and EDD Bookings, as well as the Mastermind.fm podcast. His personal blog can be found at jeangalea.com.

Continue reading

How to Check if Category is a Subcategory

How to Check if Category is a Subcategory

This is a useful function I use for building conditional statements to check whether a category is a subcategory (.e. has a parent).

Continue reading

How to Display Archives for a Particular Category

How to Display Archives for a Particular Category

The functionality to display archives for a particular category is strangely not part of WordPress default functionality, despite a Google search revealing many questions relating to this functionality.

If you’re one of these people asking for help on this topic, you’ve come to the right place as we have finally found the solution in the form of a plugin aptly named Archives for a Category.

Continue reading

Change TinyMCE Editor Class

Change TinyMCE Editor Class

This hack will change TinyMCE’s default class, useful for styling the post editor to look like the front end of your site. This function goes into your theme’s functions.php file.

Continue reading

Best ‘Related Posts’ Plugins for WordPress

Best 'Related Posts' Plugins for WordPress

Learn how to implement a ‘Related Posts’ section on your blog posts, which helps in SEO and enhances the stickiness of your site. We examine several plugins to achieve this.

Continue reading

Provide a Shortcut to Your Settings Page with Plugin Action Links

Provide a Shortcut to Your Settings Page with Plugin Action Links

When you use this code in your plugin, it will add a ‘Settings’ link to your plugin’s listing under ‘Plugins’. The link will take you to the plugin’s options page.

The benefit of the plugin action link is that users see it immediately after they activate the plugin, thus adding to the overall experience.

Continue reading

Publish Posts to RSS At a Later Time

Publish Posts to RSS At a Later Time

This hack delays posting to the RSS feeds for 10 minutes (you can customise it). This can be useful as it gives you some leeway to re-read the live post and make any minor changes before it goes to the RSS feeds. Using this hack you can also keep content exclusive to your site for a day or a week before pushing it out to your RSS readers.

Continue reading