I am using drupal 7 and zen theme. And am not able to override the theme_pager using zen_pager function in template.php. Any suggestion pls?

Implement all/selected of the following theme functions in your template.php:

changing 'theme' in each of these function names to short name of your theme.

  • 1
    How to theme differently on different views and displays. Is there some form of theme_pager_view_dispaly? – Shoaib Nawaz Aug 24 '13 at 13:50

If you are using Zen, you are probably writing a sub-theme. Inside its template.php you will have to prefix the theme_pager function with your sub-theme name, like pretty_pager if yout sub-theme is called "pretty".

Zen will clear the caches for you, but if it doesn't work, try clearing the caches manually. The Devel Themer module will help you check which theme function is being called.

protected by Community Oct 21 '11 at 7:47

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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