Title: shortcode not working/conditional load
Last modified: June 22, 2020

---

# shortcode not working/conditional load

 *  Resolved [sporkme](https://wordpress.org/support/users/sporkme/)
 * (@sporkme)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-conditional-load/)
 * Hi,
 * Using the premium version, but I assume these are the same. I wanted to try the“
   conditional loading” feature, but since I use the picker within CF7, I didn’t
   have a shortcode. I added this in the template with `do_shortcode('[datetimepicker');`
   but all that does is literally echo out the text. Is the shortcode no longer 
   a supported method? Does the premium version use a different shortcode?

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

 *  [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * (@carlosmoreirapt)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-conditional-load/#post-13034858)
 * Hi [@sporkme](https://wordpress.org/support/users/sporkme/)
    If you’re using 
   Pro, please contact me using the form at [https://cmoreira.net/date-time-picker-wordpress-plugin/](https://cmoreira.net/date-time-picker-wordpress-plugin/)
   since we’re not allowed to discuss Pro version issues on these foruns, per WordPress
   guidelines.
 * The shortcode is only to load the necessary files, not the field itself. You 
   should simply use a text field and have the [datetimepicker] shortcode on the
   page somewhere to make sure the files load. We can follow up after you contact
   me using the form. Greetings, Carlos
 *  Thread Starter [sporkme](https://wordpress.org/support/users/sporkme/)
 * (@sporkme)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-conditional-load/#post-13036581)
 * Thanks.
 * Trying to send on your site now. Sitting at a stalled spinner on the “send” button
   though, so not sure it’s going to go through. Second try right now w/adblocker
   disabled.
 *  Thread Starter [sporkme](https://wordpress.org/support/users/sporkme/)
 * (@sporkme)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-conditional-load/#post-13036748)
 * Yeah, your contact form is broken. 401s on all the POST requests when looking
   at the inspector. Is there another way to contact you?
 *  [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * (@carlosmoreirapt)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-conditional-load/#post-13038233)
 * Sorry [@sporkme](https://wordpress.org/support/users/sporkme/) , you’re right,
   the form was broken (rest api issue). It should be fixed now. Sorry for this.

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

The topic ‘shortcode not working/conditional load’ is closed to new replies.

 * ![](https://ps.w.org/date-time-picker-field/assets/icon.svg?rev=2964043)
 * [Availability Datepicker – Booking Calendar for Contact Form 7 – Input WP](https://wordpress.org/plugins/date-time-picker-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/date-time-picker-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/date-time-picker-field/)
 * [Active Topics](https://wordpress.org/support/plugin/date-time-picker-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/date-time-picker-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/date-time-picker-field/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-not-working-conditional-load/#post-13038233)
 * Status: resolved