Prefer to keep your recipe cards clear of automatic links from your Tasty Links keywords? No problem!
If you're interested in using the Tasty Links exclusion option, you (or your site manager/developer) will need to add the following snippet to your site's functions.php file:
/** * Prevent Tasty Links from appearing inside Tasty Recipes recipe cards. */
add_action(
'init', function() {
// Remove Tasty Links from Tasty Recipes description, notes, ingredients, and instructions.
remove_filter( 'tasty_recipes_the_content', array(
'Tasty_LinksIntegrationsTasty_Recipes',
'filter_tasty_recipes_content' )
);
});
***Before doing this, make sure that you have access to your site's files via FTP (the editor in WordPress is not sufficient in case problems arise) and that you are comfortable with editing your functions.php file. Any minor error in the functions.php file can result in the “white screen of death,” which is easily fixed via FTP but is difficult to fix otherwise (and a nuisance as your site will be unavailable until fixed).***