Advertisement
grappler

functions.php new translation code

Oct 16th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. echo $before . __('Archive for ','responsive') . single_cat_title('', false) . $after;
  2. echo $before; printf( __( 'Archive for %s', 'responsive' ), single_cat_title('', false) ); $after;
  3.  
  4. echo $before . __('Search results for ','responsive') . get_search_query() . $after;
  5. echo $before; printf( __( 'Search results for: %s', 'responsive' ), get_search_query() ); $after;
  6.  
  7. echo $before . __('Posts tagged ','responsive') . single_tag_title('', false) . $after;
  8. echo $before; printf( __( 'Posts tagged %s', 'responsive' ), single_tag_title('', false) ); $after;
  9.  
  10. echo $before . __('All posts by ','responsive') . $userdata->display_name . $after;
  11. echo $before; printf( __( 'View all posts by %s', 'responsive' ), $userdata->display_name ); $after;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement