Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Customize Comments

Apraksts

This plugin is a proof of concept for how comment editing might be added to the Customizer, with edits to comments being staged in changesets along with any other changes made in customziation session. It demonstrates scalable lazy-loading of controls/settings via the REST API. It demonstrates both dynamic settings and dynamic partials.

A new Comments section is added to the Customizer, and when this section is expanded the most recent comments are fetched from the REST API and then are added as textarea controls in the section. A button appears at the bottom of the section for loading subsequent pages of comments.

The comments are listed with the comment author and publish date along with the post it was commented on. Only the comment’s content is currently editable. When you do edit a comment that appears in the preview, then the comment will be previewed with selective refresh after a low-fidelity instant preview.

When you navigate to a post and see the comment list, clicking the “Edit Comment” link in the Customizer preview will cause the comment to be loaded into a new textarea control in the section, and the control will then be focused for editing.

This is a natural companion to the Customize Posts feature plugin.

Ekrānuzņēmumi

  • Comments edited in the Customizer are previewed with selective refresh.
  • Comment controls appear with permalinks to their parent posts; a load more button dynamically loads new comments from the REST API.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Customize Comments” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Customize Comments” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

2017-11-26 – 0.1.0

Initial release.