Hi,

I need to create a preprocess function in template.php file of my theme. I am using this theme I am not able to find any template.php file. Do I create a new file of is there any other file that I should write in?

Thanks,
Prerna

Comments

sheena_d’s picture

Status: Active » Fixed

Prerna,

You just need to create a blank text file inside the theme and name it template.php. Be sure to include an opening PHP tag at the beginning (<?php), add your preprocess function and that's it!

Good Luck,
Sheena

pmathur01’s picture

thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.