How to override the page.tpl for custom content type in drupal 7

Question: I need to override page.tpl.php for custom content type
Answer: Just create a new document with the name page–contenttype.tpl.php
contenttype: your content type name

Examples:
  • page.tpl.php
  • page–product.tpl.php
  • page–blog.tpl.php
  • page–article.tpl.php

    Related Post


    Latest Post


    Recent Posts Widget

    Make sure to never miss a thing...

    Get the latest news from the creative industry along with other creative goodies, conveniently delivered to social media.