Adding custom code to Groundhogg

The best place to add custom code in Groundhogg is in a custom plugin, that way you can deactivate it if you make a mistake or your code stops working.

Download our example plugin from Github and upload it to your site.

Installing the custom plugin.

Download the example plugin from GitHub and upload it to your site like any other plugin.

Making modifications/Adding code.

Whenever you make modifications you should deactivate the plugin, then you can add your code using the WordPress plugin editor.

  • Deactivate the Groundhogg Modifications plugin
  • Go to the plugin editor
  • Select the Groundhogg Modifications plugin
  • Add your code
  • Re-activate the Groundhogg Modifications plugin.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us