How to add custom code snippets

Adding PHP snippets

Please try using the Code Snippets plugin for adding and managing custom PHP code snippets.

Adding CSS snippets

You can add custom CSS snippets in the Appearance > Customize > Additional CSS section.

Using a child theme

If you have some coding experience and plan to make the advanced customizations to your site, we recommend creating a child theme. Then you can add custom PHP snippets to the child theme's functions.php file, and any CSS code snippets can be added to the style.css file. 

You can try using a plugin like this one to generate a child theme in a few clicks. Please remove or deactivate the plugin once the child theme is generated.

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