WordPress.org

Ready to get started?Download WordPress

Forums

Options Framework
[resolved] Listing categories in Options framework backend? (3 posts)

  1. Faruk
    Member
    Posted 1 year ago #

    In many of my projects i needed to list categories in select box (input). But, in your documentation is just explaind how to add it manualy (option by option). I need select box to fetch automaticly all created post categories.

    Thanks in advance!

    http://wordpress.org/extend/plugins/options-framework/

  2. Faruk
    Member
    Posted 1 year ago #

    This is my code:

    http://pastebin.com/aQqv8vB4

    I get just one category in select box. I need help :)

    Tnx

  3. Faruk
    Member
    Posted 1 year ago #

    I find solution:

    $options[] = array(
          'name' => __('Music live section', 'options_check'),
          'desc' => __('Choose category for music live section.', 'options_check'),
          'id' => 'music_section',
          'std' => 'three',
          'type' => 'select',
          'class' => 'mini',
          'options' => $options_categories
        );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic