Getting WP code to work?
-
I am not able to get WordPress code like
<?php echo get_stylesheet_directory_uri(); ?>
to work within the content in the footer?
so for example, if I add the following to the Scripts in Footer
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/myslider.js" type="text/javascript" charset="utf-8"></script>
It outputs the exact code, e.g.
<script src="<?php echo get_stylesheet_directory_uri(); ?>/js/myslider.js" type="text/javascript" charset="utf-8"></script>
Thanks
- The topic ‘Getting WP code to work?’ is closed to new replies.