| @@ -222,18 +222,8 @@ | ||
| 222 | 222 | ) |
| 223 | 223 | ); |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | - // Trim the excerpt if necessary. | |
| 227 | - if ( isset( $attributes['excerptLength'] ) ) { | |
| 228 | - $excerpt = wp_trim_words( | |
| 229 | - $excerpt, | |
| 230 | - $attributes['excerptLength'] | |
| 231 | - ); | |
| 232 | - } | |
| 233 | - | |
| 234 | - $excerpt = apply_filters( 'the_excerpt', $excerpt ); | |
| 235 | - | |
| 236 | 226 | if(!$excerpt) { |
| 237 | 227 | $excerpt = null; |
| 238 | 228 | } |
| 239 | 229 | |
| @@ -340,12 +330,8 @@ | ||
| 340 | 330 | |
| 341 | 331 | $block_content .= ' .' . $blockuniqueclass . ' .blockspare-post-category{ |
| 342 | 332 | color:' . $attributes['linkColor'] . '; |
| 343 | 333 | }'; |
| 344 | - | |
| 345 | - $block_content .= ' .' . $blockuniqueclass . ' a.blockspare-text-link.blockspare-block-post-grid-more-link{ | |
| 346 | - color:' . $attributes['linkColor'] . '; | |
| 347 | - }'; | |
| 348 | 334 | |
| 349 | 335 | $block_content .= ' .' . $blockuniqueclass . ' .blockspare-block-post-grid-author a span{ |
| 350 | 336 | color:' . $attributes['linkColor'] . '; |
| 351 | 337 | }'; |