Jump to content


Photo
- - - - -

Add button to branding header/social icons


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 boonem311

boonem311

    Member

  • Members
  • 14 posts

Posted 15 September 2012 - 02:32 PM

Hi, All ----

My site is bilingual in French and English. I would like to add a small button/link next to
my social icons that will either say "EN" for English - or I'll simply include the whole word
"English." But I would like for it (the button) to be the same height and appear next to the
social icons, with equal padding.

I have added the Bootstrap Shortcode plugin and would like to use the following:



[TBS_BUTTON class="btn-mini btn-default" element="a" link="

Please Login or Register to see this Hidden Content

title="SPCO Homepage 2"]English[/TBS_BUTTON]
Can someone please where and how I should place the code? What else do I need to
add in order to have the button appear along side the social icons?

I am using Pagelines 2.2 framework.

www.sinfoniettaparis.org

Thanks!

Michael

#2 batman

batman

    Bat Learning

  • Members

  • 2115 posts

Posted 15 September 2012 - 03:05 PM

Hi Michael
You can add an action for add a button
Some comment give the action: 'pagelines_branding_icons_start'or 'pagelines_branding_icons_end' or 'pagelines_before_branding_icons' or 'pagelines_after_branding_icons'
You can find at

Please Login or Register to see this Hidden Content


You can see this links to begin:

Please Login or Register to see this Hidden Content


Please Login or Register to see this Hidden Content




Here and example

Please Login or Register to see this Hidden Content



#3 boonem311

boonem311

    Member

  • Members
  • 14 posts

Posted 15 September 2012 - 03:28 PM

Hi B-man,

Okay - thank you. I've added and activated my Pagelines Customize plugin. So where do I add the code that you include
above? In the style.css or functions.php file? Or can I add this code to the Custom Code section?

Thanks!

#4 batman

batman

    Bat Learning

  • Members

  • 2115 posts

Posted 15 September 2012 - 03:33 PM

Hi again
You add the code at "functions.php"
Be careful, please read this and see this video.

Please Login or Register to see this Hidden Content



#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts

Posted 16 September 2012 - 12:21 AM

Batman is correct. A hook via pageLines-customize/functions.php is the proper method to accomplish your goals.