Part 4. How to add social media buttons

Read the following tutorial and learn how you can add social media actions to Publisher’s Plone theme.

Social media buttons can be inserted into any place on the page using portlets. Go to the desired location and click on the “Manage portlets” item on the toolbar. Choose location for the portlet (Plone Leftcolumn, Plone Rightcolumn, or Plone Footerportlets). Choose Static Text Portlet from the “Add portlet…” drop down on the page. Add portlet title, e.g. Find Us On. Add the following HTML code (replacing '#' signs with your URLs):

<ul class="social-icons">
<li class="btn-social"><a class="btn-facebook btn-social fa-facebook fa" href="#"><em>.</em></a></li>
<li class="btn-social"><a class="btn-twitter fa-twitter fa" href="#"><em>.</em></a></li>
<li class="btn-social"><a class="btn-google-plus fa-google-plus fa" href="#"><em>.</em></a></li>
<li class="btn-social"><a class="btn-github fa-github fa" href="#"><em>.</em></a></li>
<li class="btn-social"><a class="btn-linkedin fa-linkedin fa" href="#"><em>.</em></a></li>
<li class="btn-social"><a class="btn-dropbox fa-dropbox fa" href="#"><em>.</em></a></li>
</ul>

You can use ready-made icons from Bootstrap. Go to http://lipis.github.io/bootstrap-social and copy classes of social icons you want to see.

Add only those social media buttons you need, in any order. Insert your preferred URLs. Save portlet. Your visitors can now follow you on social media platforms of their choice.

Social media icons.png

Connect with our experts Let's talk