![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
for some reason I can't post this in the proper forum (Translation/Localization) so as a last resort I'm asking here. We're using Enterprise theme, and need to translate 3 strings in the footer. But they're hard-coded, and I have no idea how to work around that. This is the piece of code I need to modify. The strings are : Top of Page, Copyright, Site created by... //remove footer add_filter('genesis_footer_output', 'footer_output_filter', 10, 3); function footer_output_filter($output, $backtotop_text, $creds_text) { $backtotop_text = '[footer_backtotop text="Top of Page"]'; $creds_text = 'Copyright [footer_copyright] <a href="'. trailingslashit( get_bloginfo('url') ) .'" title="'. esc_attr( get_bloginfo('name') ) .' rel="nofollow"">'.get_bloginfo('name').'</a> · <a href="http://www.starshot.com" target="_blank" rel="nofollow">Site created by NAME</a>'; $output = '<div>' . $backtotop_text . '</div>' . '<div>' . $creds_text . '</div>'; return $output; } Thank you! |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange search strings | mmsim | General Discussion | 2 | 02-11-2010 10:06 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us