Browse Source

better defaults

mxmehl 2 years ago
parent
commit
00188758ee
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      better-twitter-widget.php

+ 5
- 5
better-twitter-widget.php View File

@@ -83,17 +83,17 @@ class better_twitter_widget extends WP_Widget {
83 83
         $defaults = array(
84 84
             'link_target' => '_blank',
85 85
             'allow_intro' => (is_array($options)) ? isset($options['allow_intro']) : true,
86
-            'show_summary' => false,
86
+            'show_summary' => true,
87 87
             'show_author' => false,
88
-            'show_date' => false,
88
+            'show_date' => true,
89 89
             'show_time' => false,
90
-            'nofollow' => false,
90
+            'nofollow' => true,
91 91
             'enable_cache' => (is_array($options)) ? isset($options['enable_cache']) : true,
92 92
             'cache_duration' => 3600,
93
-            'items' => 10,
93
+            'items' => 5,
94 94
             'title_length' => (is_array($options) && !empty($options['title_length'])) ? isset($options['title_length']) : 0,
95 95
             'excerpt' => 360,
96
-            'suffix' => ' […]'
96
+            'suffix' => ' [...]'
97 97
         );
98 98
 
99 99
         $this->options = (object) wp_parse_args($options, $defaults);

Loading…
Cancel
Save