Advertisement
supportnwl

pagination styling

Oct 4th, 2012
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. paste in your theme functions.php
  2.  
  3. function em_change_pagination($string){
  4. if ( strpos($string,'<') ){
  5. $string = str_replace("<","< Previous page",$string);
  6. }
  7. if ( strpos($string,'>') ){
  8. $string = str_replace(">","Next page >",$string);
  9. }
  10. $string = "<div class='em_pagination_link'>".$string."</div>";
  11.  
  12. return $string;
  13. }
  14. add_filter('em_paginate','em_change_pagination',10,1);
  15.  
  16. paste in your theme style.css
  17.  
  18. .em_pagination_link {
  19. float:right;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement