回答編集履歴

1

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

2019/03/04 03:55

投稿

pinetree-bay
pinetree-bay

スコア25

test CHANGED
@@ -6,9 +6,15 @@
6
6
 
7
7
  ======================
8
8
 
9
- //User is not logged-in. Need to show the login message after the more tag.
9
+ ```
10
10
 
11
- $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();
11
+ //User is not logged-in. Need to show the login message after the more tag.
12
+
13
+ $text = 'このコンテンツを閲覧するにはログインが必要です。<br />会員の方はログイン下さい<a href="http(s)://質問者様のドメイン名/membership-login/">ログイン</a><br />会員登録は<a href="http(s)://質問者様のドメイン名/membership-join/">こちら</a>';
14
+
15
+ //SwpmUtils::_("You need to login to view the rest of the content. ") . SwpmMiscUtils::get_login_link();
16
+
17
+ ```
12
18
 
13
19
  ======================
14
20