I am woking on drupal 7 I want to change link text and replace them with image. How can I achieve following:

  • Is there any function in template.php to do so?
  • Is there any way to overridden template to pager in custom theme?
  • 1
    Just use CSS and hide the text. Much better for accessibility. – Alex Gill Sep 10 '12 at 12:40

In template.php

function THEMENAME_pager($tags = array(), $limit = 10, $element = 0, $parameters = array()) {



For api please check above link you can overridden. also check below link.

In drupal 7, How to override theme_pager?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.