Graphic Updater Training
Transferring Sites from SWEngine to WordPress
Introduction
Calendar
Contact List
- Contact List
Google Translate
We are generally trying to get away from adding the Google Translate widget to our sites, mainly because modern browsers automatically translate websites into the native language of the user’s device. Also, the widget has been deprecated, meaning that Google doesn’t maintain it any longer. There is no guarantee for how long it will keep functioning. With that said, if a client insists, here are instructions on how to add it:
How to add Google Translate
- In the footer of the site, add a new code module.
- Paste in the following:<div id=”google_translate_element”></div>
<script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, ‘google_translate_element’);
}
</script>
<script async=”async” type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script><style>
#google_translate_element {
display: none;
}@media screen and (min-width: 66em) {
footer {
z-index: auto;
}#google_translate_element {
display: block;
position: fixed;
bottom: 0;
right: 20px;
}.googe-te-gadget-simple span {
color: #676767!important;
}.goog-te-gadget-simple {
border: 1px solid #d5d5d5!important;
}}
</style>
- Save the module and page.
Modules
Page Graphics
- Adding a Header Photo
- Adding a Sidebar Photo
- Changing the default styling of a sidebar photo
- Adding a Photo in the Page Body
- Adding a Photo in a Toggle
- Dimensions for standard templates
- Home header – 2000 x 600 px
- Subpage header – 2000 x 450 px
- Sidebar images – 360 px wide (height can vary)
- How to tell the size of an image
DP Masonry Gallery
Media
Slideshows
Tables
Videos
- Videos