Adding a php code in the theme?
Hi
i read many threads so i tried doing this: i have one subtemplate called ads.php there i have this (only for tests) <?php echo "Hello World"; ?> then as i want it to appear in every post after the pagination i have this at single.php in main templates section: PHP Code:
can someone help me? I just need to add some php code to render in posts or if simpler in all site. Thank you PS: i tried to include an outside php file but i had the same result |
1) you can't add just any php into a virtual template - click the 'Limited PHP Code' tab at the top right of the screen
2) use the format HTML Code:
<?php bfa_get_template_part( 'ads', '' ); ?> |
All times are GMT -6. The time now is 10:11 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.