1680 lines
51 KiB
Plaintext
1680 lines
51 KiB
Plaintext
# Copyright (C) 2012
|
|
# This file is distributed under the same license as the package.
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: \n"
|
|
"Report-Msgid-Bugs-To: http://wordpress.org/tag/option-tree\n"
|
|
"POT-Creation-Date: 2012-07-27 04:33:32+00:00\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
|
#: includes/ot-functions-admin.php:83
|
|
msgid "The Colorpicker only allows valid hexadecimal values."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:163
|
|
msgid "Send to OptionTree"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:164
|
|
#: includes/ot-functions-option-types.php:152
|
|
#: includes/ot-functions-option-types.php:1683
|
|
msgid "Remove Media"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:165
|
|
msgid "Are you sure you want to reset back to the defaults?"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:166
|
|
msgid "You can't remove this! But you can edit the values."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:167
|
|
msgid "Are you sure you want to remove this?"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:168
|
|
msgid "Are you sure you want to activate this layout?"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:169
|
|
msgid "Sorry, you can't have settings three levels deep."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:215
|
|
msgid "Option Tree"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:351
|
|
msgid "General"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:357
|
|
msgid "Sample Text Field Label"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:358
|
|
msgid "Description for the sample text field."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1460
|
|
msgid "Layout activated."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1473
|
|
msgid "Settings updated."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1477
|
|
msgid "Settings could not be saved."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1485
|
|
msgid "Settings Imported."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1489
|
|
msgid "Settings could not be imported."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1496
|
|
msgid "Data Imported."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1500
|
|
msgid "Data could not be imported."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1508
|
|
msgid "Layouts Imported."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1512
|
|
msgid "Layouts could not be imported."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1520
|
|
msgid "Layouts Updated."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1524
|
|
msgid "Layouts could not be updated."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1913
|
|
msgid "Left Sidebar"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1918
|
|
msgid "Right Sidebar"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1923
|
|
msgid "Full Width (no sidebar)"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1928
|
|
msgid "Dual Sidebar"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1933
|
|
msgid "Left Dual Sidebar"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1938
|
|
msgid "Right Dual Sidebar"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1968 includes/ot-functions-admin.php:2029
|
|
msgid "Image"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1979 includes/ot-functions-admin.php:2035
|
|
msgid "Link"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:1990 includes/ot-functions-admin.php:2041
|
|
#: includes/ot-functions-docs-page.php:43
|
|
#: includes/ot-functions-docs-page.php:367
|
|
#: includes/ot-functions-docs-page.php:417
|
|
msgid "Description"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2498
|
|
msgid "edit"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2499 includes/ot-functions-admin.php:2553
|
|
#: includes/ot-functions-admin.php:2554 includes/ot-functions-admin.php:2689
|
|
#: includes/ot-functions-admin.php:2690 includes/ot-functions-admin.php:2755
|
|
#: includes/ot-functions-admin.php:2756 includes/ot-functions-admin.php:2883
|
|
#: includes/ot-functions-admin.php:2884
|
|
msgid "Edit"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2501 includes/ot-functions-admin.php:2502
|
|
#: includes/ot-functions-admin.php:2556 includes/ot-functions-admin.php:2557
|
|
#: includes/ot-functions-admin.php:2692 includes/ot-functions-admin.php:2693
|
|
#: includes/ot-functions-admin.php:2758 includes/ot-functions-admin.php:2759
|
|
#: includes/ot-functions-admin.php:2817 includes/ot-functions-admin.php:2818
|
|
#: includes/ot-functions-admin.php:2886 includes/ot-functions-admin.php:2887
|
|
msgid "Delete"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2508
|
|
msgid ""
|
|
"<strong>Section Title</strong>: Displayed as a menu item on the Theme "
|
|
"Options page."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2516
|
|
msgid ""
|
|
"<strong>Section ID</strong>: A unique lower case alphanumeric string, "
|
|
"underscores allowed."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2563
|
|
msgid ""
|
|
"<strong>Label</strong>: Displayed as the label of a form element on the "
|
|
"Theme Options page."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2571 includes/ot-functions-admin.php:2773
|
|
msgid ""
|
|
"<strong>ID</strong>: A unique lower case alphanumeric string, underscores "
|
|
"allowed."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2579
|
|
msgid ""
|
|
"<strong>Type</strong>: Choose one of the available option types from the "
|
|
"dropdown."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2590
|
|
msgid ""
|
|
"<strong>Description</strong>: 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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2598
|
|
msgid ""
|
|
"<strong>Choices</strong>: This will only affect the following option types: "
|
|
"Checkbox, Radio, Select & Select Image."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2603
|
|
msgid "Add Choice"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2609
|
|
msgid ""
|
|
"<strong>Settings</strong>: This will only affect the List Item option type."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2614
|
|
#: includes/ot-functions-settings-page.php:93
|
|
msgid "Add Setting"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2620
|
|
msgid ""
|
|
"<strong>Standard</strong>: Setting the standard value for your option only "
|
|
"works for some option types. Read the <code>OptionTree->Documentation</code> "
|
|
"for more information on which ones."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2628
|
|
msgid ""
|
|
"<strong>Rows</strong>: Enter a numeric value for the number of rows in your "
|
|
"textarea. This will only affect the following option types: CSS, Textarea, & "
|
|
"Textarea Simple."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2636
|
|
msgid ""
|
|
"<strong>Post Type</strong>: 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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2644
|
|
msgid ""
|
|
"<strong>Taxonomy</strong>: 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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2652
|
|
msgid "<strong>CSS Class</strong>: Add and optional class to this option type."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2699 includes/ot-functions-docs-page.php:29
|
|
msgid "Label"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2709
|
|
msgid "Value"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2719
|
|
msgid "Image Source (Radio Image only)"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2765
|
|
msgid ""
|
|
"<strong>Title</strong>: Displayed as a contextual help menu item on the "
|
|
"Theme Options page."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2781
|
|
msgid ""
|
|
"<strong>Content</strong>: Enter the HTML content about this contextual help "
|
|
"item displayed on the Theme Option page for end users to read."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2812
|
|
msgid "Layout"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2814 includes/ot-functions-admin.php:2815
|
|
msgid "Activate"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2851 includes/ot-meta-box-api.php:177
|
|
#: includes/ot-settings-api.php:572
|
|
msgid "Title"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-admin.php:2977
|
|
msgid "New Layout"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:30
|
|
msgid ""
|
|
"The Label field should be a short but descriptive block of text 100 "
|
|
"characters or less with no HTML."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:32
|
|
msgid "ID"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:33
|
|
msgid ""
|
|
"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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:35
|
|
msgid "Type"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:36
|
|
msgid ""
|
|
"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 more "
|
|
"information about each type click the <code>Option Types</code> tab to the "
|
|
"left."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:44
|
|
msgid ""
|
|
"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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:46
|
|
msgid "Choices"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:47
|
|
msgid ""
|
|
"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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:49 includes/ot-ui-admin.php:30
|
|
#: includes/ot-ui-admin.php:31 includes/ot-ui-admin.php:74
|
|
#: includes/ot-ui-admin.php:98
|
|
msgid "Settings"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:50
|
|
msgid ""
|
|
"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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:52
|
|
msgid "Standard"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:53
|
|
msgid ""
|
|
"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."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:55
|
|
msgid "Rows"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:56
|
|
msgid ""
|
|
"Enter a numeric value for the number of rows in your textarea. This will "
|
|
"only affect the following option types: CSS, Textarea, & Textarea Simple."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:58
|
|
msgid "Post Type"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:59
|
|
msgid ""
|
|
"Add a comma separated list of post type like <code>post,page</code>. 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 <code>post_type</code>. At this time <code>any</code> does "
|
|
"not seem to return results properly and is something I plan on looking into."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:67
|
|
msgid "Taxonomy"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:68
|
|
msgid ""
|
|
"Add a comma separated list of any registered taxonomy like <code>category,"
|
|
"post_tag</code>. This will only affect the following option types: Taxonomy "
|
|
"Checkbox, & Taxonomy Select."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:98
|
|
msgid "Background"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:99
|
|
msgid ""
|
|
"The Background option type is for adding background styles to your theme "
|
|
"either dynamically via the CSS option type below or manually with "
|
|
"<code>ot_get_option()</code>. Background has filters that allow you to "
|
|
"change the defaults. For example, you can filter on "
|
|
"<code>ot_recognized_background_repeat</code>, "
|
|
"<code>ot_recognized_background_attachment</code>, and "
|
|
"<code>ot_recognized_background_position</code>. These filters allow you to "
|
|
"fine tune the select lists for your specific CSS needs."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:101
|
|
msgid "Category Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:102
|
|
msgid ""
|
|
"The Category Select option type displays a list of category IDs. It allows "
|
|
"the user to select only one category ID and will return that value for use "
|
|
"in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:104
|
|
msgid "Category Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:105
|
|
msgid ""
|
|
"The Category Checkbox option type displays a list of category IDs. It allows "
|
|
"the user to check multiple category IDs and will return that value as an "
|
|
"array for use in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:107
|
|
msgid "Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:108
|
|
msgid ""
|
|
"The Checkbox option type is fairly self explanatory. Typically used to ask "
|
|
"questions. For example, \"Do you want to activate asynchronous Google "
|
|
"analytics?\" would be a single checkbox with a value of yes. You could have "
|
|
"more complex usages but the idea is that you can easily grab the value of "
|
|
"the checkbox and use it in you theme. In this situation you would test if "
|
|
"the checkbox has a value and execute a block of code if it does and do "
|
|
"nothing if it doesn't."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:110
|
|
msgid "Colorpicker"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:111
|
|
msgid ""
|
|
"The Colorpicker option type saves a hexadecimal color code for use in CSS. "
|
|
"Use it to modify the color of something in your theme."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:113
|
|
msgid "CSS"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:114
|
|
msgid ""
|
|
"The CSS option type is a textarea that when used properly can add dynamic "
|
|
"CSS to your theme from within OptionTree. Unfortunately, due server "
|
|
"limitations you will need to create a file named <code>dynamic.css</code> at "
|
|
"the root level of your theme and change permissions using chmod so the "
|
|
"server can write to the file. I have had the most success setting this "
|
|
"single file to 0777 but feel free to play around with permissions until "
|
|
"everything is working. A good starting point is 0666. When the server can "
|
|
"save to the file CSS will automatically be updated each time you save your "
|
|
"theme options."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:116
|
|
msgid ""
|
|
"An example of the CSS option type: This assumes you have an option with the "
|
|
"ID of <code>custom_background_css</code> which will display the saved values "
|
|
"for that option."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:118
|
|
msgid "Input"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:124
|
|
msgid "Output"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:132
|
|
msgid "Custom Post Type Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:133
|
|
msgid ""
|
|
"The Custom Post Type Select option type displays a list of IDs from any "
|
|
"available WordPress post type or custom post type. It will return a single "
|
|
"post ID for use in a custom function or loop. Requires at least one valid "
|
|
"<code>post_type</code> when created in the settings. For some reason "
|
|
"<code>any</code> does not work correctly and will looked into in future "
|
|
"version."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:135
|
|
msgid "Custom Post Type Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:136
|
|
msgid ""
|
|
"The Custom Post Type Select option type displays a list of IDs from any "
|
|
"available WordPress post type or custom post type. It allows the user to "
|
|
"check multiple post IDs for use in a custom function or loop. Requires at "
|
|
"least one valid <code>post_type</code> when created in the settings. For "
|
|
"some reason <code>any</code> does not work correctly and will looked into in "
|
|
"future version."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:138
|
|
msgid "List Item"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:139
|
|
msgid ""
|
|
"The list Item replaced the old Slider option type. It allows for a great "
|
|
"deal of customization. You can add settings to the List Item and those "
|
|
"settings will be displayed to the user when they add a new List Item. "
|
|
"Typical use is for creating sliding content or blocks of code for custom "
|
|
"layouts."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:141
|
|
msgid "Measurement"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:142
|
|
msgid ""
|
|
"The Measurement option type is a mix of input and select fields. The text "
|
|
"input excepts a value and the select lets you choose the unit of measurement "
|
|
"to add to that value. Currently the default units are <code>px</code>, <code>"
|
|
"%</code>, <code>em</code>, <code>pt</code>. However, you can change them "
|
|
"with the <code>ot_measurement_unit_types</code> filter."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:144
|
|
msgid ""
|
|
"Example filter to add new units to the Measurement option type. Added to "
|
|
"<code>functions.php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:157
|
|
msgid ""
|
|
"Example filter to completely change the units in the Measurement option "
|
|
"type. Added to <code>functions.php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:172
|
|
msgid "Page Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:173
|
|
msgid ""
|
|
"The Page Select option type displays a list of page IDs. It will return a "
|
|
"single page ID for use in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:175
|
|
msgid "Page Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:176
|
|
msgid ""
|
|
"The Page Select option type displays a list of page IDs. It allows the user "
|
|
"to check multiple page IDs for use in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:178
|
|
msgid "Post Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:179
|
|
msgid ""
|
|
"The Post Select option type displays a list of post IDs. It will return a "
|
|
"single post ID for use in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:181
|
|
msgid "Post Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:182
|
|
msgid ""
|
|
"The Post Select option type displays a list of post IDs. It allows the user "
|
|
"to check multiple post IDs for use in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:184
|
|
msgid "Radio"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:185
|
|
msgid ""
|
|
"The Radio option type could ask a question. For example, \"Do you want to "
|
|
"activate the custom navigation?\" could require a yes or no answer with a "
|
|
"radio option. In this situation you would test if the radio has a value of "
|
|
"'yes' and execute a block of code, or if it's 'no' execute a different block "
|
|
"of code."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:187
|
|
msgid "Radio Image"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:188
|
|
msgid ""
|
|
"the Radio Images option type is primarily used for layouts. However, you can "
|
|
"filter the image list using <code>ot_radio_images</code>. As well, you can "
|
|
"add your own custom images using the choices array."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:190
|
|
msgid ""
|
|
"This example executes the <code>ot_radio_images</code> filter on layout "
|
|
"images attached to the <code>my_radio_images</code> field. Added to "
|
|
"<code>functions.php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:214
|
|
msgid "Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:215
|
|
msgid ""
|
|
"The Select option type is used to list anything you want that would be "
|
|
"chosen from a select list."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:217
|
|
msgid "Slider"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:218
|
|
msgid ""
|
|
"The Slider option type is technically deprecated. Use the List Item option "
|
|
"type instead, as it's infinitely more customizable. Typical use is for "
|
|
"creating sliding image content."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:220
|
|
msgid "Tag Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:221
|
|
msgid ""
|
|
"The Tag Checkbox option type displays a list of tag IDs. It allows the user "
|
|
"to check multiple tag IDs and will return that value as an array for use in "
|
|
"a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:223
|
|
msgid "Tag Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:224
|
|
msgid ""
|
|
"The Tag Select option type displays a list of tag IDs. It allows the user to "
|
|
"select only one tag ID and will return that value for use in a custom "
|
|
"function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:226
|
|
msgid "Taxonomy Checkbox"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:227
|
|
msgid ""
|
|
"The Taxonomy Checkbox option type displays a list of taxonomy IDs. It allows "
|
|
"the user to check multiple taxonomy IDs and will return that value as an "
|
|
"array for use in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:229
|
|
msgid "Taxonomy Select"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:230
|
|
msgid ""
|
|
"The Taxonomy Select option type displays a list of taxonomy IDs. It allows "
|
|
"the user to select only one taxonomy ID and will return that value for use "
|
|
"in a custom function or loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:232
|
|
msgid "Text (Input)"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:233
|
|
msgid ""
|
|
"The Text option type would be used to save a string value. For example, a "
|
|
"link to feedburner, your Twitter username, or Google Analytics ID are all "
|
|
"good candidates. Any optional or required text that is of reasonably short "
|
|
"character length."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:235
|
|
msgid "Textarea"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:236
|
|
msgid ""
|
|
"The Textarea option type is a large string value used for custom code or "
|
|
"text in the theme. The new Textarea has a WYSIWYG editor that can be "
|
|
"filtered to change the buttons shown. For example, you can filter on "
|
|
"<code>wpautop</code>, <code>media_buttons</code>, <code>tinymce</code>, and "
|
|
"<code>quicktags</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:238
|
|
msgid ""
|
|
"Example filters to alter the Textarea option type. Added to <code>functions."
|
|
"php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:240
|
|
msgid ""
|
|
"This example keeps WordPress from executing the <code>wpautop</code> filter "
|
|
"on the line breaks. The default is <code>true</code> which means it wraps "
|
|
"line breaks with an HTML <code>p</code> tag."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:253
|
|
msgid ""
|
|
"This example keeps WordPress from executing the <code>media_buttons</code> "
|
|
"filter on the textarea WYSIWYG. The default is <code>true</code> which means "
|
|
"show the buttons."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:266
|
|
msgid ""
|
|
"This example keeps WordPress from executing the <code>tinymce</code> filter "
|
|
"on the textarea WYSIWYG. The default is <code>true</code> which means show "
|
|
"the tinymce."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:279
|
|
msgid ""
|
|
"This example alters the <code>quicktags</code> filter on the textarea "
|
|
"WYSIWYG. The default is <code>array( 'buttons' => 'strong,em,link,block,del,"
|
|
"ins,img,ul,ol,li,code,spell,close' )</code> which means show those "
|
|
"quicktags. It also means you can filter in your own custom quicktags."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:294
|
|
msgid "Textarea Simple"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:295
|
|
msgid ""
|
|
"The Textarea Simple option type is a large string value used for custom code "
|
|
"or text in the theme. The new Textarea Simple does not have a WYSIWYG "
|
|
"editor. But you can still filter on <code>wpautop</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:297
|
|
msgid ""
|
|
"This example tells WordPress to execute the <code>wpautop</code> filter on "
|
|
"the line breaks. The default is <code>false</code> which means it does not "
|
|
"wraps line breaks with an HTML <code>p</code> tag. Added to <code>functions."
|
|
"php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:310
|
|
msgid "Textblock"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:311
|
|
msgid ""
|
|
"The Textblock option type is used only on the Theme Option page. It will "
|
|
"allow you to create & display HTML on your Theme Options page but has no "
|
|
"title above the text block. You can then use the Textblock to add a more "
|
|
"detailed set of instruction on how the options are used in your theme. You "
|
|
"would NEVER use this in your themes template files as it does not save a "
|
|
"value."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:313
|
|
msgid "Textblock Titled"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:314
|
|
msgid ""
|
|
"The Textblock Titled option type is used only on the Theme Option page. It "
|
|
"will allow you to create & display HTML on your Theme Options page and has a "
|
|
"title above the text block. You can then use the Textblock Titled to add a "
|
|
"more detailed set of instruction on how the options are used in your theme. "
|
|
"You would NEVER use this in your themes template files as it does not save a "
|
|
"value."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:316
|
|
msgid "Typography"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:317
|
|
msgid ""
|
|
"The Typography option type is for adding typographic styles to your theme "
|
|
"either dynamically via the CSS option type below or manually with "
|
|
"<code>ot_get_option()</code>. Typography has filters that allow you to "
|
|
"change the defaults. For example, you can filter on "
|
|
"<code>ot_recognized_font_styles</code>, <code>ot_recognized_font_weights</"
|
|
"code>, <code>ot_recognized_font_variants</code>, and "
|
|
"<code>ot_recognized_font_families</code>. These filters allow you to fine "
|
|
"tune the select lists for your specific CSS needs. The most important one "
|
|
"though is <code>ot_recognized_font_families</code> as you can add your "
|
|
"Google Fonts to create custom font stacks."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:319
|
|
msgid ""
|
|
"This example would filter <code>ot_recognized_font_families</code> to build "
|
|
"your own font stack. Added to <code>functions.php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:336
|
|
msgid "Upload"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:337
|
|
msgid ""
|
|
"The Upload option type is used to upload any WordPress supported media. "
|
|
"After uploading, users are required to press the \"Send to OptionTree\" "
|
|
"button in order to populate the input with the URI of that media. There is "
|
|
"one caveat of this feature. If you import the theme options and have "
|
|
"uploaded media on one site the old URI will not reflect the URI of your new "
|
|
"site. You'll have to re-upload or FTP any media to your new server and "
|
|
"change the URIs if necessary."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:369
|
|
msgid ""
|
|
"This function returns a value from the \"option_tree\" array of saved values "
|
|
"or the default value supplied. The returned value would be mixed. Meaning it "
|
|
"could be a string, integer, boolean, or array."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:371
|
|
#: includes/ot-functions-docs-page.php:421
|
|
msgid "Usage"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:375
|
|
#: includes/ot-functions-docs-page.php:425
|
|
msgid "Parameters"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:379
|
|
#: includes/ot-functions-docs-page.php:383
|
|
#: includes/ot-functions-docs-page.php:429
|
|
msgid "string"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:379
|
|
#: includes/ot-functions-docs-page.php:429
|
|
msgid "required"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:379
|
|
msgid "Enter the options unique identifier."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:379
|
|
#: includes/ot-functions-docs-page.php:429
|
|
msgid "Default:"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:379
|
|
#: includes/ot-functions-docs-page.php:383
|
|
#: includes/ot-functions-docs-page.php:429
|
|
#: includes/ot-functions-docs-page.php:433
|
|
msgid "None"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:383
|
|
#: includes/ot-functions-docs-page.php:433
|
|
#: includes/ot-functions-docs-page.php:437
|
|
#: includes/ot-functions-docs-page.php:441
|
|
#: includes/ot-functions-docs-page.php:445
|
|
msgid "optional"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:383
|
|
msgid ""
|
|
"Enter a default return value. This is just incase the request returns null."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:383
|
|
#: includes/ot-functions-docs-page.php:433
|
|
#: includes/ot-functions-docs-page.php:437
|
|
#: includes/ot-functions-docs-page.php:441
|
|
#: includes/ot-functions-docs-page.php:445
|
|
msgid "Default"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:413
|
|
msgid ""
|
|
"This function has been deprecated. That means it has been replaced by a new "
|
|
"function or is no longer supported, and may be removed from future versions. "
|
|
"All code that uses this function should be converted to use its replacement."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:415
|
|
msgid "Use"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:415
|
|
msgid "instead"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:419
|
|
msgid ""
|
|
"This function returns, or echos if asked, a value from the \"option_tree\" "
|
|
"array of saved values."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:429
|
|
msgid "Enter a unique Option Key to get a returned value or array."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:433
|
|
msgid "array"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:433
|
|
msgid "Used to cut down on database queries in template files."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:437
|
|
#: includes/ot-functions-docs-page.php:441
|
|
msgid "boolean"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:437
|
|
msgid "Echo the output."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:441
|
|
msgid "Used to indicate the $item_id is an array of values."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:445
|
|
msgid "integer"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:445
|
|
msgid ""
|
|
"Numeric offset key for the $item_id array, -1 will return all values (an "
|
|
"array starts at 0)."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:473
|
|
msgid ""
|
|
"If you're using the plugin version of OptionTree it is highly recommended to "
|
|
"include a <code>function_exists</code> check in your code, as described in "
|
|
"the examples below. If you've integrated OptionTree directly into your "
|
|
"themes root directory, you will <strong>not</strong> need to wrap your code "
|
|
"with <code>function_exists</code>, as you're guaranteed to have the "
|
|
"<code>ot_get_option()</code> function available."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:475
|
|
msgid "String Examples"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:477
|
|
msgid "Returns the value of <code>test_input</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:483
|
|
msgid ""
|
|
"Returns the value of <code>test_input</code>, but also has a default value "
|
|
"if it returns empty."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:489
|
|
msgid "Array Examples"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:491
|
|
msgid ""
|
|
"Assigns the value of <code>navigation_ids</code> to the variable <code>$ids</"
|
|
"code>. It then echos an unordered list of links (navigation) using "
|
|
"<code>wp_list_pages()</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:511
|
|
msgid ""
|
|
"The next two examples demonstrate how to use the <strong>Measurement</"
|
|
"strong> option type. The Measurement option type is an array with two key/"
|
|
"value pairs. The first is the value of measurement and the second is the "
|
|
"unit of measurement."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:537
|
|
msgid "This example displays a very basic slider loop."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:582
|
|
msgid "It's Super Simple"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:584
|
|
msgid ""
|
|
"Layouts make your theme awesome! With theme options data that you can save/"
|
|
"import/export you can package themes with different color variations, or "
|
|
"make it easy to do A/B testing on text and so much more. Basically, you save "
|
|
"a snapshot of your data as a layout."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:586
|
|
msgid ""
|
|
"Once you have created all your different layouts, or theme variations, you "
|
|
"can save them to a separate text file for repackaging with your theme. "
|
|
"Alternatively, you could just make different variations for yourself and "
|
|
"change your theme with the click of a button, all without deleting your "
|
|
"previous options data."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:588
|
|
msgid ""
|
|
" Adding a layout is ridiculously easy, follow these steps and you'll be on "
|
|
"your way to having a WordPress super theme."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:590
|
|
msgid "For Developers"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:593
|
|
#: includes/ot-functions-docs-page.php:623
|
|
msgid "Creating a Layout"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:595
|
|
#: includes/ot-functions-docs-page.php:602
|
|
#: includes/ot-functions-docs-page.php:608
|
|
msgid "Go to the <code>OptionTre->Settings->Layouts</code> tab."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:596
|
|
msgid ""
|
|
"Enter a name for your layout in the text field and hit \"Save Layouts\", "
|
|
"you've created your first layout."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:597
|
|
#: includes/ot-functions-docs-page.php:627
|
|
msgid "Adding a new layout is as easy as repeating the steps above."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:600
|
|
#: includes/ot-functions-docs-page.php:630
|
|
msgid "Activating a Layout"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:603
|
|
msgid "Click on the activate layout button in the actions list."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:606
|
|
#: includes/ot-functions-docs-page.php:636
|
|
msgid "Deleting a Layout"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:609
|
|
msgid "Click on the delete layout button in the actions list."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:612
|
|
#: includes/ot-functions-docs-page.php:641
|
|
msgid "Edit Layout Data"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:614
|
|
#: includes/ot-functions-docs-page.php:625
|
|
#: includes/ot-functions-docs-page.php:632
|
|
msgid "Go to the <code>Appearance->Theme Options</code> page."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:615
|
|
#: includes/ot-functions-docs-page.php:644
|
|
msgid ""
|
|
"Modify and save your theme options and the layout will be updated "
|
|
"automatically."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:616
|
|
#: includes/ot-functions-docs-page.php:645
|
|
msgid ""
|
|
"Saving theme options data will update the currently active layout, so before "
|
|
"you start saving make sure you want to modify the current layout."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:617
|
|
msgid ""
|
|
"If you want to edit a new layout, first create it then save your theme "
|
|
"options."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:620
|
|
msgid "End-Users Mode"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:626
|
|
msgid ""
|
|
"Enter a name for your layout in the text field and hit \"New Layout\", "
|
|
"you've created your first layout."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:633
|
|
msgid ""
|
|
"Choose a layout from the select list and click the \"Activate Layout\" "
|
|
"button."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:638
|
|
msgid "End-Users mode does not allow deleting layouts."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:643
|
|
msgid "Go to the <code>Appearance->Theme Options</code> tab."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:674
|
|
#: includes/ot-functions-docs-page.php:756
|
|
msgid "How-to-guide"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:676
|
|
msgid ""
|
|
"There are a few simple steps you need to take in order to use OptionTree's "
|
|
"built in Meta Box API. In the code below I'll show you a basic demo of how "
|
|
"to create your very own custom meta box using any number of the option types "
|
|
"you have at your disposal. If you would like to see some demo code, there is "
|
|
"a directory named <code>theme-mode</code> inside the <code>assets</code> "
|
|
"directory that contains a file named <code>demo-meta-boxes.php</code> you "
|
|
"can reference."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:678
|
|
msgid ""
|
|
"It's important to note that Meta Boxes do not support WYSIWYG editors at "
|
|
"this time and if you set one of your options to Textarea it will "
|
|
"automatically revert to a Textarea Simple until a valid solution is found. "
|
|
"WordPress released this statement regarding the wp_editor() function:"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:680
|
|
msgid ""
|
|
"Once instantiated, the WYSIWYG editor cannot be moved around in the DOM. "
|
|
"What this means in practical terms, is that you cannot put it in meta-boxes "
|
|
"that can be dragged and placed elsewhere on the page."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:682
|
|
msgid "Create and include your custom meta boxes file."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:684
|
|
msgid ""
|
|
"Create a file and name it anything you want, maybe <code>meta-boxes.php</"
|
|
"code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:685
|
|
msgid ""
|
|
"As well, you'll probably want to create a directory named <code>includes</"
|
|
"code> to put your <code>meta-boxes.php</code> into which will help keep you "
|
|
"file structure nice and tidy."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:686
|
|
#: includes/ot-functions-docs-page.php:791
|
|
msgid "Add the following code to your <code>functions.php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:696
|
|
msgid ""
|
|
"Add a variation of the following code to your <code>meta-boxes.php</code>. "
|
|
"You'll obviously need to fill it in with all your custom array values. It's "
|
|
"important to note here that we use the <code>admin_init</code> filter "
|
|
"because if you were to call the <code>ot_register_meta_box</code> function "
|
|
"before OptionTree was loaded the sky would fall on your head."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:758
|
|
msgid ""
|
|
"There are a few simple steps you need to take in order to use OptionTree as "
|
|
"a theme included module. In the code below I'll show you a basic demo of how "
|
|
"to include the entire plugin as a module, which will allow you to have the "
|
|
"most up-to-date version of OptionTree without ever needing to hack the core "
|
|
"of the plugin. If you would like to see some demo code, there is a directory "
|
|
"named <code>theme-mode</code> inside the <code>assets</code> directory that "
|
|
"contains a file named <code>demo-theme-options.php</code> you can reference."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:760
|
|
msgid "Step 1: Include the plugin & turn on theme mode."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:762
|
|
msgid ""
|
|
"Download the latest version of <a href=\"http://wordpress.org/extend/plugins/"
|
|
"option-tree/\" rel=\"nofollow\" target=\"_blank\">OptionTree</a>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:763
|
|
msgid "Unpack the ZIP archive."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:764
|
|
msgid ""
|
|
"Put the <code>option-tree</code> directory in the root of your theme. For "
|
|
"example, the server path would be <code>/wp-content/themes/theme-name/option-"
|
|
"tree/</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:765
|
|
msgid ""
|
|
"Add the following code to the beginning of your <code>functions.php</code>."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:785
|
|
msgid ""
|
|
"It's that simple! You now have OptionTree built into your theme and anytime "
|
|
"there's an update to the plugin you just replace the old version and you're "
|
|
"good to go.."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:787
|
|
msgid "Step 2: Create Theme Options without using the UI Builder."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:789
|
|
msgid ""
|
|
"Create a file and name it anything you want, maybe <code>theme-options.php</"
|
|
"code>, or use the built in file export to create it for you. Remember, you "
|
|
"should always check the file for errors before including it in your theme."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:790
|
|
msgid ""
|
|
"As well, you'll probably want to create a directory named <code>includes</"
|
|
"code> to put your <code>theme-options.php</code> into which will help keep "
|
|
"you file structure nice and tidy."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:801
|
|
msgid ""
|
|
"Add a variation of the following code to your <code>theme-options.php</"
|
|
"code>. You'll obviously need to fill it in with all your custom array values "
|
|
"for contextual help (optional), sections (required), and settings (required)."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-docs-page.php:804
|
|
msgid ""
|
|
"The code below is a boilerplate to get your started. For a full list of the "
|
|
"available option types click the \"Option Types\" tab above. Also a quick "
|
|
"note, you don't need to put OptionTree in theme mode to manually create "
|
|
"options but you will want to hide the docs and settings as each time you "
|
|
"load the admin area the settings be be written over with the code below if "
|
|
"they've changed in any way. However, this ensures your settings do not get "
|
|
"tampered with by the end-user."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:46
|
|
msgid "Sorry, this function does not exist"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:107
|
|
msgid "background-repeat"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:116
|
|
msgid "background-attachment"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:125
|
|
msgid "background-position"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:140
|
|
#: includes/ot-functions-option-types.php:1671
|
|
msgid "Add Media"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:210
|
|
#: includes/ot-functions-option-types.php:264
|
|
msgid "No Categories Found"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:259
|
|
#: includes/ot-functions-option-types.php:519
|
|
#: includes/ot-functions-option-types.php:758
|
|
#: includes/ot-functions-option-types.php:942
|
|
#: includes/ot-functions-option-types.php:1196
|
|
#: includes/ot-functions-option-types.php:1312
|
|
msgid "Choose One"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:467
|
|
#: includes/ot-functions-option-types.php:525
|
|
#: includes/ot-functions-option-types.php:893
|
|
#: includes/ot-functions-option-types.php:948
|
|
msgid "No Posts Found"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:596
|
|
#: includes/ot-functions-option-types.php:835
|
|
msgid "Add New"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:599
|
|
#: includes/ot-functions-option-types.php:838
|
|
msgid "You can re-order with drag & drop, the order will update after saving."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:709
|
|
#: includes/ot-functions-option-types.php:764
|
|
msgid "No Pages Found"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:1147
|
|
#: includes/ot-functions-option-types.php:1201
|
|
msgid "No Tags Found"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-option-types.php:1260
|
|
#: includes/ot-functions-option-types.php:1317
|
|
msgid "No Taxonomies Found"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:35
|
|
msgid "Warning!"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:36
|
|
msgid ""
|
|
"Go to the %s page if you want to save data, this page is for adding settings."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:37
|
|
msgid ""
|
|
"If you're unsure or not completely positive that you should be editing these "
|
|
"settings, you should read the %s first."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:38
|
|
msgid ""
|
|
"Things could break or be improperly displayed to the end-user if you do one "
|
|
"of the following:"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:39
|
|
msgid ""
|
|
"Give two sections the same ID, give two settings the same ID, give two "
|
|
"contextual help content areas the same ID, don't create any settings, or "
|
|
"have a section at the end of the settings list."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:40
|
|
msgid ""
|
|
"You can create as many settings as your project requires and use them how "
|
|
"you see fit. When you add a setting here, it will be available on the Theme "
|
|
"Options page for use in your theme. To separate your settings into sections, "
|
|
"click the \"Add Section\" button, fill in the input fields, and a new "
|
|
"navigation menu item will be created."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:41
|
|
msgid ""
|
|
"All of the settings can be sorted and rearranged to your liking with Drag & "
|
|
"Drop. Don't worry about the order in which you create your settings, you can "
|
|
"always reorder them."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:92
|
|
msgid "Add Section"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:94
|
|
#: includes/ot-functions-settings-page.php:133
|
|
#: includes/ot-ui-theme-options.php:42
|
|
msgid "Save Changes"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:99
|
|
msgid "Contextual Help"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:103
|
|
msgid "Contextual Help Sidebar"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:103
|
|
msgid ""
|
|
"If you decide to add contextual help to the Theme Option page, enter the "
|
|
"optional \"Sidebar\" HTML here. This would be an extremely useful place to "
|
|
"add links to your themes documentation or support forum. Only after you've "
|
|
"added some content below will this display to the user."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:132
|
|
msgid "Add Contextual Help Content"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:168
|
|
msgid ""
|
|
"This import method has been deprecated. That means it has been replaced by a "
|
|
"new method and is no longer supported, and may be removed from future "
|
|
"versions. All themes that use this import method should be converted to use "
|
|
"its replacement below."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:170
|
|
msgid ""
|
|
"If you were given a Theme Options XML file with a premium or free theme, "
|
|
"locate it on your hard drive and upload that file by clicking the blue "
|
|
"upload button. A popup window will appear, upload the XML file and click "
|
|
"\"Send to OptionTree\". The file URL should be in the upload input, if it is "
|
|
"click \"Import XML\"."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:173
|
|
msgid "Import XML"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:189
|
|
msgid "Add XML"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:226
|
|
msgid ""
|
|
"To import your Settings copy and paste what appears to be a random string of "
|
|
"alpha numeric characters into this textarea and press the \"Import Settings"
|
|
"\" button."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:229
|
|
msgid "Import Settings"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:271
|
|
msgid ""
|
|
"Only after you've imported the Settings should you try and update your Theme "
|
|
"Options."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:273
|
|
msgid ""
|
|
"To import your Theme Options copy and paste what appears to be a random "
|
|
"string of alpha numeric characters into this textarea and press the \"Import "
|
|
"Theme Options\" button."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:276
|
|
msgid "Import Theme Options"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:318
|
|
msgid ""
|
|
"Only after you've imported the Settings should you try and update your "
|
|
"Layouts."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:320
|
|
msgid ""
|
|
"To import your Layouts copy and paste what appears to be a random string of "
|
|
"alpha numeric characters into this textarea and press the \"Import Layouts\" "
|
|
"button. Keep in mind that when you import your layouts, the active layout's "
|
|
"saved data will write over the current data set for your Theme Options."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:323
|
|
msgid "Import Layouts"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:366
|
|
msgid ""
|
|
"Export your Settings into a fully functional <code>theme-options.php</code> "
|
|
"file by clicking this button. For more information on how to use this file "
|
|
"read the theme mode %s. Remember, you should always check the file for "
|
|
"errors before including it in your theme."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:373
|
|
msgid "Export Settings File"
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:403
|
|
msgid ""
|
|
"Export your Settings by highlighting this text and doing a copy/paste into a "
|
|
"blank .txt file. Then save the file for importing into another install of "
|
|
"WordPress later. Alternatively, you could just paste it into the "
|
|
"<code>OptionTree->Settings->Import</code> <strong>Settings</strong> textarea "
|
|
"on another web site."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:439
|
|
msgid ""
|
|
"Export your Theme Options data by highlighting this text and doing a copy/"
|
|
"paste into a blank .txt file. Then save the file for importing into another "
|
|
"install of WordPress later. Alternatively, you could just paste it into the "
|
|
"<code>OptionTree->Settings->Import</code> <strong>Theme Options</strong> "
|
|
"textarea on another web site."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:475
|
|
msgid ""
|
|
"Export your Layouts by highlighting this text and doing a copy/paste into a "
|
|
"blank .txt file. Then save the file for importing into another install of "
|
|
"WordPress later. Alternatively, you could just paste it into the "
|
|
"<code>OptionTree->Settings->Import</code> <strong>Layouts</strong> textarea "
|
|
"on another web site."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:517
|
|
msgid ""
|
|
"To add a new layout enter a unique lower case alphanumeric string (dashes "
|
|
"allowed) in the text field and click \"Save Layouts\"."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:518
|
|
msgid ""
|
|
"As well, you can activate, remove, and drag & drop the order; all situations "
|
|
"require you to click \"Save Layouts\" for the changes to be applied."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:519
|
|
msgid ""
|
|
"When you create a new layout it will become active and any changes made to "
|
|
"the Theme Options will be applied to it. If you switch back to a different "
|
|
"layout immediately after creating a new layout that new layout will have a "
|
|
"snapshot of the current Theme Options data attached to it."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:520
|
|
msgid ""
|
|
"Visit <code>OptionTree->Documentation->Layouts Overview</code> to see a more "
|
|
"in-depth description of what layouts are and how to use them."
|
|
msgstr ""
|
|
|
|
#: includes/ot-functions-settings-page.php:557
|
|
msgid "Save Layouts"
|
|
msgstr ""
|
|
|
|
#: includes/ot-settings-api.php:346
|
|
msgid "Reset Options"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:19 includes/ot-ui-admin.php:20
|
|
msgid "OptionTree"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:36 includes/ot-ui-admin.php:131
|
|
#: includes/ot-ui-theme-options.php:40
|
|
msgid "Theme Options updated."
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:37 includes/ot-ui-admin.php:132
|
|
#: includes/ot-ui-theme-options.php:41
|
|
msgid "Theme Options reset."
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:38 includes/ot-ui-admin.php:133
|
|
msgid "Save Settings"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:44
|
|
msgid "Theme Options UI"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:48
|
|
msgid "Import"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:52
|
|
msgid "Export"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:56 includes/ot-ui-admin.php:86
|
|
#: includes/ot-ui-admin.php:110
|
|
msgid "Layouts"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:62
|
|
msgid "Theme Options UI Builder"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:68
|
|
msgid "Settings XML"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:80 includes/ot-ui-admin.php:104
|
|
#: includes/ot-ui-theme-options.php:34 includes/ot-ui-theme-options.php:35
|
|
msgid "Theme Options"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:92
|
|
msgid "Settings PHP File"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:116
|
|
msgid "Add, Activate, & Remove Layouts"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:125 includes/ot-ui-admin.php:126
|
|
msgid "Documentation"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:139
|
|
msgid "Creating Options"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:143
|
|
msgid "Option Types"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:147
|
|
msgid "Function References"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:151 includes/ot-ui-admin.php:193
|
|
msgid "Theme Mode"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:155 includes/ot-ui-admin.php:199
|
|
msgid "Meta Boxes"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:159
|
|
msgid "Code Examples"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:163
|
|
msgid "Layouts Overview"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:169
|
|
msgid "Overview of available Theme Option fields."
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:175
|
|
msgid "Option types in alphabetical order & hooks to filter them."
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:181
|
|
msgid "Function Reference:ot_get_option()"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:187
|
|
msgid "Function Reference:get_option_tree()"
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:205
|
|
msgid "Code examples for front-end development."
|
|
msgstr ""
|
|
|
|
#: includes/ot-ui-admin.php:211
|
|
msgid "What's a layout anyhow?"
|
|
msgstr ""
|