Comma Separated Strings

Convert comma separated string to array and test for entries Ensure no trailing comma that will produce a blank final array entry Examples Convert array into comma separated string

Read More

Options API

You can use the wordpress Options API without the Settings API (but you can’t use Settings API without Options API). The Options API is great for storing general settings for you plugging, site, etc. Store a value or array Read stored value or array You don’t have to stored a value first, get_option() will return […]

Read More

Checkbox

Basic checkbox css input[type=”checkbox”] is for the actual checkbox, excluding its label Style a checkbox and its label Put it within a div Checkbox + Label on line with space added under

Read More

CSS Combinators

‘ ‘ (descendant selector) > (child selector) + (adjacent sibling selector) Select an element that is directly after another specific element. ~ (general sibling selector)

Read More