Forum Replies Created
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
exposuredesignMemberSorry ….. i’d added the remove_post_type_support for post but not pages! Sorry. Working fine now.
exposuredesignMemberSo after some testing it’s pretty much all fields added by piklist except those in repeater fields?!
What on earth could have caused this and failed so silently?
exposuredesignMemberThat’s essentially what I did, I’ve posted my code below.
piklist('field', array( 'type' => 'radio' ,'field' => 'news_sidebar_conditional' ,'label' => __('Does this news item have a sidebar?', 'piklist-demo') ,'choices' => array( 'show' => 'Yes' ,'hide' => 'No' ) ,'value' => 'hide' )); piklist('field', array( 'type' => 'editor' ,'field' => 'news_sidebar' ,'scope' => 'post_meta' ,'template' => 'field' ,'options' => array ( 'wpautop' => true ,'media_buttons' => true ,'tabindex' => '' ,'editor_css' => '' ,'editor_class' => '' ,'teeny' => false ,'dfw' => false ,'tinymce' => true ,'quicktags' => true ,'drag_drop_upload' => true ) ,'on_post_status' => array( 'value' => 'lock' ) ,'conditions' => array( array( 'field' => 'news_sidebar_conditional' ,'value' => 'show' ) ) ));
exposuredesignMemberHey. Currently using v0.9.9.9 and trying to do a simple conditional with the field being hidden as an editor, but it refuses to hide/show.
Can you confirm if this is possible in the latest version?
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)