- This topic has 7 replies, 3 voices, and was last updated 5 years, 5 months ago by
Steve.
-
AuthorPosts
-
-
August 17, 2016 at 8:57 am #7172
smallgreenpinkyParticipantWordpress version: 4.6
File: wp-content/plugins/piklist/includes/class-piklist-form.php on line 923Additional:
Appearing on the page/post edit (using latest Divi builder and theme for this site) -
August 25, 2016 at 3:09 am #7243
-
August 25, 2016 at 3:25 am #7245
vayuMemberMy text field is not saving the text. I then read this thread https://piklist.com/support/topic/editor-field-not-saving-data/. If I remove the scope parameter, the warning disappears. However, then the text is saved to the postmeta table, which is not what I want. It is the post_content field, and I want it saved to the posts table.
This is how I set the wysiwyg field:piklist( 'field', array( 'type' => 'editor', 'scope' => 'post', 'field' => 'post_content', 'label' => 'Evt. tekst besked', 'value' => '', 'options' => array ( 'wpautop' => true, 'media_buttons' => false, 'tabindex' => '', 'editor_css' => '', 'editor_class' => '', 'teeny' => false, 'dfw' => false, 'tinymce' => true, 'quicktags' => true ) ) ); -
August 25, 2016 at 11:19 pm #7249
-
August 26, 2016 at 2:12 am #7252
vayuMemberHi Steve.
The custom post type is called “invoice”. No the default editor is not visible. I have not set it to support it in the code.$post_types['invoice'] = array( 'labels' => $labels, 'title' => __( 'Enter a new Demo Title' ), 'publicly_queryable' => true, 'exclude_from_search' => true, 'map_meta_cap' => true, 'capability_type' => array('invoice', 'invoices'), 'public' => true, 'hierarchical' => false, 'rewrite' => array( 'slug' => 'faktura', 'with_front' => true, 'pages' => true ), 'supports' => array( 'author', 'revisions', 'title', 'comments', ) ); return $post_types; -
August 27, 2016 at 3:05 am #7259
smallgreenpinkyParticipantLove how my thread gets hijacked and I’m ignored.
-
August 29, 2016 at 5:20 am #7265
vayuMember@smallgreenpinky, I don’t think you are being ignored. My problem is identical to mine and I have given you a possible solution. Steve is trying to help by getting some more info. 🙂
-
August 29, 2016 at 8:47 pm #7277
SteveKeymaster@smallgreenpinky– Sorry about that. Not our intention. If you switch to the WordPress standard theme does the message go away?
@vayu– I don’t see anything wrong here. Try copying the editor code from the Piklist Demos and use that. See if that helps.
-
-
AuthorPosts
- You must be logged in to reply to this topic.