Plugin info

Total downloads: 3,973
Active installs: 40
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 6/27/2013 (4570 days ago)
Added to WordPress: 6/26/2013 (12 years old)
Minimum WordPress version: 3.5
Tested up to WordPress version: 3.5.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4570 days ago • 1 reviews

22/100

Is Login to read more abandoned?

Possibly abandoned (last update 4570 days ago).

Compatibility

Requires WordPress: 3.5
Tested up to: 3.5.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Uix UserCenter
Rating 2.5/5 (2 reviews)Active installs 0
HS Membership Plugin
Rating 0.0/5 (0 reviews)Active installs 10
WP-Members Membership Plugin
Rating 4.6/5 (271 reviews)Active installs 50,000
Simple Membership
Rating 4.6/5 (458 reviews)Active installs 40,000

Description

Display content enclosed by the shortcode for registered users only.

[auth]This content will display for registered users only[/auth]

https://github.com/miya0001/login-to-read-more

Arguments

  • class – Class name for css. default value is “btn btn-primary btn-large”
  • href – Link URL for button. default value is login url for your site
  • text – Button text. default value is “Login to read more”

The following will add a class as argument.

Example: [auth class="foo"]
Output: ...

The following will change url link.

Example: [auth href="http://example.com/xxx/"]
Output: ...

The following will change text.

Example: [auth text="Join"]
Output: Join

Filter Hook

  • login_to_read_more_class – Change default class.
  • login_to_read_more_href – Change default url.
  • login_to_read_more_text – Change default text.

The following is example for “login_to_read_more_text” filter.

add_filter('login_to_read_more_text', 'my_login_to_read_more_text');
function my_login_to_read_more_text(){
    return 'Join';
}

Installation

  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plug-in is made effective.

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Visual Editor.

    Visual Editor.

  2. Short code output.

    Short code output.

Changelog

No changelog available