생활 웹디자인

Likes

변수 설명
{block:Likes} {/block:Likes} "계정 설정 > 대시보드"에서 내가 좋아하는 포스트를 공유하도록 설정한 경우 출력합니다.
{Likes} 좋아요한 포스트를 출력
{Likes limit="5"} 좋아요한 포스트를 최대 5개 출력
Maximum: 10
{Likes width="200"} 좋아요한 포스트중 오디오나 비디오를 포함한 플레이어의 사이즈 지정
Scale images with CSS max-width or similar.
{Likes summarize="100"} 좋아요한 포스트의 요약텍스트 사이즈 지정
Maximum: 250

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html>
<head>
<style type="text/css">
ul#likes {
list-style-type: none;
margin: 0 0 0 0;
padding: 0 0 0 0;
}
li.like_post {
/* Should match the width specified in the Likes tag */
width: 150px;
padding: 0 40px 0 0;
float: left;
}
li.like_post img {
max-width: 100%;
}
li.like_post blockquote {
margin: 0;
padding: 0 0 0 10px;
border-left: 1px solid #eee;
}
li.like_post ol,
li.like_post ul {
margin: 0 0 0 15px;
padding: 0;
}
li.like_post .like_link a {
font-weight: bold;
}
li.like_post .like_title {
font-weight: bold;
}
li.like_post .post_info_bottom {
margin: 10px 0 0 0;
display: block !important;
}
</style>
</head>
<body>
...
{block:Likes}
<div id="likes_container">
<h2>Stuff I like</h2>
{Likes limit="5" summarize="100" width="150"}
See more stuff I like
</a>
</div>
{/block:Likes}
</body>
</html>

댓글

댓글 본문
버전 관리
리체
현재 버전
선택 버전
공동공부
graphittie 자세히 보기