![]() |
Adding PHP to Templates
I am trying to add a few line of php to a few templates, how can I do so?
|
You can't run PHP code inside templates. You'll have to create a plugin and place your code in there.
Look here for more info https://vborg.vbsupport.ru/showthread.php?t=82625 |
I am trying to add some php to my footer. Which hook would that be? I am sort of lost...
anyone? |
Put your PHP script in a global hook like 'global_start'. Then call you variables inside the footer template.
|
All times are GMT. The time now is 02:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|