WP-Filebase Pro › Forums › Templates › Using php code in the templates › Reply To: Using php code in the templates
2014-10-20 at 12:40
#3059
Steven
Participant
+1, When i add php code it appears commented. If you open and close php tags in every line, they dont show up as commented.
<?php echo $file->get_tpl_var('file_display_name'); ?>
<?php echo $file->get_tpl_var('file_description'); ?>
But not even a single echo works
- This reply was modified 10 years, 3 months ago by Steven.