Title: [Plugin: PHP Snippets] Snippets don&#039;t print
Last modified: August 20, 2016

---

# [Plugin: PHP Snippets] Snippets don't print

 *  Resolved [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-php-snippets-snippets-dont-print/)
 * My snippet file shows up in the list of available snippets, & the plugin successfully
   inserts the shortcode, but it just prints [my_shortcode] when viewed on the generated
   HTML. Doesn’t seem to matter whether I use the default snippets directory or 
   one of my own choosing.
 * The out-of-the-box snippets all work, _unless_ I make a copy, rename it, and 
   change the shortcode — the “clone” shortcode fails, even ‘though it’s identical
   to the original.
 * For instance, I copied current_date.snippet.php to a new file named test.snippet.
   php and changed the shortcode to [test]. Inserted the new shortcode via TinyMCE’s
   PHP button; it appears in the editor as expected, _i.e._, ‘[test]’. Hit the ‘
   Preview Changes’ button and I see ‘[test]’ instead of the current date.
 * I checked ownership & permissions (I’m on a LAMP server); they’re all OK.
 * [http://wordpress.org/extend/plugins/php-snippets/](http://wordpress.org/extend/plugins/php-snippets/)

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

 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-php-snippets-snippets-dont-print/#post-2906769)
 * I wound up using [Shortcode EXEC PHP](http://wordpress.org/extend/plugins/shortcode-exec-php/)
   instead, since I never got a response here.
 *  [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * (@fireproofsocks)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-php-snippets-snippets-dont-print/#post-2906793)
 * Sorry, I was not getting email alerts correctly. You should file stuff like this
   in the bug-tracker: [https://code.google.com/p/wordpress-php-snippets/](https://code.google.com/p/wordpress-php-snippets/)

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

The topic ‘[Plugin: PHP Snippets] Snippets don't print’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/php-snippets.svg)
 * [PHP Snippets](https://wordpress.org/plugins/php-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/php-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/php-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/php-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/php-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/php-snippets/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [fireproofsocks](https://wordpress.org/support/users/fireproofsocks/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/plugin-php-snippets-snippets-dont-print/#post-2906793)
 * Status: resolved