I need to target all pages using a specific page template with a conditional tag (like is_page()). Anyone done something like that before?

  • What exactly are you trying to do to those pages? Commented Oct 8, 2010 at 13:55

1 Answer 1


Almost guessed it. :) There is native is_page_template() function.

  • Thanks! I skimmed that codex page, but I must have missed it.
    – Espen Arnoy
    Commented Oct 8, 2010 at 13:58
  • Please accept the answer if it is correct. This stimulates the good wills around here :)
    – pixeline
    Commented Oct 9, 2010 at 23:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.