0

Page One is rendering using my page.php template.

Page Two, set up exactly the same as the previous one, is rendering using my single.php template.

I want Page One to render using the single.php template. It's not a custom post type; I've re-saved permalinks; I've done the flush_rewrite_rules() after creating the one custom post type I use; and I'm still lost!

Can anybody tell me why adding the "-2" to the slug makes this work?!?!!?

  • 1
    Somehow one is set up as a post and one is set up as a page. Did you create them both as posts? – czerspalace Sep 9 '15 at 22:35
  • Yep. Set them both up exactly the same. Posts > Add New – ThatDudeLarry Sep 10 '15 at 0:02
0

Without having access to your admin, I'd have to assume you have a page with the slug "claudia-lucero" - in addition to your post.

  • here's page's ID - 705.. in body you have classes: attachment page page-id-705 page-template-default.. attachment says that it should be attachment page, but page says that it is pages page.. something definatly wrong here.. – Maikal Sep 10 '15 at 1:16

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.