Title: Php is not rendering functions
Last modified: September 1, 2016

---

# Php is not rendering functions

 *  [biroplane](https://wordpress.org/support/users/biroplane/)
 * (@biroplane)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-is-not-rendering-functions/)
 * Hi!
    On my server i got an updated version of WP, with a working theme. I just
   made a new one. The problem is that when i activate it, (or just preview it, 
   via customize) it doesen’t render php script. For example: I use to link the 
   css file al <link type=”text/css” href=”<?= get_stylesheet_directory_uri()?>/
   stylesheet.css”></script>, instead of rendering the path of stylesheet directory,
   it renders “<?= get_stylesheet_directory_uri()?>” like it is a string. This happens
   to all the linked file from my theme, but not to the plugins one.
 * Any help will be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-is-not-rendering-functions/#post-7496570)
 * Try `href="<?php echo get_stylesheet_directory_uri()?>`. And what’s the `</script
   >` for?
 *  Thread Starter [biroplane](https://wordpress.org/support/users/biroplane/)
 * (@biroplane)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-is-not-rendering-functions/#post-7496600)
 * sorry the </script> was a writing mistake 😉
    Actually it works! 😀 😀 😀 does
   it mean that php short_tags are not enabled?!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-is-not-rendering-functions/#post-7496601)
 * Almost certainly. Generally, speaking it’s unwise to use short_tags as few servers
   support them these days.
 *  Thread Starter [biroplane](https://wordpress.org/support/users/biroplane/)
 * (@biroplane)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/php-is-not-rendering-functions/#post-7496772)
 * Now it’s working!
    it was the short_tag variable set to of! Thank you!!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Php is not rendering functions’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [rendering](https://wordpress.org/support/topic-tag/rendering/)

 * 4 replies
 * 2 participants
 * Last reply from: [biroplane](https://wordpress.org/support/users/biroplane/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/php-is-not-rendering-functions/#post-7496772)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
