Jump to content
Sign in to follow this  
miratrix

Adding Skype Chat button next to social icons

Recommended Posts

miratrix    0
miratrix

I'd like to add a skype chat button (code below) to my social buttons. I'm using the Business Branding plugin . Any ideas how i could add this? Or any other suggestions on how to get it on to the branding section without leaving huge amounts of white space?

<script type="text/javascript" src="http://cdn.dev.skype.com/uri/skype-uri.js"></script>
<div id="SkypeButton_Chat_nickd.miratrix_1">
  <script type="text/javascript">
    Skype.ui({
      "name": "chat",
      "element": "SkypeButton_Chat_nickd.miratrix_1",
      "participants": ["nickd.miratrix"],
      "imageSize": 32
    });
  </script>
</div>

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

Business Branding is a third party section, therefore I have moved your topic to our store forums, where the developer will reply to your topic. However, you will most likely need to use a hook to add your custom button.

 

For more information on hooks, please see our documentation - http://support.pagelines.me/docs/customization/hooks/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

Hi,

 

Using a hook is the best way to do this.  If you are a Plus Member, Hooker is a free plugin that will do the hook for you. Go to your Pagelines --> Dashboard --> Plus and install Hooker, then make sure to Activate it in your plugins.  Then look for the pagelines_branding_icons_end and add your code. You will need to use some css to position it the way you want.

 

If you aren't a plus member then either use the Pagelines Customize plugin (free) or create a child theme and in the functions.php file put this code:

add_action('pagelines_branding_icons_end', 'my_skype_button');
 
	function my_skype_button(){		
		?>
		<script type="text/javascript" src="http://cdn.dev.skype.com/uri/skype-uri.js"></script>
			<div id="SkypeButton_Chat_nickd.miratrix_1">
			  <script type="text/javascript">
			    Skype.ui({
			      "name": "chat",
			      "element": "SkypeButton_Chat_nickd.miratrix_1",
			      "participants": ["nickd.miratrix"],
			      "imageSize": 32
			    });
			  </script>
			</div>
		<?php 
	}

Hope that helps.

 

Ellen

  • Like 1

Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
Jenny    33
Jenny

If you consider this topic resolved, make sure you hit the "mark resolved" button. Otherwise let us know how we can help! :)


Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • Pankaj32
      By Pankaj32
      Hello, my site is looks fine in google chrome however the fonts sizes appear bigger in IE and fire fox. I am using the IE 11 and latest version in mozilla fire fox too. Many sections are also displaying default DMS items in place of whats is actually added in them.
      The site's url  is delhirealestateguy.com . Would appreciate if someone can take a look and advice. Regards, 
    • scswraps
      By scswraps
      Looking to add text links directly below the primary logo on the Business Branding section, is this possible using hooks?
      Thank you.
    • Pankaj32
      By Pankaj32
      Hello, I had scanned through the forum and looks like my question has already been answered in a few threads already but I could not get any of those solutions to work for me. So please bear with me.
      I bought the "business branding section" and now I need to change the title of the font (oswald) and size too. Please let me know what code can I use to achieve this and where exactly am I suppose to paste this code. I had tried to experiment with various codes provided in other threads but none of them seem to make a different after refreshing. 
       
    • sersanet
      By sersanet
      Hello Ellen,
       
      I have just installed the business branding plugin to a new site for a customer..
      www-marbellawordpress.com
       
      For some reason i cannot seem to get the text to appear that has been added to the business branding section, additional business information.
       
      Please would you see your way to helping with this problem.
       
       
      Kind regards..
    • radroz
      By radroz
      Hey Ellen, what would it take to add Pinterest to the Business Branding options?
×