WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a separate page called service.php with following code

<?php /* Template Name: services */ ?>

So the above page now acts as separate static page.
Now I want to assign a particular post for this service page in WordPress.

Is it possible to do that?

Kindly advise me on this.

share|improve this question

Pages can have templates, but not posts. You have created a custom page template. There is no out-of-the-box way to have a post template, but there is a highly rated plugin called Custom Post Template that will do what I think you want to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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