Title: swordbitapps's Replies | WordPress.org

---

# swordbitapps

  [  ](https://wordpress.org/support/users/swordbitapps/)

 *   [Profile](https://wordpress.org/support/users/swordbitapps/)
 *   [Topics Started](https://wordpress.org/support/users/swordbitapps/topics/)
 *   [Replies Created](https://wordpress.org/support/users/swordbitapps/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/swordbitapps/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/swordbitapps/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/swordbitapps/engagements/)
 *   [Favorites](https://wordpress.org/support/users/swordbitapps/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Template] What will be the equivalent of is_page_template( ) function?](https://wordpress.org/support/topic/what-will-be-the-equivalent-of-is_page_template-function/)
 *  [swordbitapps](https://wordpress.org/support/users/swordbitapps/)
 * (@swordbitapps)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/what-will-be-the-equivalent-of-is_page_template-function/#post-4427400)
 * You can use exactly the same technique. So in your example, you would use:
 *     ```
       <?php if ( is_post_template('schools.php') ) { ?>
       	<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ?>/schools.css" />
       	<?php } ?>
       ```
   
 * According to the [changelog](http://wordpress.org/plugins/custom-post-template/changelog/),`
   is_post_template()` was added in version 1.2.

Viewing 1 replies (of 1 total)