Title: Internal CSS and scripts
Last modified: October 4, 2016

---

# Internal CSS and scripts

 *  Resolved [springboard-seo](https://wordpress.org/support/users/springboard-seo/)
 * (@springboard-seo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/internal-css-and-scripts-2/)
 * Hi,
 * I was using SSBA on my blog, but disabled it because of the internal CSS and 
   Facebook SDK script added to all pages, even though I’d set the plugin to display
   on posts only. Is there a way to eliminate the following code from pages, and
   keep it on posts only?
 * **Internal JS**
 *     ```
       <script>(function(d, s, id){
       	 var js, fjs = d.getElementsByTagName(s)[0];
       	 if (d.getElementById(id)) {return;}
       	 js = d.createElement(s); js.id = id;
       	 js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.6";
       	 fjs.parentNode.insertBefore(js, fjs);
          }(document, 'script', 'facebook-jssdk'));</script>
   
       <strong>Internal CSS</strong>
   
       <style type="text/css">	.ssba {						
   
       	}
       	.ssba img
       	{
       		width: 35px !important;
       		padding: 6px;
       		border:  0;
       		box-shadow: none !important;
       		display: inline !important;
       		vertical-align: middle;
       	}
       	.ssba, .ssba a
       	{
       		text-decoration:none;
       		border:0;
       		background: none;
       		font-family: Indie Flower;
       		font-size: 	20px;
   
       		font-weight: bold;
       	}
       </style>
       ```
   
 * **Call to external stylesheet**
 * `<link rel='stylesheet' id='ssbaFont-css' href='//fonts.googleapis.com/css?family
   =Indie+Flower&ver=7748950e511cc34fa6b83d5172ee0cae' type='text/css' media='all'/
   >`
 * **Call to external JS**
 * `<script type='text/javascript' src='https://mitchellwhale.com/wp-content/plugins/
   simple-share-buttons-adder/js/ssba.min.js' defer='defer'></script>`
 * If I’m going to use the plugin, I don’t want unnecessary code and server calls
   on WP pages, where the plugin isn’t being used.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Gemini23](https://wordpress.org/support/users/gemini23/)
 * (@gemini23)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/internal-css-and-scripts-2/#post-8264852)
 * You could use ‘plugin organiser’ and then switch off the plugin where it isn’t
   used..
 *  Thread Starter [springboard-seo](https://wordpress.org/support/users/springboard-seo/)
 * (@springboard-seo)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/internal-css-and-scripts-2/#post-8265582)
 * [@gemini23](https://wordpress.org/support/users/gemini23/) That plugin is _awesome_,
   thanks a ton!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Internal CSS and scripts’ is closed to new replies.

 * ![](https://ps.w.org/simple-share-buttons-adder/assets/icon-256x256.png?rev=2661516)
 * [Simple Share Buttons Adder](https://wordpress.org/plugins/simple-share-buttons-adder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-share-buttons-adder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-share-buttons-adder/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-share-buttons-adder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-share-buttons-adder/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [springboard-seo](https://wordpress.org/support/users/springboard-seo/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/internal-css-and-scripts-2/#post-8265582)
 * Status: resolved