Preview:
	// add apple touch icons dynamically and canonical URLs for all pages
    document.head.insertAdjacentHTML("beforeend",
        `<link rel="apple-touch-icon" href="<?php echo $theme_assets_url;?>/img/touch-icon-iphone.png" />
				<link rel="apple-touch-icon" sizes="72x72" href="<?php echo $theme_assets_url;?>/img/touch-icon-ipad.png" />
				<link rel="apple-touch-icon" sizes="114x114" href="<?php echo $theme_assets_url;?>/img/touch-icon-iphone4.png" />
				<link rel="apple-touch-icon" sizes="144x144" href="<?php echo $theme_assets_url;?>/img/touch-icon-retina-ipad.png" />
				<link rel='canonical' href="<?php echo $site_url;?><?php echo basename($_SERVER['PHP_SELF'], '.php')?>" />`
		)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter