Title: Adding shortcodes
Last modified: August 22, 2016

---

# Adding shortcodes

 *  [nwp_developer](https://wordpress.org/support/users/nwp_developer/)
 * (@nwp_developer)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/)
 * It looks like the developer documentation for adding new shortcodes to the pagebuilder
   is not up to date.
    [http://www.woorockets.com/docs/wr-pagebuilder-user-manual/](http://www.woorockets.com/docs/wr-pagebuilder-user-manual/)
 * I can’t seem to be able to add any shortcodes other than helloworld. From my 
   tests, I can’t seem to find any reference to an array of short codes registered
   anywhere in the plugin. Registering new plugins in main.php or define.php doesn’t
   seem to make a difference.
 * If I change the name of a current plugin like divider to dividers where the folder,
   php file, if and the class name all say dividers the shortcode stops working.
 * How can I add new shortcodes to the plugin?
 * [https://wordpress.org/plugins/wr-pagebuilder/](https://wordpress.org/plugins/wr-pagebuilder/)

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

 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/#post-5689767)
 * Hi [@nwp_developer](https://wordpress.org/support/users/nwp_developer/),
 * We have just updated the documentation and sample addon package so you can have
   a look, please recheck.
 * Best regards,
 * Adam.
 *  Thread Starter [nwp_developer](https://wordpress.org/support/users/nwp_developer/)
 * (@nwp_developer)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/#post-5689782)
 * Hi Adam.
    Thanks for the update. I think the reason why the adding new shortcodes
   only works intermittently is because the shortcodes are not being updated regularly
   when wr_pagebuilder is launched.
 * Is there a way to reload the shortcodes without having to uninstall or deactivate
   the plugin? It doesn’t look like the option _wp_pb_reload_shortcodes is working
   when set to true.
 * If not can you point me in the right direction to modify this?
 * Cheers
 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/#post-5689847)
 * Hi [@nwp_developer](https://wordpress.org/support/users/nwp_developer/),
 * As you can see in the documentation, the custom element should be implemented
   as WR PageBuilder addon (just play around with the sample addon package and you
   will see).
 * So there’s no need to uninstall / deactivate the WR PageBuilder, just deactivate
   the addon plugin if you got any problem.
 *  [themasumhossain](https://wordpress.org/support/users/themasumhossain/)
 * (@themasumhossain)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/#post-5689927)
 * Hi Adam,
    I am having similar issues as [@nwp_developer](https://wordpress.org/support/users/nwp_developer/)
   in adding new shortcodes via the sample addon package you provided on your site.
   It seems there’s a problem in loading the newly created shortcodes in the page
   builder.
 * Can you please provide a fix or a clue on how can we fix this issue.
 * I tried several times with the sample code and it doesn’t work as expected.
 * Best Regards,
    Masum
 *  Plugin Contributor [Adam](https://wordpress.org/support/users/hieudm/)
 * (@hieudm)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/#post-5689951)
 * Hi [@nwp_developer](https://wordpress.org/support/users/nwp_developer/), [@themasumhossain](https://wordpress.org/support/users/themasumhossain/),
 * Actually, at the moment we’re still working with the plugin core so the addon
   function might not work 100% perfectly with additional shortcodes.
 * At first, we’re finishing all remaining necessary bug fixes and core improvement
   then we will check the shortcode function. Please keep in touch with use via 
   social channel or subscribe to plugin repository to get notification when the
   code is updated.
 * Best regards,
 * Adam.

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

The topic ‘Adding shortcodes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wr-pagebuilder_4b6759.svg)
 * [Page Builder by WooRockets.com](https://wordpress.org/plugins/wr-pagebuilder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wr-pagebuilder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wr-pagebuilder/)
 * [Active Topics](https://wordpress.org/support/plugin/wr-pagebuilder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wr-pagebuilder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wr-pagebuilder/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Adam](https://wordpress.org/support/users/hieudm/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/adding-shortcodes-2/#post-5689951)
 * Status: not resolved