Introduction to using WordPress Options, part 2

wordpress-logo

This article is a continuation of the first introductory tutorial to the WordPress Options plugin. In this part 2 we’ll be looking at how you can take advantage of some of the power provided by the framework to create more complicated options setups. If you’re just starting out with the plugin please have a look at part 1.

Here’s what we will be addressing in this tutorial:

  1. Creating multiple options pages and sections
  2. Using extra options types to accept different kinds of data
  3. List of option types
  4. Using sets to limit value ranges and display custom dropdowns
  5. A brief look at the advanced callback mechanism
Read More »
Posted In: Tutorials |Tags: , , , , |

Introduction to using WordPress Options, part 1

wordpress-logo

This article is a quick introduction tutorial to the WordPress Options plugin and how to use its APIs from your own products, regardless of them being either themes or plugins. In a hurry? Jump straight to the code snippet!

Using the plugin is extremely easy and only requires three steps:

  1. Embedding the plugin files into your own product (optional)
  2. Creating your options array with all of your settings
  3. Calling into the plugin’s API to register your settings

So let’s now look into each one of the steps and how to complete them.

Read More »
Posted In: Tutorials |Tags: , , , , |