Recently we worked with WPML and the Genesis Framework and had a very hard time getting the Footer to Translate correctly.
The two things we needed to do was “Return to Top” and the credits for the site design.
First we were using Genesis Simple edits to change the footer, but that did not work well at all. We tried several tutorials, but none of the worked.
So we disabled the plugin and dug into functions.php. As always, make sure you backup your functions.php before making any changes.
So with simple edits disabled, we did a search for “return to top” and then entered a translation string for it.
That solved one problem. Next was the credits.
To do that we created a custom credit with the following code.
//* Customize the credits
add_filter( 'genesis_footer_creds_text', 'custom_footer_creds_text' );
function custom_footer_creds_text() {
echo '';
echo icl_translate( 'wpml', 'my-copy-right', 'Copyright' );
echo ' © ';
echo date('Y');
echo ' · Enkelson · ';
echo icl_translate( 'wpml', 'site-design', 'Web Design By:' );
echo ' NetViper Interactive';
echo '
';
}
In order to get the words translated that we wanted, we had to put in the translation code. So we wanted “copyright” and “Web Design Buy”.
These lines allow us to find it string translation.
echo icl_translate( ‘wpml’, ‘my-copy-right’, ‘Copyright’ );
echo icl_translate( ‘wpml’, ‘site-design’, ‘Web Design By:’ );
So then we simple search and enter the translation just like doing copyright.
Hopefully this helps you out.
What about free websites?
There are a few options out there to design your website for free. Companies like WIX come to mind. Keep in mind that with WIX you never own your website. You are stuck with them forever. It still takes a lot of time to design a site, and if you are not a designer, chances…
How much does it cost for a website?
Great question! We hear it all the time. Websites can range from $500 to $100,000K+. It all depends on your needs. For us, websites typically range from $1,500 and up. That might sound like a lot, but if you look at some of our competition in Jacksonville, we think you will find it very competitive.…
4 Reasons You Should Own Your Own Domain
If someone is starting a new website, or even looking to create a second website, one of the most popular requests we get is to help them register their domain. Of course we can do this for you, but is it a good idea? We think not and here is why. 1. Your domain name…