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?!?!!?

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

1 Answer 1

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.

1
  • 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, 2015 at 1:16

Your Answer

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

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