I'm able to load static PHP files for my theme without any problems but do I name the file as file.php
or file.inc
? I found out that either way works fine so which one is better?
<?php include ".." . base_path() . path_to_theme() . "/includes_folder/file.php"; ?>
<?php include ".." . base_path() . path_to_theme() . "/includes_folder/file.inc"; ?>
Remember that the files are saved in my theme folder since I'm not making a module. It's just static content.