Updated: 3 July 2022Array
The code snippet below is to add certain code to a specific page header .
Example of use when I am working on the Tantra-log Podcast page where the client wants to use the dedicated microphone favicon on that page only. (Notes: We use Oxygen Builder for build that page.)
Please replace and adjust the parts as you need.
<?php add_action('wp_head', 'tantralog_favicon'); function tantralog_favicon(){ if(is_page(3540)) { ?> <link ref="icon" href="https://dijan.co/wp-content/uploads/2021/04/podcast-icon.svg"> <?php } };
Notes: 3540 is page ID