- This topic has 1 reply, 2 voices, and was last updated 9 years, 10 months ago by Theme Horse Support Team.
-
AuthorPosts
-
June 14, 2014 at 12:39 am #11296edwin.ramirez.congoteParticipant
Hello, I’m using your Interface Free theme for a site in spanish.
After creating the corresponding translation I found that there was no way translating the text “Search” on the search button of the Header’s Searchform and the “Call us” and “Mail us” on their corresponding links on the Contact Info Bar.I found that in the file SITE\wp-content\themes\interface\inc\structure\searchform-extensions.php the submit input has the text hardcoded:
<label class="assistive-text"> <?php _e( 'Search', 'interface' ); ?> </label> <input type="search" placeholder="<?php esc_attr_e( 'Search', 'interface' ); ?>" class="s field" name="s"> <input type="submit" value="Search" class="search-submit">
Likewise in the file SITE\wp-content\themes\interface\inc\structure\header-extensions.php the text for the link’s titles are hardcoded:
$interface_footer_infoblog .= '<li class=' .'"phone-number"'. '><a title='. '"Call us"'.' '. 'href=' .'"tel:' ; $interface_footer_infoblog .= preg_replace("/[^0-9+-]/", '', $options[ 'social_phone' ]) ; $interface_footer_infoblog .= '">'; $interface_footer_infoblog .= preg_replace("/[^0-9+-]/", '', $options[ 'social_phone' ]) ; $interface_footer_infoblog .= '</a></li>'; } if (!empty($options['social_email'] )){ $interface_footer_infoblog .='<li class=' .'"email"'. '><a title=' .'"Mail us"'. ' ' . 'href=' .'"mailto:'; $interface_footer_infoblog .= is_email($options[ 'social_email'] ); $interface_footer_infoblog .='">'; $interface_footer_infoblog .= is_email($options[ 'social_email'] ); $interface_footer_infoblog .='</a></li>';
I tried creating a child theme to override these two php files but they weren’t loaded.
Could this be fixed in an update,please?
June 14, 2014 at 7:33 am #11302Theme Horse Support TeamKeymasterHi Thanks for your suggestions. We will think about it in our upcomming version.
Thank you! -
AuthorPosts
- You must be logged in to reply to this topic.