Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

Ajax Content Renderer

Priskribo

This plugin detects Ajax requests and returns just the formatted body of the post or page.

Instalo

Install

  1. Unzip plugin and upload the betancourt-ajax-content directory to your blog’s wp-content/plugins directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. That’s it. Now you can request a post via Ajax. The response will be clean HTML containing the text of the post.

Alternatively you can test this quickly using cURL. Try the following from the command line:
curl http://your.domain.name/your-content-slug/ -H X-Requested-With:XMLHttpRequest

OD

Please visit the forum for questions or comments: https://wordpress.org/tags/ajax-content-renderer/

Pritaksoj

There are no reviews for this plugin.

Kontribuantoj k. programistoj

“Ajax Content Renderer” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “Ajax Content Renderer” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

1.0.0

Initial release

1.1.0

  • Minor change to evaluation of XHR headers. Avoids PHP warnings.
  • Tested against WP 3.1.2

1.1.1

Updated documentation and added link to sample implementation.

1.1.0

Upgrade to avoid PHP warnings.

1.2.0

Cleaned up code.

1.3.0

Fixed bug reported by zulien on 30-Jun-2011. The plugin was only supporting single pages. It now supports single posts, pages and multi-post homepages.

1.3.1

1.3.2

  • Tested on WordPress 3.5.1
  • Updated installation instructions.

1.3.3

Corrected error in changelog.

1.3.3.1

Tested against WordPress 3.9

1.3.4

Incorporated change submitted by Seb33300 to avoid disabling the Media listings in WP Admin.