WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Read More Right Here

Automatically transform your 'more' links into "view right here" links that immediately display the rest of your entry.

After the post content is pulled, how can I change the 'red more' text to something more accurate, like 'read less?

The "Link Text On Expanded Content" option is avaiable on the plugin's Settings page.

I am using a lightbox plugin, and none of the 'more' content that is pulled down gets lightbox-ized.

Some plugins, like this one, depend on javascript to implement much of its functionality. The javascript code that searches your page looking for images to lightbox or 'more links' to modify, is triggered once, when the page has completely loaded. New content dynamically added to the page later will not receive this special treatment.

Starting with WordPress 3.0, jQuery 1.4.2 is included. Plugin authors who make use of its live or delegate functions will most likely be able to avoid this issue.

Is there anyway to determine when new content has been displayed for a post?

The 'Read More Right Here' plugin client-side code triggers custom "events" using jQuery's trigger method. Other scripts loaded to the page can hook into these events to offer additional functionality.

  • 'RMRHContentExpanded' is triggered when the new content is displayed
  • 'RMRHContentCollapsed' is triggered when the new content is hidden

The events are triggered by the 'more-link' anchor element. Any element futher up the DOM can handle them. Example code for handling these events:

// '.post' is the post containing element. 
jQuery('.post').bind('RMRHContentExpanded RMRHContentCollapsed',function(e,data)
{
    console.log(e.type);
    console.log(data.itemId);
    console.log(data.moreContentEl);
    console.log(data.linkEl);

    // return false; // prevents event from bubbling up the DOM
}); 

When the new content is loaded on the page, there are a bunch of weird looking characters in the text that shouldn't be there. What do I do?

One option is to visit the plugin's Settings page and select the "Use UTF-8 Decode" option, which runs the returned content through PHP's utf8_decode function.

This thread suggests modifying the .htaccess file of the site to include "AddDefaultCharset UTF-8".

Another solution is to change the string encoding at the database level, though that is beyond the scope of this FAQ (because I don't know how).

I have adsense ads within the content of my post. This plugin causes weird issues.

There is a limit to the number of adsense ads you can have on a page. If your 'front page' has ads, and the content pulled by this plugins also contains ads, then you might inadvertantly step over the limit once that new content is inserted into the page.

Why does the 'read more' click sometimes take me directly to the single post view of the post, instead of expanding dynamically with the new content (like it should)?

Unfortunately, with IE 7 and 8, embedded flash content cannot be dynamically inserted inline with the rest of the post content. If that is the browser in use, and if an 'object' element is found in the new content, the user is immediately sent to the single post view. Sorry. For more history on the matter see here.

How do I change the "loading" image?

The "loading" image used to visually inform the user that the new content is arriving was created using the excellent Ajax Load website. To use a different image you can create a new one and drop it into this plugin's root directory (plugins/read-more-right-here/loader). Then visit the plugin's Settings page and select that image using the 'Loader Image' option.

What is the "wt_rmrh-debug.js" file?

The javascript used for this plugin is found in "read-more-right-here/js/wt_rmrh.js". It has been compressed using Google's Closure Compiler. The original, uncompressed javascript is also included and is named "wt_rmrh-debug.js". To use the uncompressed javascript file, visit the plugin's Settings page and check the 'Use Debug Script' option.

Requires: 3.0 or higher
Compatible up to: 3.3.2
Last Updated: 2012-1-13
Downloads: 47,728

Ratings

3 stars
3.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
60,5,3 100,1,1 100,1,1
100,2,2
80,10,8
0,1,0
100,1,1
33,3,1
100,1,1
100,1,1
50,2,1
0,3,0
60,5,3
100,1,1
33,3,1
50,2,1
100,1,1
0,2,0
0,3,0