Set a Varible to use on all template files
-
Hi I would like to set a variable that i can use on all my template pages without having to set it everytime. I would for example like this to be available in all template files:
$image_path = '/wp-content/uploads/images/';
How would I go about doing that so that I didn’t have to specify that line in all the template files?thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Set a Varible to use on all template files’ is closed to new replies.