• Resolved dani_brain

    (@dani_brain)


    Hey guys, I have a problem, I need to change the default options for a “List-item” option in Option tree . Right now the default are “Title/Image/Link/Descriptions” .. I want to remove them and add my own. I have written this code:

    ` array(
    ‘id’ => ‘academic_success_content’,
    ‘label’ => ‘Academic Success Content’,
    ‘desc’ => ‘Enter the academic success content. It will appear in the home page in list items format’,
    ‘std’ => ”,
    ‘type’ => ‘list-item’,
    ‘section’ => ‘academic_perfomance’,
    ‘settings’ => array(
    array(
    ‘id’ => ‘academic_success’,
    ‘label’ => ‘Academic Success’,
    ‘type’ => ‘textarea-simple’,
    )
    )
    ),`

    but when i preview the themes options , the default list item “title” is still there and i only want to see the Academic Success textarea. What should i do? I’m using option tree v2.4

    https://wordpress.org/plugins/option-tree/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Creating custom options for "List-item" option in Option Tree’ is closed to new replies.