Title: [Plugin: Similar Posts] Able to put php code into output template?
Last modified: August 19, 2016

---

# [Plugin: Similar Posts] Able to put php code into output template?

 *  [dirt2](https://wordpress.org/support/users/dirt2/)
 * (@dirt2)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-similar-posts-able-to-put-php-code-into-output-template/)
 * I want to impliment this code but it’s not a tag, There seems to be a line for
   PHP code but I don’t know if it’s what I need and I can’t figure out how to enable
   it.
 * `<?php $text = get('Preview'); echo strip_tags($text); ?>`
 * That is the simple code I want to use, every post has a “Preview” and those previews
   are what I want the results to be.
 * Thank you to anyone who can help.
 * [http://wordpress.org/extend/plugins/similar-posts/](http://wordpress.org/extend/plugins/similar-posts/)

The topic ‘[Plugin: Similar Posts] Able to put php code into output template?’ is
closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [dirt2](https://wordpress.org/support/users/dirt2/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-similar-posts-able-to-put-php-code-into-output-template/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
