screenshot 3 (6)

screenshot 3 (6)



in Documentation

m



Creating Options


Option Types Function References Theme Modę Meta Boxes Codę Examples Layouts Overview


Overview of available Theme Option fields.

Label:

The Label field should be a short but descriptive błock of text 100 characters or less with no HTML.

ID:

The ID field is a unique alphanumeric key used to differentiate each theme option (underscores are acceptable). Also, the plugin will change all text you write in this field to lowercase and replace spaces and special characters with an underscore automatically.

Type:

You are required to choose one of the supported option types when creating a new option. Here is a list of the available option types. For morę information about each type click the Option Types tab to the left.

Background Category Checkbox Category Select Checkbox Colorpicker CSS

Custom Post Type Checkbox Custom Post Type Select List Item Measurement Page Checkbox Page Select Post Checkbox Post Select Radio

Radio Image Select Slider

Tag Checkbox Tag Select Taxonomy Checkbox Taxonomy Select Text

Textarea Textarea Simple Textblock Textblock Titled Typography Upload

Description:

Enter a detailed description for the users to read on the Theme Options page, HTML is allowed. This is also where you enter content for both the Textblock & Textblock Titled option types.

Choices:

Click the "Add Choice" button to add an item to the choices array. This will only affect the following option types: Checkbox, Radio, Select & Select Image.

Settings:

Click the "Add Setting" button found inside a newly created setting to add an item to the settings array. This will only affect the List Item type.

Standard:

Setting the standard value for your option only works for some option types. Those types are one that have a single string value saved to them and not an array of values. Rows:

Enter a numeric value for the number of rows in your textarea. This will only affect the following option types: CSS, Textarea, & Textarea Simple.

Post Type:

Add a comma separated list of post type like post, page . This will only affect the following option types: Custom Post Type Checkbox, & Custom Post Type Select. Below are the default post types available with WordPress and that are also compatible with OptionTree. You can also add your own custom post_type . At this time any does not seem to return results properly and is something I plan on looking into.

■    post

■    page

■    attachment

Taxonomy:

Add a comma separated list of any registered taxonomy like category, post_tag . This will only affect the following option types: Taxonomy Checkbox, & Taxonomy Select.

Yersion 3.4.1


Thank you for creating with WordPress.


Wyszukiwarka

Podobne podstrony:
35621 The Knitters Bible4 CREATIYE OPTIONS LACE KNITTINGCreativeOptions In this section, you will b
screenh ~ AllerCalc - www.allersoft.com Options Comrnands Functions Help Enter an expression to
ssforum options vBHosting 2 Forum Creation Options Filename of the forum creation script Help O Init
screenshot 3 ^)GaMerZ.WordPress > Ratings Options — WordPress - Mozilla Firefox File Edit View Hi
Mnozenie screen 1 ca C:DOCUME~lADMINI~lMy DocumentsProject l.exeMA IN MENU 1.    - Ro
Mnozenie screen 2 jnj c C C:DOCUME~lAPMINI~lMy Documents ,,Project l.exe MA IN MENU 1.   &
screenh ^ Convert-=ld2<l File Options Pressure Help Speed ] Temperaturę ] Time ] Torque ] Volume
screenshot 1 BC Responsive Images OptionsResponsive Image Settings Create some default breakpoints a
greka0 Conditional Sentences in Greek Greek has various types of conditional sentences ( conditiona
RPE Launcher Structure of Document Specification containing Output Types, Templates and th
2013 SYSTEMS SUPPORTING PRODUCTION ENGEINEERING on the monitor where the operating field (on a fiat
New Forms Taschen 002 The decade sińce the mid-1980s has seen an unparalleled surge in architectural
finalB 02 5.    In which of the following types of glomerulonephritis is the level of

więcej podobnych podstron