[Resolved] php functions inside template
Im coding in some php codes inside a template i’m building and i need to include a php inside another php but it gives me an error. This is what i have:
echo “<?php more_fields(‘Author’) ?>;”
echo “Esta página esta en Español”;
Apparently it doens’t let me include php functions inside another php. I tried to declare a variable with the result of <?php more_fields(‘Author’) ?>; but didn’t work either because in order to create a variable i need to have it inside a <?php right? or is there a way to declare variables without having to do them inside the <?php ??????
Anybody please help me out!
Thanks in advance for your help!
Note: Im using qTranslate and MoreFields for Translation and Custom Fields.
- The topic ‘[Resolved] php functions inside template’ is closed to new replies.