Title: Feature Request: Shortcodes!
Last modified: November 1, 2019

---

# Feature Request: Shortcodes!

 *  [Chad Reitsma](https://wordpress.org/support/users/chadreitsma/)
 * (@chadreitsma)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/)
 * Hey guys,
 * Big fan of your work but it causes such a major performance hit on PageSpeed 
   Insights that we have to disable it on the home-page. Driving most customers 
   to the /contact page where they can then see the live-chat is active.
 * It would be awesome if you guys could provide a shortcode that displays a “We
   are online / offline graphic” and then pops-up the chat if a user clicks on it.
 * I know we already have the ability to pop-up the chat with a class or ID, but
   if there was a nice native shortcode available that would be sweet-heat!
 * Keep up the great work!
 * Cheers,
    C.

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

 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12095120)
 * Hello [@chadreitsma](https://wordpress.org/support/users/chadreitsma/), we’ll
   consider your feature request for one future version. Thanks for your suggestion!
 * We’re working to reduce the load of the plugin and optimize its performance. 
   If you have performance issues and you’re using On Premise chat server, try to
   switch Server Chat to 3CX High Performance Cloud Servers.
 * You can also disable some resources intensive features like “Enable Manual Chat
   Initiation” if you’re not using it.
 *  Thread Starter [Chad Reitsma](https://wordpress.org/support/users/chadreitsma/)
 * (@chadreitsma)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12100548)
 * Hey guys,
    Appreciate the quick response 🙂
 * From what I can see in your code the main performance hits are coming from:
    
   1. You are re-queuing jQuery all over the place, this should only be needed if
   the theme hasn’t queued jQuery already (as 99% of them already do, not sure why
   this is here). 2. None of the JS resources are loaded into the footer with wp_register_script
   so PageSpeed Insights is having a hissy-fit.
 * If the extra jQuery enqueues were removed and the wp_register_scripts all had
   dependencies added for jQuery I think this would solve the issues that PageSpeed
   Insights is detecting.
 * We force dequeue and re-queue jQuery into the footer of our themes so that anything
   that has the jQuery dependency will follow it into the footer.
 * Cheers,
    Chad
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12102200)
 * Hello [@chadreitsma](https://wordpress.org/support/users/chadreitsma/), thanks
   for your suggestion.
    If you check our code, you see that every single script
   is loaded with wp_register_script()/wp_enqueue_script() wordpress functions.
 * JQuery is added as dependency when it’s needed: if you queue multiple times, 
   it’s loaded only one time. No issues here.
 * You’re right saying we could move scripts to the footer. It’s something we’re
   working on, but some scripts have issues when loaded from there and require some
   changes.
 * Stay tuned for next update with a performance speedup!
 *  Thread Starter [Chad Reitsma](https://wordpress.org/support/users/chadreitsma/)
 * (@chadreitsma)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12112847)
 * Hey guys,
 * I see that you are using the correct wp_register_script, but you are missing 
   the last argument of that function (bool $in_footer = false), so your scripts
   are defaulting to false / loading in the head.
 * Looking forward to the next updates, you guys rock! 😀
    -  This reply was modified 6 years, 7 months ago by [Chad Reitsma](https://wordpress.org/support/users/chadreitsma/).
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12121901)
 * Hello [@chadreitsma](https://wordpress.org/support/users/chadreitsma/), we just
   released version 8.1.4 that fixes several performance issues. Let us know if 
   it works better for you!
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12127274)
 * Hello [@chadreitsma](https://wordpress.org/support/users/chadreitsma/), about
   the other feature you requested (shortcodes). Take a look at Gutenberg blocks,
   should be a good alternative. Give us some feedback!
 *  Thread Starter [Chad Reitsma](https://wordpress.org/support/users/chadreitsma/)
 * (@chadreitsma)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12129973)
 * Hey guys,
    Unfortunately we disable Gutenberg but thank-you for the consideration.
 *  Thread Starter [Chad Reitsma](https://wordpress.org/support/users/chadreitsma/)
 * (@chadreitsma)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12129985)
 * The performance optimizations don’t seem to improve the PageSpeed score – You
   guys should really test your dev sites with: [https://developers.google.com/speed/pagespeed/insights/](https://developers.google.com/speed/pagespeed/insights/)
 * See if you can get 90+ while jQuery is deferred into the footer 😉
 * Cheers,
    C.
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12133143)
 * Hello [@chadreitsma](https://wordpress.org/support/users/chadreitsma/), we’re
   still implementing optimizations for our plugin. If you check the code, you see
   that every single resource is loaded with WordPress functions and from the footer,
   except for emoji library that needs to be in the header.
    All JS loading is handled
   by WordPress and we have only very tiny parts of inline code (we’ll remove them).
   We never load jQuery ourselves, it’s loaded by WP, we only set the dependency.
   We’re also considering removing jQuery dependency for a performance boost. We
   also want to distribute merged and minimized js code for better performance, 
   together with clear js. This transition will require some time but we’re working
   on it.
 * Thanks for your feedback, always welcome!

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

The topic ‘Feature Request: Shortcodes!’ is closed to new replies.

 * ![](https://ps.w.org/wp-live-chat-support/assets/icon-256x256.png?rev=2405258)
 * [3CX Free Live Chat, Calls & Messaging](https://wordpress.org/plugins/wp-live-chat-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-live-chat-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-live-chat-support/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-live-chat-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-live-chat-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-live-chat-support/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/feature-request-shortcodes/#post-12133143)
 * Status: not a support question