Ticket #7267: 7267.2.patch
File 7267.2.patch, 29.0 KB (added by , 8 years ago) |
---|
-
src/bp-core/admin/css/common-rtl.css
66 66 .index_page_bp-about .bp-headline-feature, 67 67 .dashboard_page_bp-about .bp-headline-feature { 68 68 margin-bottom: 3em; 69 margin-top: 3em; 70 padding: 2em 3em; 71 } 72 73 .index_page_bp-about .bp-headline, 74 .dashboard_page_bp-about .bp-headline { 75 margin: 0 auto; 76 width: 35em; 77 } 78 79 .index_page_bp-about .bp-headline span.dashicons, 80 .dashboard_page_bp-about .bp-headline span.dashicons { 81 background-color: #f1f1f1; 82 clear: right; 83 font-size: 100px; 84 float: right; 85 height: 100px; 86 line-height: 100px; 87 margin: 0 0 15px 15px ; 69 88 text-align: center; 89 width: 100px; 70 90 } 71 91 72 92 .index_page_bp-about .bp-headline-feature h3, … … 74 94 .dashboard_page_bp-about .bp-headline-feature h3, 75 95 .dashboard_page_bp-about .bp-headline-feature .headline-title { 76 96 font-size: 2.2em; 77 line-height: 1.3;78 margin: 1.25em 0 0.6em;79 text-align: center;97 font-weight: 300; 98 line-height: 1; 99 margin: 0 125px 0 0; 80 100 } 81 101 82 102 .index_page_bp-about .bp-headline-feature p, 83 103 .dashboard_page_bp-about .bp-headline-feature p { 84 104 font-size: 1.15em; 85 margin: 1.15em auto 0.6em; 86 max-width: 80%; 105 margin: 1.15em 125px 0.6em auto; 87 106 } 88 107 89 108 .index_page_bp-about .bp-headline-feature .introduction, … … 98 117 .index_page_bp-about .bp-features-section, 99 118 .dashboard_page_bp-about .bp-features-section { 100 119 clear: both; 101 margin- bottom: 2em;102 margin-top: 2em;120 margin-top: 3em; 121 overflow: hidden; 103 122 padding-bottom: 0; 104 123 } 105 124 125 .index_page_bp-about span.dashicons, 126 .dashboard_page_bp-about span.dashicons { 127 background-color: #fff; 128 border-radius: 50%; 129 clear: right; 130 color: #d84800; 131 font-size: 50px; 132 float: right; 133 height: 80px; 134 line-height: 80px; 135 margin: 0 0 15px 15px ; 136 text-align: center; 137 width: 80px; 138 } 139 106 140 .index_page_bp-about .bp-features-section h3, 107 141 .dashboard_page_bp-about .bp-features-section h3 { 108 font-size: 1.8em;109 font-weight: normal;110 line-height: 1.5 em;111 margin: 0 0 0.6em;142 font-size: 2em; 143 font-weight: 300; 144 line-height: 1.5; 145 margin: 0 auto 1.5em; 112 146 text-align: center; 113 147 } 114 148 115 149 .index_page_bp-about .bp-feature, 116 150 .dashboard_page_bp-about .bp-feature { 117 clear: both; 118 overflow: hidden; 151 float: right; 119 152 margin-bottom: 3em; 120 margin-top: 3em; 153 margin-left: 4.799999999%; 154 width: 47.6%; 121 155 } 122 156 157 .index_page_bp-about .bp-feature:nth-of-type(2n), 158 .dashboard_page_bp-about .bp-feature:nth-of-type(2n) { 159 margin-left: 0; 160 } 161 123 162 .index_page_bp-about .bp-feature::after, 124 163 .dashboard_page_bp-about .bp-feature::after { 125 164 content: ''; … … 127 166 128 167 .index_page_bp-about .bp-feature h4, 129 168 .dashboard_page_bp-about .bp-feature h4 { 130 color: #23282d;131 display: inline-block;132 169 font-size: 1.25em; 133 margin-bottom: 0.6em; 170 line-height: 1.5; 171 margin-bottom: 0; 172 margin-right: 110px; 134 173 margin-top: 0; 135 width: 47%;174 text-align: right; 136 175 } 137 176 138 177 .index_page_bp-about .bp-feature p, 139 178 .dashboard_page_bp-about .bp-feature p { 140 float: right; 141 font-size: 1.15em; 142 width: 47%; 179 margin-right: 110px; 143 180 } 144 181 145 .index_page_bp-about .bp-feature.opposite h4,146 .dashboard_page_bp-about .bp-feature.opposite h4,147 .index_page_bp-about .bp-feature.opposite p,148 .dashboard_page_bp-about .bp-feature.opposite p {149 float: left;150 }151 152 .index_page_bp-about .bp-feature img,153 .dashboard_page_bp-about .bp-feature img {154 clear: left;155 float: left;156 margin-right: 2.5%;157 width: 50%;158 max-width: 50%;159 }160 161 .index_page_bp-about .bp-feature.opposite img,162 .dashboard_page_bp-about .bp-feature.opposite img{163 clear: right;164 float: right;165 margin-right: 0;166 margin-left: 2.5%;167 }168 169 170 182 /* 171 183 * 1.2.3 Changelog Section 172 184 */ 173 185 .index_page_bp-about .bp-changelog-section, 174 186 .dashboard_page_bp-about .bp-changelog-section { 175 border-top: 1px solid #ccc;176 187 clear: both; 177 margin-bottom: 3em; 178 margin-top: 2em; 188 margin-bottom: 8em; 189 margin-top: 3em; 190 overflow: hidden; 179 191 padding-bottom: 0; 180 192 } 181 193 … … 190 202 font-size: 1.8em; 191 203 font-weight: 300; 192 204 line-height: 1.5; 193 margin: 1.25em 0 0.6em;205 margin: 0 auto 0.5em; 194 206 text-align: center; 195 207 } 196 208 … … 214 226 215 227 .index_page_bp-about .bp-changelog h4, 216 228 .dashboard_page_bp-about .bp-changelog h4 { 217 font-size: 1 .15em;218 margin- top: 1.5em;219 margin- bottom: 0.6em;229 font-size: 1em; 230 margin-bottom: 0; 231 margin-top: 0; 220 232 } 221 233 222 234 .index_page_bp-about .bp-changelog p, 223 235 .dashboard_page_bp-about .bp-changelog p { 224 font-size: 1.05em; 225 margin-top: 0.75em; 236 margin-bottom: 3em; 226 237 } 227 238 239 .bp-changelog-url { 240 text-align: center; 241 } 242 228 243 .bp-assets { 229 244 clear: both; 230 245 margin-bottom: 2em; 231 padding-top: 3em;232 246 } 233 247 234 248 @media screen and ( max-width: 782px ) { 235 249 .index_page_bp-about .bp-headline-feature, 236 250 .dashboard_page_bp-about .bp-headline-feature { 237 max-width: 100%;251 padding: 0; 238 252 } 239 .index_page_bp-about .bp-headline -feature .headline-title,240 .dashboard_page_bp-about .bp-headline -feature .headline-title{241 font-size: 1.5em;242 line-height: 1.5;253 .index_page_bp-about .bp-headline, 254 .dashboard_page_bp-about .bp-headline { 255 margin: 0; 256 width: 97%; 243 257 } 244 .index_page_bp-about .bp-headline-feature p,245 .dashboard_page_bp-about .bp-headline-feature p {246 max-width: 100%;247 }248 258 .index_page_bp-about .bp-features-section, 249 259 .dashboard_page_bp-about .bp-features-section { 260 clear: both; 250 261 margin-bottom: 0; 251 262 margin-top: 2em; 252 263 } … … 257 268 font-size: 1.8em; 258 269 font-weight: 300; 259 270 line-height: 1.5; 271 margin-bottom: 0.5em; 272 margin-top: 0.5em; 260 273 } 261 274 .index_page_bp-about .bp-features-section h4, 262 275 .dashboard_page_bp-about .bp-features-section h4, … … 269 282 } 270 283 .index_page_bp-about .bp-feature, 271 284 .dashboard_page_bp-about .bp-feature { 285 clear: both; 286 float: right; 272 287 margin-bottom: 1em; 273 288 margin-top: 1em; 289 margin-left: 0; 290 padding-left: 1em; 291 width: 100%; 274 292 } 293 .index_page_bp-about .bp-feature span, 294 .dashboard_page_bp-about .bp-feature span { 295 margin-top: 0.33em; 296 } 275 297 .index_page_bp-about .bp-feature h4, 276 298 .dashboard_page_bp-about .bp-feature h4, 277 299 .index_page_bp-about .bp-feature p, … … 284 306 .dashboard_page_bp-about .bp-feature.opposite p { 285 307 float: none; 286 308 } 287 .index_page_bp-about .bp-feature img, 288 .dashboard_page_bp-about .bp-feature img { 289 clear: right; 290 float: none; 291 margin-right: 0; 292 width: 100%; 293 max-width: 100%; 309 .index_page_bp-about .bp-changelog-section, 310 .dashboard_page_bp-about .bp-changelog-section { 311 clear: both; 312 margin-bottom: 2em; 294 313 } 295 .index_page_bp-about .bp-feature.opposite img, 296 .dashboard_page_bp-about .bp-feature.opposite img{ 297 clear: right; 298 float: none; 299 margin-left: 0; 314 .index_page_bp-about .bp-changelog-section .changelog-title, 315 .dashboard_page_bp-about .bp-changelog-section .changelog-title { 316 margin-bottom: 1em; 300 317 } 318 .index_page_bp-about .bp-changelog h4, 319 .dashboard_page_bp-about .bp-changelog h4 { 320 font-size: 1em; 321 } 322 .index_page_bp-about .bp-changelog p, 323 .dashboard_page_bp-about .bp-changelog p { 324 margin-bottom: 2em; 325 } 301 326 .index_page_bp-about .bp-changelog-section .two-col > div, 302 327 .dashboard_page_bp-about .bp-changelog-section .two-col > div { 303 328 margin-top: 0; … … 305 330 width: 100%; 306 331 } 307 332 } 308 309 333 @media screen and ( max-width: 360px ) { 334 .index_page_bp-about .bp-headline, 335 .dashboard_page_bp-about .bp-headline { 336 text-align: center; 337 } 338 .index_page_bp-about .bp-headline span.dashicons, 339 .dashboard_page_bp-about .bp-headline span.dashicons { 340 clear: none; 341 font-size: 80px; 342 float: none; 343 height: 80px; 344 line-height: 80px; 345 margin: 0 auto; 346 width: 80px; 347 } 348 .index_page_bp-about .bp-headline-feature h3, 349 .index_page_bp-about .bp-headline-feature .headline-title, 350 .dashboard_page_bp-about .bp-headline-feature h3, 351 .dashboard_page_bp-about .bp-headline-feature .headline-title { 352 margin: 1em 0 0 0; 353 text-align: right; 354 } 355 .index_page_bp-about .bp-headline-feature p, 356 .dashboard_page_bp-about .bp-headline-feature p { 357 margin: 1.15em 0 0.6em auto; 358 text-align: right; 359 } 360 .index_page_bp-about .bp-headline-feature .headline-title, 361 .dashboard_page_bp-about .bp-headline-feature .headline-title { 362 font-size: 1.5em; 363 line-height: 1.5; 364 } 365 .index_page_bp-about .bp-headline-feature p, 366 .dashboard_page_bp-about .bp-headline-feature p { 367 width: auto; 368 } 369 .index_page_bp-about .bp-feature, 370 .dashboard_page_bp-about .bp-feature { 371 text-align: center; 372 } 373 .index_page_bp-about span.dashicons, 374 .dashboard_page_bp-about span.dashicons { 375 float: none; 376 } 377 .index_page_bp-about .bp-features-section h4, 378 .dashboard_page_bp-about .bp-features-section h4, 379 .index_page_bp-about .bp-features-section p, 380 .dashboard_page_bp-about .bp-features-section p { 381 margin-right: 0; 382 text-align: right; 383 } 384 } 310 385 /*------------------------------------------------------------------------------ 311 386 * 2.0 Dashicons 312 387 *----------------------------------------------------------------------------*/ -
src/bp-core/admin/css/common.css
66 66 .index_page_bp-about .bp-headline-feature, 67 67 .dashboard_page_bp-about .bp-headline-feature { 68 68 margin-bottom: 3em; 69 margin-top: 3em; 70 padding: 2em 3em; 71 } 72 73 .index_page_bp-about .bp-headline, 74 .dashboard_page_bp-about .bp-headline { 75 margin: 0 auto; 76 width: 35em; 77 } 78 79 .index_page_bp-about .bp-headline span.dashicons, 80 .dashboard_page_bp-about .bp-headline span.dashicons { 81 background-color: #f1f1f1; 82 clear: left; 83 font-size: 100px; 84 float: left; 85 height: 100px; 86 line-height: 100px; 87 margin: 0 15px 15px 0 ; 69 88 text-align: center; 89 width: 100px; 70 90 } 71 91 72 92 .index_page_bp-about .bp-headline-feature h3, … … 74 94 .dashboard_page_bp-about .bp-headline-feature h3, 75 95 .dashboard_page_bp-about .bp-headline-feature .headline-title { 76 96 font-size: 2.2em; 77 line-height: 1.3;78 margin: 1.25em 0 0.6em;79 text-align: center;97 font-weight: 300; 98 line-height: 1; 99 margin: 0 0 0 125px; 80 100 } 81 101 82 102 .index_page_bp-about .bp-headline-feature p, 83 103 .dashboard_page_bp-about .bp-headline-feature p { 84 104 font-size: 1.15em; 85 margin: 1.15em auto 0.6em; 86 max-width: 80%; 105 margin: 1.15em auto 0.6em 125px; 87 106 } 88 107 89 108 .index_page_bp-about .bp-headline-feature .introduction, … … 98 117 .index_page_bp-about .bp-features-section, 99 118 .dashboard_page_bp-about .bp-features-section { 100 119 clear: both; 101 margin- bottom: 2em;102 margin-top: 2em;120 margin-top: 3em; 121 overflow: hidden; 103 122 padding-bottom: 0; 104 123 } 105 124 125 .index_page_bp-about span.dashicons, 126 .dashboard_page_bp-about span.dashicons { 127 background-color: #fff; 128 border-radius: 50%; 129 clear: left; 130 color: #d84800; 131 font-size: 50px; 132 float: left; 133 height: 80px; 134 line-height: 80px; 135 margin: 0 15px 15px 0 ; 136 text-align: center; 137 width: 80px; 138 } 139 106 140 .index_page_bp-about .bp-features-section h3, 107 141 .dashboard_page_bp-about .bp-features-section h3 { 108 font-size: 1.8em;109 font-weight: normal;110 line-height: 1.5 em;111 margin: 0 0 0.6em;142 font-size: 2em; 143 font-weight: 300; 144 line-height: 1.5; 145 margin: 0 auto 1.5em; 112 146 text-align: center; 113 147 } 114 148 115 149 .index_page_bp-about .bp-feature, 116 150 .dashboard_page_bp-about .bp-feature { 117 clear: both; 118 overflow: hidden; 151 float: left; 119 152 margin-bottom: 3em; 120 margin-top: 3em; 153 margin-right: 4.799999999%; 154 width: 47.6%; 121 155 } 122 156 157 .index_page_bp-about .bp-feature:nth-of-type(2n), 158 .dashboard_page_bp-about .bp-feature:nth-of-type(2n) { 159 margin-right: 0; 160 } 161 123 162 .index_page_bp-about .bp-feature::after, 124 163 .dashboard_page_bp-about .bp-feature::after { 125 164 content: ''; … … 127 166 128 167 .index_page_bp-about .bp-feature h4, 129 168 .dashboard_page_bp-about .bp-feature h4 { 130 color: #23282d;131 display: inline-block;132 169 font-size: 1.25em; 133 margin-bottom: 0.6em; 170 line-height: 1.5; 171 margin-bottom: 0; 172 margin-left: 110px; 134 173 margin-top: 0; 135 width: 47%;174 text-align: left; 136 175 } 137 176 138 177 .index_page_bp-about .bp-feature p, 139 178 .dashboard_page_bp-about .bp-feature p { 140 float: left; 141 font-size: 1.15em; 142 width: 47%; 179 margin-left: 110px; 143 180 } 144 181 145 .index_page_bp-about .bp-feature.opposite h4,146 .dashboard_page_bp-about .bp-feature.opposite h4,147 .index_page_bp-about .bp-feature.opposite p,148 .dashboard_page_bp-about .bp-feature.opposite p {149 float: right;150 }151 152 .index_page_bp-about .bp-feature img,153 .dashboard_page_bp-about .bp-feature img {154 clear: right;155 float: right;156 margin-left: 2.5%;157 width: 50%;158 max-width: 50%;159 }160 161 .index_page_bp-about .bp-feature.opposite img,162 .dashboard_page_bp-about .bp-feature.opposite img{163 clear: left;164 float: left;165 margin-left: 0;166 margin-right: 2.5%;167 }168 169 170 182 /* 171 183 * 1.2.3 Changelog Section 172 184 */ 173 185 .index_page_bp-about .bp-changelog-section, 174 186 .dashboard_page_bp-about .bp-changelog-section { 175 border-top: 1px solid #ccc;176 187 clear: both; 177 margin-bottom: 3em; 178 margin-top: 2em; 188 margin-bottom: 8em; 189 margin-top: 3em; 190 overflow: hidden; 179 191 padding-bottom: 0; 180 192 } 181 193 … … 190 202 font-size: 1.8em; 191 203 font-weight: 300; 192 204 line-height: 1.5; 193 margin: 1.25em 0 0.6em;205 margin: 0 auto 0.5em; 194 206 text-align: center; 195 207 } 196 208 … … 214 226 215 227 .index_page_bp-about .bp-changelog h4, 216 228 .dashboard_page_bp-about .bp-changelog h4 { 217 font-size: 1 .15em;218 margin- top: 1.5em;219 margin- bottom: 0.6em;229 font-size: 1em; 230 margin-bottom: 0; 231 margin-top: 0; 220 232 } 221 233 222 234 .index_page_bp-about .bp-changelog p, 223 235 .dashboard_page_bp-about .bp-changelog p { 224 font-size: 1.05em; 225 margin-top: 0.75em; 236 margin-bottom: 3em; 226 237 } 227 238 239 .bp-changelog-url { 240 text-align: center; 241 } 242 228 243 .bp-assets { 229 244 clear: both; 230 245 margin-bottom: 2em; 231 padding-top: 3em;232 246 } 233 247 234 248 @media screen and ( max-width: 782px ) { 235 249 .index_page_bp-about .bp-headline-feature, 236 250 .dashboard_page_bp-about .bp-headline-feature { 237 max-width: 100%;251 padding: 0; 238 252 } 239 .index_page_bp-about .bp-headline -feature .headline-title,240 .dashboard_page_bp-about .bp-headline -feature .headline-title{241 font-size: 1.5em;242 line-height: 1.5;253 .index_page_bp-about .bp-headline, 254 .dashboard_page_bp-about .bp-headline { 255 margin: 0; 256 width: 97%; 243 257 } 244 .index_page_bp-about .bp-headline-feature p,245 .dashboard_page_bp-about .bp-headline-feature p {246 max-width: 100%;247 }248 258 .index_page_bp-about .bp-features-section, 249 259 .dashboard_page_bp-about .bp-features-section { 260 clear: both; 250 261 margin-bottom: 0; 251 262 margin-top: 2em; 252 263 } … … 257 268 font-size: 1.8em; 258 269 font-weight: 300; 259 270 line-height: 1.5; 271 margin-bottom: 0.5em; 272 margin-top: 0.5em; 260 273 } 261 274 .index_page_bp-about .bp-features-section h4, 262 275 .dashboard_page_bp-about .bp-features-section h4, … … 269 282 } 270 283 .index_page_bp-about .bp-feature, 271 284 .dashboard_page_bp-about .bp-feature { 285 clear: both; 286 float: left; 272 287 margin-bottom: 1em; 273 288 margin-top: 1em; 289 margin-right: 0; 290 padding-right: 1em; 291 width: 100%; 274 292 } 293 .index_page_bp-about .bp-feature span, 294 .dashboard_page_bp-about .bp-feature span { 295 margin-top: 0.33em; 296 } 275 297 .index_page_bp-about .bp-feature h4, 276 298 .dashboard_page_bp-about .bp-feature h4, 277 299 .index_page_bp-about .bp-feature p, … … 284 306 .dashboard_page_bp-about .bp-feature.opposite p { 285 307 float: none; 286 308 } 287 .index_page_bp-about .bp-feature img, 288 .dashboard_page_bp-about .bp-feature img { 289 clear: left; 290 float: none; 291 margin-left: 0; 292 width: 100%; 293 max-width: 100%; 309 .index_page_bp-about .bp-changelog-section, 310 .dashboard_page_bp-about .bp-changelog-section { 311 clear: both; 312 margin-bottom: 2em; 294 313 } 295 .index_page_bp-about .bp-feature.opposite img, 296 .dashboard_page_bp-about .bp-feature.opposite img{ 297 clear: left; 298 float: none; 299 margin-right: 0; 314 .index_page_bp-about .bp-changelog-section .changelog-title, 315 .dashboard_page_bp-about .bp-changelog-section .changelog-title { 316 margin-bottom: 1em; 300 317 } 318 .index_page_bp-about .bp-changelog h4, 319 .dashboard_page_bp-about .bp-changelog h4 { 320 font-size: 1em; 321 } 322 .index_page_bp-about .bp-changelog p, 323 .dashboard_page_bp-about .bp-changelog p { 324 margin-bottom: 2em; 325 } 301 326 .index_page_bp-about .bp-changelog-section .two-col > div, 302 327 .dashboard_page_bp-about .bp-changelog-section .two-col > div { 303 328 margin-top: 0; … … 305 330 width: 100%; 306 331 } 307 332 } 308 309 333 @media screen and ( max-width: 360px ) { 334 .index_page_bp-about .bp-headline, 335 .dashboard_page_bp-about .bp-headline { 336 text-align: center; 337 } 338 .index_page_bp-about .bp-headline span.dashicons, 339 .dashboard_page_bp-about .bp-headline span.dashicons { 340 clear: none; 341 font-size: 80px; 342 float: none; 343 height: 80px; 344 line-height: 80px; 345 margin: 0 auto; 346 width: 80px; 347 } 348 .index_page_bp-about .bp-headline-feature h3, 349 .index_page_bp-about .bp-headline-feature .headline-title, 350 .dashboard_page_bp-about .bp-headline-feature h3, 351 .dashboard_page_bp-about .bp-headline-feature .headline-title { 352 margin: 1em 0 0 0; 353 text-align: left; 354 } 355 .index_page_bp-about .bp-headline-feature p, 356 .dashboard_page_bp-about .bp-headline-feature p { 357 margin: 1.15em auto 0.6em 0; 358 text-align: left; 359 } 360 .index_page_bp-about .bp-headline-feature .headline-title, 361 .dashboard_page_bp-about .bp-headline-feature .headline-title { 362 font-size: 1.5em; 363 line-height: 1.5; 364 } 365 .index_page_bp-about .bp-headline-feature p, 366 .dashboard_page_bp-about .bp-headline-feature p { 367 width: auto; 368 } 369 .index_page_bp-about .bp-feature, 370 .dashboard_page_bp-about .bp-feature { 371 text-align: center; 372 } 373 .index_page_bp-about span.dashicons, 374 .dashboard_page_bp-about span.dashicons { 375 float: none; 376 } 377 .index_page_bp-about .bp-features-section h4, 378 .dashboard_page_bp-about .bp-features-section h4, 379 .index_page_bp-about .bp-features-section p, 380 .dashboard_page_bp-about .bp-features-section p { 381 margin-left: 0; 382 text-align: left; 383 } 384 } 310 385 /*------------------------------------------------------------------------------ 311 386 * 2.0 Dashicons 312 387 *----------------------------------------------------------------------------*/ -
src/bp-core/classes/class-bp-admin.php
613 613 <?php endif; ?> 614 614 615 615 <div class="bp-headline-feature"> 616 <h3 class="headline-title"><?php esc_html_e( 'Activity Embeds', 'buddypress' ); ?></h3> 616 <div class="bp-headline"> 617 <span class="dashicons dashicons-list-view" aria-hidden="true"></span> 618 <h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3> 617 619 618 <?php if ( $embedded_activity ) : 619 wp_enqueue_script( 'wp-embed' ); 620 ?> 621 <div class="embed-container"> 622 <?php echo $embedded_activity ; ?> 623 </div> 620 <p class="introduction"><?php _e( 'Huge performance improvements on sites using persistent caching.', 'buddypress' ); ?> <?php _e( ' ', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/"><?php esc_html_e( 'Learn more about the Groups Query rewrite.', 'buddypress' ); ?></a></p> 621 </div> 622 </div> 624 623 625 <?php else : ?>624 <div class="bp-features-section"> 626 625 627 <div class="featured-image"> 628 <a href="http://wordpress.tv/2016/06/15/buddypress-2-6-introducing-buddypress-activity-embeds/" title="<?php esc_attr_e( 'View the Activity Embeds demo', 'buddypress' ); ?>"> 629 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/activity-embeds.png' ); ?>" alt="<?php esc_attr_e( 'Embed activities into your WordPress posts or pages.', 'buddypress' ); ?>"> 630 </a> 631 </div> 626 <h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Administrators', 'buddypress' ); ?></h3> 632 627 633 <?php endif ; ?> 628 <div class="bp-feature"> 629 <span class="dashicons dashicons-calendar" aria-hidden="true"></span> 630 <h4 class="feature-title"><?php esc_html_e( 'Improved xProfile Date Field', 'buddypress' ); ?></h4> 631 <p><?php _e( 'New Date Field settings, "Date format" and "Range", make it easier for site administrators to decide how date-based data will be collected and displayed.', 'buddypress' ); ?></p> 632 </div> 634 633 635 <p class="introduction"><?php _e( 'Embed activities into your WordPress posts or pages.', 'buddypress' ); ?> </p> 636 <p><?php _e( 'Copy the permalink URL of the activity of your choice, paste it into the content editor of your WordPress post or page, and <em>voilà</em>!, you've embedded an activity update.', 'buddypress' ); ?> <a href="http://wordpress.tv/2016/06/15/buddypress-2-6-introducing-buddypress-activity-embeds/"><?php esc_html_e( 'View the Activity Embeds demo', 'buddypress' ); ?></a></p> 634 <div class="bp-feature opposite"> 635 <span class="dashicons dashicons-groups" aria-hidden="true"></span> 636 <h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4> 637 <p><?php esc_html_e( 'Enable developers to show Group Types in the front end as well as control where the group type information is rendered.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/group-types/"><?php esc_html_e( 'Learn how to implement this.', 'buddypress' ); ?></a></p> 638 </div> 637 639 638 <div class="clear"></div> 639 </div> 640 <div class="bp-feature"> 641 <span class="dashicons dashicons-clock" aria-hidden="true"></span> 642 <h4 class="feature-title"><?php esc_html_e( 'Localized Timestamps', 'buddypress' ); ?></h4> 643 <p><?php esc_html_e( 'Fix inaccurate timestamps due to time zones or page caching with new client-side timestamp handling.', 'buddypress' ); ?></p> 644 </div> 640 645 641 <hr /> 646 <div class="bp-feature opposite"> 647 <span class="dashicons dashicons-email" aria-hidden="true"></span> 648 <h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4> 649 <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions through the new email tokens and unsuscribe links.', 'buddypress' ); ?></p> 650 </div> 642 651 643 <div class="bp-features-section"> 644 <h3 class="headline-title"><?php esc_html_e( 'Features', 'buddypress' ); ?></h3> 652 <div class="bp-feature"> 653 <span class="dashicons dashicons-filter" aria-hidden="true"></span> 654 <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups admin screens', 'buddypress' ); ?></h4> 655 <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p> 656 </div> 645 657 658 <div class="bp-feature opposite"> 659 <span class="dashicons dashicons-universal-access" aria-hidden="true"></span> 660 <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front-end and Back-end', 'buddypress' ); ?></h4> 661 <p><?php esc_html_e( 'Continued improvements for universal acceess help make BuddyPress' back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p> 662 </div> 663 646 664 <div class="bp-feature"> 647 < h4 class="feature-title"><?php esc_html_e( 'Custom Front Page for Member Profile ', 'buddypress' ); ?></h4>648 < img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/user-frontpage.png' ); ?>" alt="<?php esc_attr_e( 'A member custom front page using widgets.', 'buddypress' ); ?>">649 <p><?php _e( 'Theme developers or site owners can create custom front pages for their community's members by adding a <code>front.php</code> template to their template overrides. A specific template hierarchy is also available to make them even more unique.', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2016/05/24/custom-front-pages-for-your-users-profiles/"><?php esc_html_e( 'Read all about this new feature.', 'buddypress' ); ?></a></p>665 <span class="dashicons dashicons-admin-page" aria-hidden="true"></span> 666 <h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4> 667 <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages in the back end, is what you\'ll get as the heading in the front end.', 'buddypress' ); ?></p> 650 668 </div> 651 669 652 670 <div class="bp-feature opposite"> 653 < h4 class="feature-title"><?php esc_html_e( 'Group Types API', 'buddypress' ); ?></h4>654 < img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-type-pop.png' ); ?>" alt="<?php esc_attr_e( 'Group types metabox in Groups admin page.', 'buddypress' ); ?>">655 <p><?php esc_html_e( 'Registering group types finally enables a strict separation of different and explicit types of groups. This new feature is available to plugin developers starting with BuddyPress 2.6.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/group-types/"><?php esc_html_e( 'Learn how to set up Group Types.', 'buddypress' ); ?></a></p>671 <span class="dashicons dashicons-image-filter" aria-hidden="true"></span> 672 <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group\'s Management Screens', 'buddypress' ); ?></h4> 673 <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p> 656 674 </div> 657 675 658 676 <div class="bp-feature"> 659 < h4 class="feature-title"><?php esc_html_e( 'New Navigation API', 'buddypress' ); ?></h4>660 < img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/new-nav-api.png' ); ?>" alt="<?php esc_attr_e( 'Sample code for using the new navigation API', 'buddypress' ); ?>">661 <p><?php esc_html_e( ' The member and group navigation system has been totally rewritten, making it easier than ever to customize BuddyPress nav items.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/navigation-api/"><?php esc_html_e( 'Read the informative commit message.', 'buddypress' ); ?></a></p>677 <span class="dashicons dashicons-groups" aria-hidden="true"></span> 678 <h4 class="title"><?php esc_html_e( 'Support for Querying for Groups by New Column "parent_id"', 'buddypress' ); ?></h4> 679 <p><?php esc_html_e( 'Query support for hierarchical groups which allows developers to extend this with their own plugins to add custom front-end functionality as needed.', 'buddypress' ); ?></p> 662 680 </div> 663 681 664 682 <div class="bp-feature opposite"> 665 < h4 class="feature-title"><?php esc_html_e( 'Stylesheets for Twenty Eleven and Twenty Ten', 'buddypress' ); ?></h4>666 < img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/default-themes.png' ); ?>" alt="<?php esc_attr_e( 'Styled BuddyPress components in Twenty Eleven and Twenty Ten', 'buddypress' ); ?>">667 <p><?php esc_html_e( ' BuddyPress feels right at home now in the classic default themes, Twenty Ten and Twenty Eleven.', 'buddypress' ); ?></p>683 <span class="dashicons dashicons-chart-bar" aria-hidden="true"></span> 684 <h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4> 685 <p><?php esc_html_e( 'Improve performance by removing extra database queries, adding new cache calls, and removing the number of loops in "bp_get_user_groups()".', 'buddypress' ); ?></p> 668 686 </div> 687 688 689 <div class="clear"></div> 669 690 </div> 670 691 671 692 <div class="bp-changelog-section"> 672 <h3 class="changelog-title"><?php esc_html_e( 'Under The Hood', 'buddypress' ); ?></h3> 693 <h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3> 694 <p class="bp-changelog-url"><a href="https://codex.buddypress.org/version-2-7-0/"><?php esc_html_e( 'Changelog for BuddyPress 2.7.0.', 'buddypress' ); ?></a></p> 673 695 674 <div class="bp-changelog col two-col">675 <div>676 <h4 class="title"><?php esc_html_e( 'Performance Enhancements', 'buddypress' ); ?></h4>677 <p><?php esc_html_e( 'Class autoloading reduces the memory needed to run BuddyPress on your server. Improved caching strategies for group membership statuses mean fewer round trips to your overworked database server.', 'buddypress' ); ?></p>678 <h4 class="title"><?php esc_html_e( 'Localization Improvements', 'buddypress' ); ?></h4>679 <p><?php esc_html_e( 'Improved localization strings and comments help translators do their much-appreciated work: making BuddyPress available in many languages.', 'buddypress' ); ?></p>680 </div>681 682 <div class="last-feature">683 <h4 class="title"><?php esc_html_e( 'Notifications Updates', 'buddypress' ); ?></h4>684 <p><?php esc_html_e( 'Adjustments to the notifications component allow members to receive timely and relevant updates about activity in your community.', 'buddypress' ); ?></p>685 <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4>686 <p><?php esc_html_e( 'Continued improvements help make BuddyPress' back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p>687 <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>688 <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>689 </div>690 </div>691 692 696 </div> 693 697 694 698 <div class="bp-assets">