put js in footer of site.
<script charset="utf-8" type="text/javascript">var switchTo5x=true;</script>
<script charset="utf-8" type="text/javascript" src="//ws.sharethis.com/button/buttons.js"></script>
<script charset="utf-8" type="text/javascript">stLight.options({"publisher":"wp.c3d3647e-de70-4780-b71d-6b739fad685a"});var st_type="wordpress4.3.1";</script>
+ <?php if ( in_array( $post->ID, array( 221, 228, 465 ) ) ) : ?>
+ <script src="<?php echo get_stylesheet_directory_uri() ; ?>/assets/smartbanner/smartbanner.js"></script>
+ <?php endif; ?>
</body>
</html>
<meta name="smartbanner:icon-apple" content="<?php echo get_stylesheet_directory_uri() ; ?>/assets/smartbanner/smartbanner.png">
<meta name="smartbanner:icon-google" content="<?php echo get_stylesheet_directory_uri() ; ?>/assets/smartbanner/smartbanner.png">
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/smartbanner/smartbanner.css">
- <script src="<?php echo get_stylesheet_directory_uri() ; ?>/assets/smartbanner/smartbanner.js"></script>
<?php endif; ?>
</head>