Thread Starter
Arya
(@aryaink)
can’t provide it is under NDA 🙁
you have not provided enough information for pointers;
what theme are you working with?
does the theme have a page.php template?
is the template using any custom queries?
Thread Starter
Arya
(@aryaink)
Hi,
It’s a custom theme I am working on, it does have page.php and a custom page template contact.php for contact page.
The page.php is pretty straight forward with a simple loop :
<?php while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; ?>
if I set the “Template” of the page to the contact page template, it works like it should, but if I keep it to Default it doesn’t, it is somehow bypassing the page.php template and displaying the content of index.php, though the entire setup is working perfectly on local server.
Thread Starter
Arya
(@aryaink)
alchymyth
Now when you mentioned page.php I again checked the file, and the code was alright the problem was somehow the file name was changed to Page.php from page.php …
Don’t know how it was working on local server.
feeling so dumb 🙁
This is the pointer I was looking for 😀 Thanks a lot
you are welcome 😉
if this is all, please mark the topic as ‘resolved’