Advertisement
Beee

site-options json

Feb 1st, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.65 KB | None | 0 0
  1. {
  2.     "key": "group_57d969e87f4bc",
  3.     "title": "Site options",
  4.     "fields": [
  5.         {
  6.             "key": "field_5a4ad213c14da",
  7.             "label": "Active countries",
  8.             "name": "sd_active_countries",
  9.             "type": "checkbox",
  10.             "instructions": "",
  11.             "required": 1,
  12.             "conditional_logic": 0,
  13.             "wrapper": {
  14.                 "width": "",
  15.                 "class": "",
  16.                 "id": ""
  17.             },
  18.             "choices": {
  19.                 "nl": "Netherlands",
  20.                 "be": "Belgium",
  21.                 "lu": "Luxembourg",
  22.                 "de": "Germany",
  23.                 "uk": "United Kingdom",
  24.                 "cz": "Czech Republic",
  25.                 "us": "United States"
  26.             },
  27.             "allow_custom": 0,
  28.             "save_custom": 0,
  29.             "default_value": [],
  30.             "layout": "horizontal",
  31.             "toggle": 0,
  32.             "return_format": "array"
  33.         },
  34.         {
  35.             "key": "field_5a46d634599c4",
  36.             "label": "Posts per block",
  37.             "name": "sd_posts_per_block",
  38.             "type": "number",
  39.             "instructions": "",
  40.             "required": 0,
  41.             "conditional_logic": 0,
  42.             "wrapper": {
  43.                 "width": "",
  44.                 "class": "",
  45.                 "id": ""
  46.             },
  47.             "default_value": "",
  48.             "placeholder": "Site wide value for amount of posts per 'block'",
  49.             "prepend": "",
  50.             "append": "",
  51.             "min": "",
  52.             "max": "",
  53.             "step": ""
  54.         },
  55.         {
  56.             "key": "field_57d969f897fa2",
  57.             "label": "Support email",
  58.             "name": "sd_support_email",
  59.             "type": "email",
  60.             "instructions": "",
  61.             "required": 0,
  62.             "conditional_logic": 0,
  63.             "wrapper": {
  64.                 "width": "",
  65.                 "class": "",
  66.                 "id": ""
  67.             },
  68.             "default_value": "",
  69.             "placeholder": "",
  70.             "prepend": "",
  71.             "append": ""
  72.         },
  73.         {
  74.             "key": "field_59dfbe3e2956f",
  75.             "label": "NSFW filter",
  76.             "name": "sd_nsfw_filter",
  77.             "type": "true_false",
  78.             "instructions": "",
  79.             "required": 0,
  80.             "conditional_logic": 0,
  81.             "wrapper": {
  82.                 "width": "",
  83.                 "class": "",
  84.                 "id": ""
  85.             },
  86.             "message": "Check this to hide all NSFW images",
  87.             "default_value": 0,
  88.             "ui": 0,
  89.             "ui_on_text": "",
  90.             "ui_off_text": ""
  91.         },
  92.         {
  93.             "key": "field_59fe51ed0d8f7",
  94.             "label": "Google Tag Manager",
  95.             "name": "sd_google_tag_manager",
  96.             "type": "text",
  97.             "instructions": "",
  98.             "required": 0,
  99.             "conditional_logic": 0,
  100.             "wrapper": {
  101.                 "width": "",
  102.                 "class": "",
  103.                 "id": ""
  104.             },
  105.             "default_value": "",
  106.             "placeholder": "",
  107.             "prepend": "",
  108.             "append": "",
  109.             "maxlength": ""
  110.         },
  111.         {
  112.             "key": "field_5a50cf0d784cd",
  113.             "label": "Show dummy sexdate",
  114.             "name": "sd_show_dummy_sexdate",
  115.             "type": "true_false",
  116.             "instructions": "",
  117.             "required": 0,
  118.             "conditional_logic": 0,
  119.             "wrapper": {
  120.                 "width": "",
  121.                 "class": "",
  122.                 "id": ""
  123.             },
  124.             "message": "Check this to show dummy for admins only",
  125.             "default_value": 0,
  126.             "ui": 0,
  127.             "ui_on_text": "",
  128.             "ui_off_text": ""
  129.         },
  130.         {
  131.             "key": "field_5a648c7c5b7bf",
  132.             "label": "Hide dummy sexdate",
  133.             "name": "sd_hide_dummy_sexdate",
  134.             "type": "select",
  135.             "instructions": "",
  136.             "required": 0,
  137.             "conditional_logic": 0,
  138.             "wrapper": {
  139.                 "width": "",
  140.                 "class": "",
  141.                 "id": ""
  142.             },
  143.             "choices": [
  144.                 "Hide for all",
  145.                 "Show for admins"
  146.             ],
  147.             "default_value": [],
  148.             "allow_null": 0,
  149.             "multiple": 0,
  150.             "ui": 0,
  151.             "ajax": 0,
  152.             "return_format": "value",
  153.             "placeholder": ""
  154.         },
  155.         {
  156.             "key": "field_5a50cf49f7e24",
  157.             "label": "Dummy sexdate",
  158.             "name": "sd_dummy_sexdate",
  159.             "type": "post_object",
  160.             "instructions": "",
  161.             "required": 0,
  162.             "conditional_logic": 0,
  163.             "wrapper": {
  164.                 "width": "",
  165.                 "class": "",
  166.                 "id": ""
  167.             },
  168.             "post_type": [
  169.                 "sexdate"
  170.             ],
  171.             "taxonomy": [],
  172.             "allow_null": 1,
  173.             "multiple": 0,
  174.             "return_format": "id",
  175.             "ui": 1
  176.         },
  177.         {
  178.             "key": "field_5a50da70be4f9",
  179.             "label": "Intro title",
  180.             "name": "sd_intro_title",
  181.             "type": "text",
  182.             "instructions": "",
  183.             "required": 0,
  184.             "conditional_logic": 0,
  185.             "wrapper": {
  186.                 "width": "",
  187.                 "class": "",
  188.                 "id": ""
  189.             },
  190.             "default_value": "",
  191.             "placeholder": "",
  192.             "prepend": "",
  193.             "append": "",
  194.             "maxlength": ""
  195.         },
  196.         {
  197.             "key": "field_5a50da80be4fa",
  198.             "label": "Intro content",
  199.             "name": "sd_intro_content",
  200.             "type": "text",
  201.             "instructions": "",
  202.             "required": 0,
  203.             "conditional_logic": 0,
  204.             "wrapper": {
  205.                 "width": "",
  206.                 "class": "",
  207.                 "id": ""
  208.             },
  209.             "default_value": "",
  210.             "placeholder": "",
  211.             "prepend": "",
  212.             "append": "",
  213.             "maxlength": ""
  214.         }
  215.     ],
  216.     "location": [
  217.         [
  218.             {
  219.                 "param": "options_page",
  220.                 "operator": "==",
  221.                 "value": "sd8-settings"
  222.             }
  223.         ]
  224.     ],
  225.     "menu_order": 0,
  226.     "position": "normal",
  227.     "style": "default",
  228.     "label_placement": "left",
  229.     "instruction_placement": "label",
  230.     "hide_on_screen": "",
  231.     "active": 1,
  232.     "description": "",
  233.     "modified": 1516539213
  234. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement