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.

Google Warning To Non-Mobile Friendly Web Sites

By Dave Fogel | January 19, 2015

Today one of the sites we work with got a message in their Google Webmaster Tools.  The message titled “Fix mobile usability issues found on yoursite.com” basically informs the site own that because “These pages will not be seen as mobile-friendly by Google Search, and will therefore be displayed and ranked appropriately for smartphone users.”…

Google losing market share

By Dave Fogel | January 14, 2015

Recently posted in the Wall Street Journal, Market researcher Statcounter says Google’s share of U.S. search traffic, excluding mobile devices, declined to 75.3% in December from 77.5% in November, after the maker of the Firefox browser made Yahoo the default search engine. Yahoo YHOO -1.05%’s share of search traffic excluding mobile devices grew to 10%,…

Can good links solve Penguin Problems

By Dave Fogel | January 12, 2015

In a recent video hangout with Google’s John Mueller, John said that even without using the disavow file or removing bad links, it is possible to recover from a Google Penguin Penalty.  So instead of going through all the trouble of removing bad links and creating a disavow file, Google is saying adding good links…

Posted in

Dave Fogel

Leave a Comment