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.

Are Google Ads Pay Per Click?

By Dave Fogel | December 2, 2022

Yes, Google Ads operates on a pay-per-click (PPC) basis. This means that businesses will pay for each click that is generated by their ads. The cost of each click will depend on the type of campaign and the targeting options selected. Google Ads also offers businesses access to powerful analytics and reporting tools, allowing them…

Why would someone use Google Ads instead of Facebook Ads?

By Dave Fogel | November 28, 2022

Let’s talk about Google Ads and Facebook Ads.  Each has its own pluses and minuses.  Here is how we see it. Google Ads is intent-based. What does intent-based mean? Simply put, people know what they are searching for and are going to find it. For example, if I am looking to tint my car, I…

What is Search Engine Optimization? Will a Plug-in Do it For me?

By Dave Fogel | September 3, 2020

Search Engine Optimization or SEO is the process of optimizing your website for keywords related to your business—for example, Jacksonville Web Design Company. It involves added your keywords in the page title, descriptions, and strategically in the content. That part of the process is called on-site optimization. The other part of SEO is called Off-page…

Posted in

Dave Fogel

Leave a Comment