Hi there I need slight help making a functions.php file. I converted a template to html, everything was fine but you can check here what happens after that abc123.agency. Now my functions.php is missing and I want to make one for me need help immediately
Let me pull out my crystal ball to see if this will help…nope nothing. : ;D Seriously this is a help forum for PHP developers where one gets help with their script that they are working on. It’s not a job site though this forum does have a category for that if that is what you want. http://www.phphelp.com/forum/php-freelancing-35/
I would gladly build you a functions.php, my current rate is $125/hr… I should be able to build it in 40 hours or less… HAHAHA JK No seriously, just like strider said, my functions.php will probably be completely different than yours… But here is a good start:
[php] $defines = array(
“BR” => “</br />”,
“N” => “\n”,
“BRN” => “
\n”,
“T” => “\t”,
“DS” => DIRECTORY_SEPARATOR,
“SYSDIR” => “system”,
“BINDIR” => “bin”,
“ASSETDIR” => “bin”.DIRECTORY_SEPARATOR.“assets”
);
foreach ($defines as $id => $define) {
(!defined($id) ? define($id, $define) : '');
}[/php]
OK, with this, you now have a define section you can place your most used constants. Now just add whatever else you want in there…