Reputation
Top tag
Next privilege 15 Rep.
Flag posts
Badges
2 7
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
17
comment Why is custom template not seen as page with is_page()?
@EricHolmes: why would it be archive? In any case, I made two similar templates that do not work, one for news, another for portfolio. Neither of those return is_page() as true, and they are, since in the CMS I used add page to add them, I just selected the custom template.
Oct
17
comment Why is custom template not seen as page with is_page()?
@EricHolmes: I updated my question with my code.
Oct
17
revised Why is custom template not seen as page with is_page()?
added 5705 characters in body
Oct
17
comment Why is custom template not seen as page with is_page()?
The only is_$ condition that is true is is_category
Oct
17
comment Why is custom template not seen as page with is_page()?
@toscho: no, I get the same results with that value
Oct
17
comment Why is custom template not seen as page with is_page()?
@BrianFegter: actually, most is_$ conditions are false (they are at the bottom of the dump I obtained)
Oct
17
asked Why is custom template not seen as page with is_page()?
Oct
6
awarded  Editor