Choose an insertion method
Posted: Tue Apr 22, 2025 8:50 am
Note: You can also use a free WPCode plugin . However, upgrading to the premium plugin will give you access to a cloud-based snippet library, code reviews, and more.
After activation, visit the Code Snippets ” + Add Snippet page from your WordPress dashboard.
This will take you to the snippet library, where you can add custom code to your website by clicking the “Use snippet” button under the “Add custom code (new snippet)” option.
However, if you want to use a ready-made code snippet, simply click on the “Use Snippet” button below the option.
Click the Use Snippet button under a premade code snippet
If you add a custom code snippet, simply paste it into the “Code Preview” box.
Then, scroll down to the “Insertion” section and choose the “Automatic Insertion” mode. The code will luxembourg telemarketing data automatically run on your website after activating the snippet.
Finally, visit the top of the page and toggle the inactive switch to active. After that, just click the “Update” button to save the settings.
You have now successfully added the code snippet to your WordPress site.
Activate and update the code snippet
For more detailed instructions, check out our beginner’s guide on how to easily add custom code in WordPress .
Expert Tip: If you're afraid of using custom code to customize your website, don't worry because we've got you covered.
WPBeginner now offers website design services at super affordable prices. With a dedicated project manager, we bring your ideas to life.
Whether it's a simple blog or a full WooCommerce store, our team will take care of setting up your WordPress site. We'll also make sure it's as successful as possible by building it with SEO in mind.
After activation, visit the Code Snippets ” + Add Snippet page from your WordPress dashboard.
This will take you to the snippet library, where you can add custom code to your website by clicking the “Use snippet” button under the “Add custom code (new snippet)” option.
However, if you want to use a ready-made code snippet, simply click on the “Use Snippet” button below the option.
Click the Use Snippet button under a premade code snippet
If you add a custom code snippet, simply paste it into the “Code Preview” box.
Then, scroll down to the “Insertion” section and choose the “Automatic Insertion” mode. The code will luxembourg telemarketing data automatically run on your website after activating the snippet.
Finally, visit the top of the page and toggle the inactive switch to active. After that, just click the “Update” button to save the settings.
You have now successfully added the code snippet to your WordPress site.
Activate and update the code snippet
For more detailed instructions, check out our beginner’s guide on how to easily add custom code in WordPress .
Expert Tip: If you're afraid of using custom code to customize your website, don't worry because we've got you covered.
WPBeginner now offers website design services at super affordable prices. With a dedicated project manager, we bring your ideas to life.
Whether it's a simple blog or a full WooCommerce store, our team will take care of setting up your WordPress site. We'll also make sure it's as successful as possible by building it with SEO in mind.