Forum Replies Created
-
AuthorPosts
-
redsoxfan99ParticipantCorrect. I understand this. So the Piklist Editor does not do this?
redsoxfan99ParticipantSo when I create a custom template, I can just call WordPress function ‘the_content()’ and if a shortocde is in the the MAIN WP Editor it gets displayed without have to use the filter. screenshots attached. So I do not understand your reasoning. On this page, I can place the Salesforce Form Shortocde in the Pages Main WordPRess Editor and it works. But this page has meta boxes below the Main Editor and has been coded to display a Piklist Editor. When I place the same shortcode in the Piklist Editor is not processing the shortcode correctly.
So I think we might be getting confused. Looks like the original developer created a custom template with custom Piklist fields to create an editor.
Attachments:
You must be logged in to view attached files.
redsoxfan99ParticipantSteve,
thanks for the information. Again being new to Piklist, I see a WYSIWYG Editor in WordPress I assume that placing a shortcode there would get processed correctly. Thanks for letting me know that when you have an Pikslit Editor you have to do the extra step to process the shortocde. I guess when I was looking at the files, the original author has this code for the Editor and so I assumed that shortcodes would be working as when you look at the array options I see shortcode_buttons = true and wpautop = true.
function tab_fields($index = 0) { return array( array( 'type' => 'text', 'field' => 'tab_title', 'label' => 'Tab Title', 'columns' => 12 ), array( 'type' => 'editor', 'field' => 'editor_content', 'label' => 'Post Content', 'template' => 'field', 'options' => array( 'wpautop' => true, 'media_buttons' => true, 'shortcode_buttons' => true, 'teeny' => false, 'dfw' => false, 'quicktags' => true, 'drag_drop_upload' => true, 'tinymce' => array( 'resize' => false, 'wp_autoresize_on' => true ) ),I will give it a try.
Thanks,
Darren
redsoxfan99ParticipantOK after weeks of no support I am not sure what to do. I have inherited this site that uses piklist. The page uses a piklist editor but when I place a short code from a salesforce form plugin, the editor just dumps out the shortcode. So I tried another short code and the same. The Piklist Editor is not processing the shortcode and sees it as normal text. I have saved the shortcode multiple times in the Piklist editor and nothing. The shortcode DOES WORK in the Normal WordPRess Editor but not the PIKLIST Editor. Can someone please help.
This is NOT a shortcode I created within Piklist. This is a shortcode from another plugin. We have an option on a page where it uses a PIKLIST Editor to enter extra content.
Attachments:
You must be logged in to view attached files.
redsoxfan99ParticipantI am a bit confused. This shortcode is from this plugin: https://brilliantplugins.com/downloads/salesforce/
I am not creating a shortcode. I am using the one provided by the plugin.
Let me know if you need anything else.
Thanks again for the help.
redsoxfan99ParticipantSteve thanks for the welcome and quick response. I have placed the shortcode both ways in visual and text and saved the page and still the same. I placed some plain text in there to show you that content is being pulled over just the shortcode is not being processed correctly.
Attachments:
You must be logged in to view attached files. -
AuthorPosts