How to add PHP snippets?

You can add code into your functions.php file in child-theme or use WP Code plugin function.php method Appearance → Theme File Editor and select Theme Functions file in sidebar. Use child-theme otherwise snippet will be overwritten/lost after update. WPCode plugin method WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager … Continue reading How to add PHP snippets?