Title: Shortcode   Scheduled Posts
Last modified: August 21, 2016

---

# Shortcode Scheduled Posts

 *  [purrdesign](https://wordpress.org/support/users/purrdesign/)
 * (@purrdesign)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-scheduled-posts/)
 * With the most recent update (2.1.6) of this plugin there appears to be a bug 
   related to shortcodes and scheduled posts. Whereas before the output was working
   fine with the [cft format=0] shortcode, with the most recent version, the output
   does not work ONLY IF the post is set to scheduled. Basically, nothing shows 
   up where the template should be. But if the post is a draft, or once it’s published,
   then it works fine again. Strange.
 * [http://wordpress.org/extend/plugins/custom-field-template/](http://wordpress.org/extend/plugins/custom-field-template/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [purrdesign](https://wordpress.org/support/users/purrdesign/)
 * (@purrdesign)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-scheduled-posts/#post-3934895)
 * Update: this error also appears with this issue, showing up when Previewing a
   scheduled post (again, not published or draft):
 * Warning: array_map() [function.array-map]: Argument #2 should be an array in/
   home/public_html/wp-content/plugins/custom-field-template/custom-field-template.
   php on line 303
 *  [Andrew](https://wordpress.org/support/users/andrewspear/)
 * (@andrewspear)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-scheduled-posts/#post-3934988)
 * I can confirm the same issue with v2.1.6 and the absence of shortcodes in scheduled
   posts.
 *  [marcusjwilson](https://wordpress.org/support/users/marcusjwilson/)
 * (@marcusjwilson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/shortcode-scheduled-posts/#post-3934999)
 * I’m seeing this same error in the “Custom Field” column in the WP Post listing
   screen for Posts with “Private” status. This seems to just apply to Posts that
   were added after the CFT 2.1.6 update.
 * > Warning: array_map() [function.array-map]: Argument #2 should be an array in/
   > home/public_html/wp-content/plugins/custom-field-template/custom-field-template.
   > php on line 303
 * Fix for this would be appreciated.
 * Marcus
 *  Thread Starter [purrdesign](https://wordpress.org/support/users/purrdesign/)
 * (@purrdesign)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/shortcode-scheduled-posts/#post-3935019)
 * Any status on a fix for this? I’ve been reverting all my clients to version 2.1.5
   because that appears to be the last version that did not cause this error. And
   it’s tough when one is in the habit of always keeping everything updated to keep
   using an old version like this.
 * Fix would be greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode Scheduled Posts’ is closed to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [purrdesign](https://wordpress.org/support/users/purrdesign/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/shortcode-scheduled-posts/#post-3935019)
 * Status: not resolved