内容をスキップ
  • ログイン
  • 登録
WordPress.org

日本語

  • テーマ
  • プラグイン
  • ニュース
  • サポート
    • ドキュメンテーション
    • フォーラム
  • 概要
  • 参加・貢献
  • このサイトについて
  • WordPress を入手
WordPress を入手

プラグイン

  • お気に入り
  • ベータテスト
  • 開発者

このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

ダウンロード

Login to read more

作者: Takayuki Miyauchi
  • 詳細
  • レビュー
  • インストール
  • 開発
サポート

説明

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

スクリーンショット

  • Visual Editor.
  • Short code output.

インストール

  • 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.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Login to read more はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者
  • Takayuki Miyauchi

“Login to read more” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログを RSS で購読してみてください。

メタ

  • バージョン: 0.2.0
  • 最終更新日: 10年前
  • 有効インストール数: 70+
  • WordPress バージョン: 3.5またはそれ以降
  • 検証済み最新バージョン: 3.5.2
  • 言語:
    English (US)
  • タグ:
    loginmemberpostregistershortcode
  • 詳細を表示

評価

すべて表示
  • 5つ星 1
  • 4つ星 0
  • 3つ星 0
  • 2つ星 0
  • 1つ星 0
レビューを申請するにはログインしてください。

貢献者

  • Takayuki Miyauchi

サポート

意見や質問がありますか ?

サポートフォーラムを表示

寄付

このプラグインが今後も改善できるよう応援しませんか ?

このプラグインに寄付

  • WordPress とは
  • ニュース
  • ホスティング
  • 寄付
  • Swag
  • ドキュメンテーション
  • 開発者
  • 参加・貢献
  • Learn
  • ショーケース
  • プラグイン
  • テーマ
  • パターン
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • マット・マレンウェッグ
  • プライバシー
  • 公開コード
WordPress.org
WordPress.org

日本語

  • Facebook ページへ
  • Twitter アカウントへ
  • Instagram アカウントへ
  • LinkedIn アカウントへ
Code is Poetry.