PluginProbe ʕ •ᴥ•ʔ
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress / trunk
Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress vtrunk
4.16.18 4.16.17 4.16.16 trunk 1.0 1.0.1 1.0.2 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5a 1.1.6 1.1.7 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4 1.4.1 1.4.2 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.7 1.7.1 1.7.2 1.8 1.8.1 1.8.10 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.1.9 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.2 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 3.0 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 3.1.19 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10.0 4.10.1 4.10.2 4.10.3 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.13.3 4.13.4 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.15.0 4.15.1 4.15.10 4.15.11 4.15.12 4.15.13 4.15.14 4.15.15 4.15.16 4.15.17 4.15.18 4.15.19 4.15.2 4.15.20 4.15.20.1 4.15.21 4.15.22 4.15.23 4.15.24 4.15.25 4.15.3 4.15.4 4.15.5 4.15.6 4.15.7 4.15.8 4.15.9 4.16.0 4.16.1 4.16.10 4.16.11 4.16.12 4.16.13 4.16.14 4.16.15 4.16.2 4.16.3 4.16.4 4.16.5 4.16.6 4.16.7 4.16.8 4.16.9 4.2.0 4.3.0 4.3.1 4.3.2 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.6.0 4.7.0 4.8.0 4.9.0
wp-user-avatar / src / Themes / Shortcode / Userprofile / Dixon.php
wp-user-avatar / src / Themes / Shortcode / Userprofile Last commit date
Daisy.php 4 years ago Dixon.php 5 years ago
Dixon.php
226 lines
1 <?php
2
3 namespace ProfilePress\Core\Themes\Shortcode\Userprofile;
4
5
6 use ProfilePress\Core\Themes\Shortcode\ThemeInterface;
7
8 class Dixon implements ThemeInterface
9 {
10 public function get_name()
11 {
12 return 'Dixon';
13 }
14
15 public function get_structure()
16 {
17 $asset_url = PPRESS_ASSETS_URL . '/images/dixon-fe-profile';
18
19 return <<<CODE
20 <div class="dixon-wraper">
21 <div class="dixon-header">
22 <div class="dixon-container">
23 <div class="dixon-img">
24 <div class="dixon-avatar">
25 <img src="[profile-avatar-url]" />
26 </div>
27 </div>
28 <div class="dixon-text"> <span>[profile-username] </span>
29 <br />Profile</div>
30 <div class="dixon-icon">
31 <ul>
32 <li> <a href="[profile-cpf key=facebook]"><img src="{$asset_url}/facebook.png" /> </a>
33 </li>
34 <li> <a href="[profile-cpf key=twitter]"><img src="{$asset_url}/twitter.png" /> </a>
35 </li>
36 <li> <a href="[profile-cpf key=linkedin]"><img src="{$asset_url}/linkedin.png"/> </a>
37 </li>
38 </ul>
39 </div>
40 </div>
41 </div>
42 <div class="dixon-container">
43 <div style="text-align: center;">
44 <h3> PROFILE DETAILS </h3>
45 </div>
46 <div class="dixon-section">
47 <div class="dixon-section-name">
48 <span>First name</span>
49 </div>
50 <div class="dixon-section-address">
51 <span>[profile-first-name]</span>
52 </div>
53 <div class="dixon-section-name">
54 <span>Last name</span>
55 </div>
56 <div class="dixon-section-address">
57 <span>[profile-last-name]</span>
58 </div>
59 <div class="dixon-section-name">
60 <span>Nickname</span>
61 </div>
62 <div class="dixon-section-address">
63 <span>[profile-nickname]</span>
64 </div>
65 <div class="dixon-section-name">
66 <span>Gender</span>
67 </div>
68 <div class="dixon-section-address">
69 <span>Male</span>
70 </div>
71 <div class="dixon-section-name">
72 <span>Website</span>
73 </div>
74 <div class="dixon-section-address">
75 <span><a href="[profile-website]">[profile-website]</a></span>
76 </div>
77 <div class="dixon-section-name">
78 <span>Bio</span>
79 </div>
80 <div class="dixon-section-address">
81 <span>[profile-bio]</span>
82 </div>
83 </div>
84 </div>
85 </div>
86 CODE;
87
88 }
89
90 public function get_css()
91 {
92 $asset_url = PPRESS_ASSETS_URL . '/images/dixon-fe-profile';
93
94 return <<<CSS
95 @import url(https://fonts.googleapis.com/css?family=Lato:300,400,600,700|Raleway:300,400,600,700&display=swap);
96
97 .dixon-wraper {
98 width: 100%;
99 max-width: 800px;
100 background:#ececec;
101 }
102
103 .dixon-wraper p {
104 margin: 0 0 5px 0 !important;
105 padding: 0 !important;
106 }
107
108 .dixon-section-name {
109 float:left;
110 color:#222222;
111 }
112 .dixon-section-address {
113 margin-left:30%;
114 color: #6b6969;
115 }
116 .dixon-container {
117 margin:auto;
118 width:100%;
119 padding-bottom: 10px;
120 }
121 .dixon-section-name > span, .dixon-section-address > span {
122 padding-bottom:20px;
123 margin:0;
124 display: block;
125 }
126
127 .dixon-section-name > a, .dixon-section-address > a {
128 text-decoration:none;
129 }
130
131 .dixon-container h3 {
132 margin:30px 0;
133 font-family:Lato, sans-serif;
134 color:#196783;
135 font-size:28px;
136 }
137 .dixon-header {
138 background:url({$asset_url}/bg.jpg);
139 width:100%;
140 height:60%;
141 border-bottom:3px solid #a7bdc8;
142 padding-bottom: 5px;
143 }
144 .dixon-aside {
145 margin-top:30px;
146 }
147 .dixon-section {
148 background:#fff;
149 padding:40px 20px 10px;
150 border-top:4px solid red;
151 margin: 0 10px;
152 }
153 .dixon-img {
154 padding-top:40px;
155 position:relative;
156 float:left;
157 width: 50%;
158 }
159 .dixon-icon > ul > li img {
160 box-shadow: none;
161 }
162
163 .dixon-text {
164 text-align:center;
165 font-size:30px;
166 color:#fff;
167 padding-top:50px;
168 line-height:40px;
169 font-family:Raleway, Sans-serif;
170 text-transform:uppercase;
171 }
172
173
174 .dixon-icon ul li::before {
175 content: none;
176 }
177
178 .dixon-icon li {
179 display:inline-block;
180 text-align:center;
181 }
182 .dixon-icon {
183 text-align:center;
184 margin-top:15px;
185 }
186 .dixon-text span {
187 border-bottom:1px solid #52edc7;
188 padding-bottom:4px;
189 }
190 .dixon-aside img {
191 width:190px;
192 margin-top:-30px;
193 }
194 .dixon-center-text {
195 color:#6b6969;
196 }
197 .dixon-section-address span a {
198 color:#24758e;
199 }
200 .dixon-light {
201 margin-left:10px;
202 }
203 .dixon-img-left {
204 margin-left:5px;
205 }
206 .dixon-aside-text {
207 border-bottom: 1px solid #949798;
208 border-top: 1px solid #949798;
209 padding:25px 0;
210 margin-top: 50px;
211 }
212
213 .dixon-avatar > img {
214 border: 3px solid #ffffff;
215 border-radius: 50%;
216 margin: 10px;
217 padding: 4px;
218 width: 70%;
219 height: auto;
220 float: left;
221 }
222
223 CSS;
224
225 }
226 }