質問するログイン新規登録

回答編集履歴

1

回答が読みずらかったため、コードの表記のところを、codeタグで囲みました。

2019/03/04 03:55

投稿

pinetree-bay
pinetree-bay

スコア25

answer CHANGED
@@ -2,8 +2,11 @@
2
2
 
3
3
  203行目付近
4
4
  ======================
5
- //User is not logged-in. Need to show the login message after the more tag.
6
- $text = 'このコンテンツを閲覧するにはログインが必要です。<br />会員の方はログイン下さい<a href="http(s)://質問者様のドメイン名/membership-login/">ログイン</a><br />会員登録は<a href="http(s)://質問者様のドメイン名/membership-join/">こちら</a>'; //SwpmUtils::_("You need to login to view the rest of the content. ") . SwpmMiscUtils::get_login_link();
5
+ ```
6
+ //User is not logged-in. Need to show the login message after the more tag.
7
+ $text = 'このコンテンツを閲覧するにはログインが必要です。<br />会員の方はログイン下さい<a href="http(s)://質問者様のドメイン名/membership-login/">ログイン</a><br />会員登録は<a href="http(s)://質問者様のドメイン名/membership-join/">こちら</a>';
8
+ //SwpmUtils::_("You need to login to view the rest of the content. ") . SwpmMiscUtils::get_login_link();
9
+ ```
7
10
  ======================
8
11
  上記修正の中で、以下文章、、、
9
12
  http(s)://質問者様のドメイン名/membership-login/