PHP

Create a clean URL for your custom post type's category archives

WordPress gained great functionality by adding custom post types and one great feature of custom post types is that it can share the same categories as regular posts. However while you can view an archive of posts by category you can’t do so with a custom post type without using an ugly URL.

Read More

Customize the WordPress admin menu based on user roles

WordPress can be a powerful content management system but if you have multiple users often some can end up with permissions that you really wish they didn’t have. There are plenty of plugins that will let you customize user permissions but it’s not that hard to do ourselves by removing certain links from the admin menu for those specific user roles.

Read More