Nzymes

plugin banner

Boost your posts with Nzymes injections. Safely use PHP in posts' title, excerpt, and content. WordPress 4.7+ PHP 5.6+

Author:Andrea Ercolino (profile at wordpress.org)
WordPress version required:4.7
WordPress version tested:4.7.28
Plugin version:1.0.0
Added to WordPress repository:29-05-2017
Last updated:29-05-2017
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://wordpress.org/plugins/nzymes/
Total downloads:809
plugin download
Click to start download

Your Problem

  • You want to do something inside a post, but a plugin might not exist.

Nzymes Solution

  • Insert PHP code into posts’ content easily and safely.
  • Program features by yourself or trust some of your blog’s authors.

Example

When citing authors in a post, you’d like to show the number of posts they published. Maybe there is a plugin for that, maybe there is not. Anyway, how difficult to code would it be? Quite easy, actually, given that WordPress has a function to do exactly that (count_user_posts).

With Nzymes, you could cite authors like this

As you know, {[ =john= | @my.cite(1) ]} and I are very good friends.

Which could be shown like this

As you know, John (42 posts) and I are very good friends.

With Nzymes, many things are just a couple of PHP lines away.

  • Why not display “(42 posts)” in red?
  • Why not link “John” to John’s posts?

At a glance

Nzymes injections are expressions like this: {[ enzyme-1 | enzyme-2 | … enzyme-N ]}

  • Nzymes automatically filters title, excerpt, and content of a post looking for injections.
  • For each found injection, it orderly replaces each enzyme with its value, left to right.
  • Then it replaces the value of the last enzyme to the whole injection.

Manual: https://github.com/aercolino/nzymes/blob/master/nzymes-manual.md

Reach out

  • Community: https://www.facebook.com/NzymesPlugin/
  • Download: https://wordpress.org/plugins/nzymes/
  • Develop: https://github.com/aercolino/nzymes

Screenshots
FAQ
ChangeLog