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.

Where do Google Display Ads appear

By Dave Fogel | December 20, 2022

Google display ads can appear on a variety of websites and platforms that are part of the Google Display Network. The Google Display Network is a vast network of websites that have partnered with Google to display ads. When you run a display ad on the Google Display Network, your ad may appear on any…

Are Google ads expensive?

By Dave Fogel | December 20, 2022

The cost of Google Ads will vary depending on the type of campaign and the targeting options selected. However, Google Ads is generally not considered to be an expensive platform for businesses. The platform offers businesses access to powerful analytics and reporting tools, allowing them to track the performance of their campaigns and optimize their…

Can Google Ads be profitable?

By Dave Fogel | December 20, 2022

Yes, Google Ads can be very profitable for businesses. Google Ads is an effective platform for businesses of all sizes, providing them with the tools they need to reach their target audiences, engage with potential customers, and track the performance of their campaigns. With Google Ads, businesses can ensure that their ads are seen by…

Posted in

Dave Fogel

Leave a Comment