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? Oct 8 '10 at 13:55

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

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

Your Answer

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