WP-Members™ では、コンテンツが閲覧制限されておりログインする必要があることをユーザーに示すメッセージの上に、ティーザーとして単一の投稿/固定ページの抜粋を表示します(抜粋は「詳細」タグまたは自動抜粋設定を使って行います)。この設定を使用するには、 プラグイン設定で抜粋を表示を有効にします。
注意:これはアーカイブタイプのテンプレートや検索結果など、投稿の概要の抜粋コンテンツには影響しません。 コンテンツが表示される単一の投稿または単一固定ページにのみ影響します。
原文を見る
WP-Members™ can show the excerpt (via the ‘more’ tag or auto-excerpt setting) on a single post/page as a teaser above the message indicating that content is restricted and the user must log in. To use this setting, enable Show Excerpts in the plugin settings.
NOTE: this does not effect any excerpt content for summaries of posts, such as archive-type templates or search results. It only effects the single post or the single page that the content is displayed on.
https://rocketgeek.com/plugins/wp-members/docs/managing-content/show-excerpts/
投稿で抜粋を使用する
閲覧制限されたページにティーザーコンテンツとして抜粋を表示したい場合もあるでしょう。WP-Members™ 設定の「抜粋を表示」を使用すると、閲覧制限されたコンテンツに設置されるログイン/登録フォームの上にティーザーコンテンツが表示されます。
原文を見る
There are occasions where a user may wish to have an excerpt display as teaser content on a single restricted page. If you use the WP-Members™ setting Show Excerpts, the teaser content will display above the login/registration forms that are placed into restricted content.
固定ページで抜粋を使用する
これは投稿の場合と同じです。 「投稿で抜粋を使用する」というタイトルの項目を参照してください。
ページを閲覧制限するために 「続きを読む」タグ は必要ありませんが、固定ページでWP-Members™ 設定の「抜粋を表示」と組み合わせて「続きを読む」タグ を使用すると、閲覧制限されたコンテンツに設置されるログイン/登録フォームの上にティーザーコンテンツが表示されます。
重要:固定ページで抜粋を表示を使用していて、なおかつ固定ページを閲覧制限している場合 (またはカスタムフィールドで閲覧制限されているページがある場合)、閲覧制限されたページで「続きを読む」タグを使用するか、ページの自動抜粋設定を使用しなければなりません。 そうしないとページのコンテンツの全てがログインフォームの前に表示されてしまいます。
原文を見る
This is the same as for posts. Review the section titled Using an Excerpt on Single Posts.
While a “read more” tag is not required to protect pages, if you use a “read more” tag in a page in combination with the WP-Members™ setting Show Excerpts, the teaser content will display above the login/registration forms that are placed into restricted content.
IMPORTANT: If you are using Show Excerpts for pages, and you are blocking pages (or you have any pages blocked with Custom Fields, you MUST use either a “read more” tag on the blocked pages OR use the auto-excerpt setting for pages. Otherwise, all of the page’s content will show before the login form.