WPML and Genesis Footer

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.

Looking for a Digital Marketing Agency in Jacksonville?

By Dave Fogel | January 23, 2023

If you are not sure what a Digital Marketing Agency does, we have put together some of the most common questions or topics related to digital marketing. As a Full-Service Digital Marketing Agency, NetViper specializes in providing digital marketing services to small to medium sized businesses using the internet and other digital marketing channels such…

Let’s Talk Digital Marketing vs Traditional Marketing In Jacksonville

By Dave Fogel | December 31, 2022

Are you thinking about running Digital Marketing in Jacksonville? Not sure how it compares to traditional marketing? We will try and give you the answers you are looking for.  Keep in mind we are a Digital Marketing Agency, so we might be a little biased. Traditional marketing agencies typically focus on marketing strategies and tactics…

Why Use A Digital Marketing Agency for Small Business in Jacksonville Florida

By Dave Fogel | December 31, 2022

Let’s talk about a Digital Marketing Agency for Small Business.   Why small business? Because we can help you the most in succeeding online. While are many reasons to use a local Digital Marketing agency that focuses on small businesses, let’s start with five good ones to get you started: Local Experts: Digital marketing agencies have…

Posted in

Dave Fogel

Leave a Comment