Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
webidia
ParticipantThanks for the update, I believe this resolves all the issues, will let you know if I find anything else.
webidia
ParticipantThanks for fixing the notice issue. Everything working well now. I am having issues with hiding
image_selecttitles and dividers. I tried using the examples in the documentation and like in your previous post but they are still displaying no matter what.If you could point me in the right direction on what I might be doing wrong that would be great. Here is the sample for reference:
array( 'id' => 'wf_meta_post_audio_type', 'name' => __( 'Audio Type', 'framework' ), 'type' => 'image_select', 'tab' => 'audio', 'options' => array( 'audio_upload' => 'http://placehold.it/90x90&text=Header 1', 'audio_embed' => 'http://placehold.it/90x90&text=Header 2', 'audio_external' => 'http://placehold.it/90x90&text=Header 2', ), ), // Divider array( 'id' => 'wf_meta_post_audio_type_divider', 'name' => 'Audio Options', 'type' => 'divider', 'tab' => 'audio', 'hidden' => array('wf_meta_post_audio_type', '!=', 'audio_upload'), ), array( 'name' => __('MP3 Audio File', 'framework'), 'id' => "wf_meta_post_audio_mp3_upload", 'desc' => __('Upload the MP3 audio file.', 'framework'), 'type' => 'file_advanced', 'tab' => 'audio', 'max_file_uploads' => 1, 'hidden' => array('wf_meta_post_audio_type', '!=', 'audio_upload'), ),webidia
ParticipantAdditionally I can't seem to hide any fields with the type
file_advancedbut other fields seems to work. -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)