list-item returning "array" instead of list
-
So I’m trying to give the option to make a list of features. In my theme-options.php file I have the following code:
array( 'id' => 'feat_list_items', 'label' => __( 'List', 'sandl' ), 'type' => 'list-item', 'section' => 'general' )
I’m calling it in the theme like so:
<?php echo ot_get_option( 'feat_list_items' ); ?>
The problem is that it just adds the word “array” to the page instead of the list of items I’ve added using the theme options interface.
Any ideas out there to what I might being doing wrong?
Any help is, as always, greatly appreciated.
thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘list-item returning "array" instead of list’ is closed to new replies.