
The problem may have been caused by a rogue plugin overwriting the functionality, but I managed to fix it by adding a functions.php file to my custom theme (in the root directory) with the following code:
Get notified of the best deals on our WordPress themes.