Help us understand the problem. What is going on with this article?

wordpressのSimpleMembershipでログインしていない時の文章を変える

More than 1 year has passed since last update.

"このコンテンツを閲覧するにはログインが必要です。お願い ログイン. あなたは会員ですか ? 会員について"を変更したく色々調べたもののドンピシャのがなかったのでメモ。

wp/wp-content/plugins/simple-membership/classes/class.swpm-access-control.php

から div class="swpm-post-not-logged-in-msg"を探し(48行目あたり)後に続く.$text.を

$text = 'このコンテンツを閲覧するにはログインが必要です。<br />
会員の方は<a href="#">ログイン</a>して下さい。<br />会員登録は<a href="#">こちら</a>';

のような感じで書き換える

tkdxxx
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした