Textarea don't work
-
Hi there,
Using the textarea_html doesn’t work. When I enter text and save it it doesn’t save the data, do you know what I did wrong?
global $kc; $kc->add_map( array( 'cs_text' => array( 'name' => __('Text', 'cs'), 'description' => __('Add a simpel textarea', 'cs'), 'icon' => 'fa-align-left', 'category' => 'Content', 'params' => array( array( 'name' => 'content', 'type' => 'textarea_html', ) ) ) ) ); add_shortcode('cs_text', 'cs_text'); function cs_text($atts) { return $atts['content']; }
Kind regards,
Yanick
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Textarea don't work’ is closed to new replies.