INSTRUCTIONS FOR SITE: DO NOT LINK THIS PAGE

TRANSLATION BUTTON CUSTOM CODE

Every page that is translated has a CODE block inserted at the top of the page that creates a red "ENGLISH" or "ESPAÑOL" button. The code inserted creates the button, word and the link to the alternate language page.  It indicates where on the page the button will appear. DO NOT DELETE THE CODE BLOCK AT THE TOP OF EVERY PAGE

FOR THE BUTTON TO WORK, each page must have a specific slug that points to the other page. The slug is in English, with a prefix en/ for English and es/ for Spanish. For example the slug for

Mission & Vision is https://www.pactsj.org/en/mission-and-vision and for

Misión y Visión is https://www.pactsj.org/es/mission-and-vision

There is no button for blog pages, so the button code will on appear on News& Stories, Past Luncheons, Come to our Next Event

The button code is:

<!-- Button Code - hide button initially -->
<style>
#buttonVisibility {  display: none;}
</style>

<!-- Button -->
<div class="sqs-block button-block sqs-block-button" data-block-type="53" id="block-yui_3_17_2_6_1473128268220_4945"
style="position:absolute; margin-top:-70px">
  <div class="sqs-block-content">
    <div class="sqs-block-button-container--right" id="buttonVisibility" >
      <a href="" class="sqs-block-button-element--medium sqs-block-button-element" id="languageLink"> </a>
    </div>
  </div>
</div>