Chapter 7

Plugin Tips and Tricks

IN THIS CHAPTER

Check Using a plugin template

Check Making your plugin pluggable

Check Enhancing plugins with CSS and JavaScript

Check Custom post types

Check Exploring little-known useful hooks

Check Using custom shortcodes

When you have a WordPress plugin or two under your belt, you’ll discover that you want to interact with many more parts of WordPress. WordPress is always coming out with new functionality and, with it, new API (Application Programming Interface) hooks, known as action and filter hooks, covered in Book 7, Chapter 5. This chapter discusses some of this functionality and offers you some ways to extend your use of WordPress plugins. Because this functionality involves some simple programming skills, I assume (for the purposes of this chapter) that you have some basic PHP and WordPress plugin development knowledge.

Using a Plugin Template

When you start writing WordPress ...

Get WordPress All-In-One For Dummies, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.