Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function YOURTHEMENAME_preprocess_page(&$variables) {
- if ($variables['node']->type != "") {
- $variables['template_files'][] = "page-node-" . $variables['node']->type;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement