A very basic question:
I’m creating a WordPress Page Template.
I have a file: pagetemplatename.php
Obviously the file has .php on the end of the name: Is everything in this file php code? Or can CSS and other code go in this file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your file could look like this:
The entire file could be php, or you could indicate where you want php to be executed using the
<?php ... />tags.Check out the intro here.