Plugin / AJAX Read More

Sergey S. Betke

Description

Description

When your blog is loaded, all links of this class .more-link (standard wordpress css class for “Read more…”
links) are modified to no longer send the user to that post’s
single page display when clicked. Instead, the WordPress database is queried for that specific post, and all content
after the <!–more–> tag (i.e. only what you need) is returned.
The new content is then immediately displayed to the user with light animation (You can disable animation in plugin options),
inline with the opening content.

  • AJAX-read-more uses the jQuery framework already included with WordPress installations.
  • This plugin used GET ajax action (not POST, like other plugins), wordpress “template_redirect” action.
  • It’s compatible with cache plugins (like Hyper Cache Extended).
  • AJAX-read-more: design of progress indicator and other behaviors – by CSS (example – in css/all.css)
  • cache-safe script and css url

Check plugin options on options page.

Thanks for debugging to den@10-13.ru.

Theme requirements:

  • Your theme must generate correct DOM structure:
    (div id=”#content”)

    (div class=”post”)

    (/div)
    (/div)
  • Theme must support footer (wp_footer). If not, you can change corresponding option on plugin option page.

For more information, please visit the Sergey S. Betke blog.

ToDo

The next version or later:
* wordpress core integration for cache headers processing???
* optional http cache-control max-age header value and must-revalidate
* just private cache headers, when post has limited access
* check cache plugins support (Hyper Cache Extended): clear cached responces when post modified
* cache-control and Last-Modification headers – to separate plugins
* if-modified http request support (separate plugins)
* the_excerpt optional support
* AJAX-read-more send correct http cache-control headers, and fully support client-side public cache.
* WP 3.3: http://wpdevel.wordpress.com/tag/3-3-dev-notes/
* WP 3.3: replace wp_localize_script() with wp_add_script_before(). wp_localize_script doesn’t support non-string params in WP 3.3+
* WP 3.3: wp_enqueue_script() now works mid-page – insert scripts just into pages when it’t needed

Ratings

5
2 reviews

Rating breakdown

Details Information

Version

2.1.1

First Released

13 Sep, 2011

Total Downloads

19,653

Wordpress Version

3.0.0 or higher

Tested up to:

3.3.2

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.