ACE custom field not working
-
Hi,
I am using WP 4.6.1 and APF 3.8.4.
I am trying to setup an ACE field to allow my users to enter HTML/CSS/JS/PHP into a field however when using the field type
ace
no field shows up however the title and description do.Would you be able to offer some guidance please.
Site Status:
https://gist.github.com/BHWD/1c2036ffa50bb7c3690821c38e12ef30Code used:
public function load_dat_settings_dat_custom_template( $oAdminPage ) { $this->addSettingFields( array( // Ace 'field_id' => 'dat_custom_template_html', 'type' => 'ace', 'title' => 'Custom Template code', 'description' => 'Please enter your custom template code here. You are able to use the following shortcodes within your content to retrive the testiomonial data. A sample template can be found in the file <code>sample-custom-template.php</code>', ), array( // Submit button 'field_id' => 'ct_submit_button', 'type' => 'submit', 'value' => 'Update Custom Template', ) ); }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘ACE custom field not working’ is closed to new replies.