Knowledge Base > How To’s > Customizations > How to Add Twitter Like to Showthread

in CustomizationsHow To’s

I am going to walk you through how we added Twitter Like to our showthread page as you see here on our website.

Before we start visit Twitter / Twitter buttons and select the button you want to use. We used share a link.

  1. Login to your admincp
  2. Click on Styles & Templates
  3. Click Style Manager
  4. Find your skin and press the > button to modify your templates.
  5. Find the Showthread Template group and expand
  6. Modify the showthread template
  7. Locate the below code and paste in your Twitter Like code

Find

Code:
	<vb:if condition="$show['fb_likebutton']">
		{vb:raw fblikebutton}
	</vb:if>

Paste Below

Code:
<a href="https://twitter.com/share">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Save template and your are done.