Custom Snippet

Use this tool to share WordPress snippets with the community.

  Save Snippet
function add_prism() {
		if ( is_single( array( 17, 19, 1, 11 ) ) { ?>
<link rel="stylesheet" href="/wp-content/uploads/prism.css">
<script type="text/javascript" src="/wp-content/uploads/prism.js"></script>
	<?php }
     }
add_action('wp_footer', 'add_prism');