Occasionally, normally due to ‘filters’, you will need to add some snippets of custom PHP to get the desired results.
Using Code Snippet Plugin #
The easiest way for less technical webmasters is to use a code snippet plugin.
We recommend WP Code plugin and publish all our code snippets on the
WP Code Snippet Library.
Create a custom code plugin #
It might sound daunting writing a plugin but it is not that hard. Find your wp-content/plugins directory and create a subfolder with any name you fancy, e.g. wp-content/plugins/my-custom-code and in that folder create a file called index.php and add the following code:
Add your custom code to the file, save and then go to plugins and activate.