Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Jahuty Snippets

Descripción

Content changes often and finishes late. Unfortunately, it can’t all live in a CMS. Engineers are often stuck updating and deploying content in an MVC or SPA application.

Instead, use our service and API clients to turn any content under development into dynamic content, freeing your engineers to engineer, not manage content.

Create a snippet

Use our website (https://www.jahuty.com) to create a snippet of HTML.

Logically, a snippet is a group of public, customer-facing content that changes together. Think of a snippet as a custom element you leave your content team to fill.

Physically, a snippet can be any valid HTML string: plain-text, an h1 and a p element, multiple div elements, whatever you’d like.

Snippets must be smaller than 20 pages of text and markup (216 UTF-8 characters to be exact). If you find yourself needing more room, split your snippet in two.

Snippets must be valid HTML. Be sure to escape special HTML characters like <, >, and &; close important tags; and, avoid including untrusted third-party tags.

Remember, snippets are public, customer-facing content. Don’t include any secrets, because there are no protections to prevent other users from viewing your snippets (aside from your public API key, which is easy enough to discover).

Add a container

Add a container with a data-snippet-id attribute.

Add a data-snippet-id=»XYZ» attribute to the snippet’s container element, where XYZ is your snippet’s identifier.

Load the page

We’ll fetch your snippets and insert them into the container.

When the page loads (on DOMContentLoaded to be exact), we’ll find any elements with the snippet-id data attribute, fetch their content using AJAX requests, and innerHTML the content into the container.

Instalación

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Snippets screen to input your Jahuty key retrieved from https://www.jahuty.com

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Jahuty Snippets» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Jahuty Snippets» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.1

  • Better documentation.

1.0.0

  • Plugin release.