ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Enzymes

აღწერა

While editing the content (the visual editor is supported), Enzymes let’s you retrieve properties and custom fields of posts, pages, and authors, and have them appear right there (transclusion).

If you want something to appear elsewhere, outside the content, you can use Enzymes directly from WordPress theme files.

You can also format and modify any transcluded content on the fly, using reusable code snippets stored inside files or custom fields.

Enzymes makes it very easy to re-use parts of your content around your blog, just by referencing it.

Here are two little samples, whose preconditions are these:
* you have a post with the slug postcard-from-barcelona, with a custom field with the key report and the value warm and sunny (Feb, 2008)
* in the post with the id 1 you have a custom field with the key marker and the value return '<span style="background-color:' . $this->substrate . ';">' . $this->pathway . '</span>';

Simple transclusion: a custom field of a post is made appear in another post

The weather in Barcelona was always {[ @postcard-from-barcelona.report ]} and we stayed outdoor most of the day.

is sent to the browser as

The weather in Barcelona was always warm and sunny (Feb, 2008) and we stayed outdoor most of the day.

Simple evaluation: a custom field is transcluded and highlighed with a yellow marker

The weather in Barcelona was always {[ @postcard-from-barcelona.report | 1.marker( =yellow= ) ]} and we stayed outdoor most of the day.

is sent to the browser as

The weather in Barcelona was always <span style=”background-color:yellow;”>warm and sunny (Feb, 2008)</span> and we stayed outdoor most of the day.

Enzymes Manual

I’ve set up a page with all you need to know about Enzymes.

დაყენება

  1. Copy to your plugins folder
  2. Activate Enzymes

ხდკ

none

მიმოხილვები

There are no reviews for this plugin.

მონაწილეები & დეველოპერები

“Enzymes” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Enzymes თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.