Zum Inhalt springen
WordPress.org

Deutsch (Schweiz)

  • Themes
  • Plugins
  • News
  • Über
  • Mitwirken
  • Lerne WordPress
  • Hol dir WordPress
Hol dir WordPress
WordPress.org

Plugin Directory

Login to read more

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Login to read more

By Takayuki Miyauchi
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

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: <a class="foo" ...>...</a>

The following will change url link.

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

The following will change text.

Example: [auth text="Join"]
Output: <a ...>Join</a>

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';
}

Screenshots

  • Visual Editor.
  • Short code output.

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.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Login to read more” is open source software. The following people have contributed to this plugin.

Contributors
  • Takayuki Miyauchi

Translate “Login to read more” into your language.

Interested in development?

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

Meta

  • Version 0.2.0
  • Last updated 13 Jahren ago
  • Active installations 20+
  • WordPress version 3.5 or higher
  • Tested up to 3.5.2
  • Language
    English (US)
  • Tags
    loginmemberpostregistershortcode
  • Advanced View

Ratings

5 von 5 Sternen.
  • 1 5-Sterne-Rezension 5 Sterne 1
  • 0 4-Sterne-Rezensionen 4 Sterne 0
  • 0 3-Sterne-Rezensionen 3 Sterne 0
  • 0 2-Sterne-Rezensionen 2 Sterne 0
  • 0 1-Sterne-Rezensionen 1 Stern 0

Your review

See all reviews

Contributors

  • Takayuki Miyauchi

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • Über
  • News
  • Hosting (engl.)
  • Datenschutz
  • Showcase (engl.)
  • Themes
  • Plugins
  • Vorlagen
  • Learn
  • Support
  • Entwicklung (engl.)
  • WordPress.tv ↗
  • Mitwirken (engl.)
  • Veranstaltungen
  • Spenden (engl.) ↗
  • Five for the Future (engl.)
  • WordPress.com ↗
  • Matt (engl.) ↗
  • bbPress (engl.) ↗
  • BuddyPress (engl.) ↗
WordPress.org
WordPress.org

Deutsch (Schweiz)

  • Das X-Konto (früher Twitter) von WordPress.org besuchen
  • Das Bluesky-Konto von WordPress.org besuchen
  • Das Mastodon-Konto von WordPress.org besuchen
  • Das Threads-Konto von WordPress.org besuchen
  • Die Facebook-Seite von WordPress.org besuchen
  • Das Instagram-Konto von WordPress.org besuchen
  • Das LinkedIn-Konto von WordPress.org besuchen
  • Das TikTok-Konto von WordPress.org besuchen
  • Den YouTube-Kanal von WordPress.org besuchen
  • Das Tumblr-Konto von WordPress.org besuchen
Code ist Poesie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.