| @@ -22,8 +22,16 @@ | ||
| 22 | 22 | 'count' => array( |
| 23 | 23 | 'default' => 5, |
| 24 | 24 | 'description' => __( 'The total number of feed items to fetch.', 'super-rss-reader' ) |
| 25 | 25 | ), |
| 26 | + 'show_title' => array( | |
| 27 | + 'default' => 1, | |
| 28 | + 'description' => __( 'Display the title of the feed item.', 'super-rss-reader' ), | |
| 29 | + 'options' => array( | |
| 30 | + 0 => __( 'Hide title', 'super-rss-reader' ), | |
| 31 | + 1 => __( 'Show title', 'super-rss-reader' ) | |
| 32 | + ) | |
| 33 | + ), | |
| 26 | 34 | 'show_date' => array( |
| 27 | 35 | 'default' => 0, |
| 28 | 36 | 'description' => __( 'Display the date of the feed item.', 'super-rss-reader' ), |
| 29 | 37 | 'options' => array( |
| @@ -62,16 +70,25 @@ | ||
| 62 | 70 | 'strip_title' => array( |
| 63 | 71 | 'default' => 0, |
| 64 | 72 | 'description' => __( 'Trim the title text to certain number of words.', 'super-rss-reader' ) |
| 65 | 73 | ), |
| 74 | + 'offset' => array( | |
| 75 | + 'default' => 0, | |
| 76 | + 'description' => __( 'The number of RSS feed items to skip from the top.', 'super-rss-reader' ) | |
| 77 | + ), | |
| 66 | 78 | 'date_format' => array( |
| 67 | 79 | 'default' => 'j F Y', |
| 68 | 80 | 'description' => __( 'The format of the feed item date.', 'super-rss-reader' ) |
| 69 | 81 | ), |
| 82 | + 'date_timezone' => array( | |
| 83 | + 'default' => 'UTC', | |
| 84 | + 'description' => __( 'The timezone of the feed item date.', 'super-rss-reader' ) | |
| 85 | + ), | |
| 70 | 86 | 'order_by' => array( |
| 71 | - 'default' => 'date', | |
| 87 | + 'default' => 'default', | |
| 72 | 88 | 'description' => __( 'The order of the feed', 'super-rss-reader' ), |
| 73 | 89 | 'options' => array( |
| 90 | + 'default' => __( 'Default', 'super-rss-reader' ), | |
| 74 | 91 | 'date' => __( 'Date', 'super-rss-reader' ), |
| 75 | 92 | 'date_reverse' => __( 'Date reverse', 'super-rss-reader' ), |
| 76 | 93 | 'random' => __( 'Random', 'super-rss-reader' ) |
| 77 | 94 | ) |
| @@ -87,8 +104,24 @@ | ||
| 87 | 104 | 0 => __( 'Normal description', 'super-rss-reader' ), |
| 88 | 105 | 1 => __( 'Rich description', 'super-rss-reader' ) |
| 89 | 106 | ) |
| 90 | 107 | ), |
| 108 | + 'desc_type' => array( | |
| 109 | + 'default' => 'summary', | |
| 110 | + 'description' => __( 'Type of description to prefer', 'super-rss-reader' ), | |
| 111 | + 'options' => array( | |
| 112 | + 'summary' => __( 'Summary', 'super-rss-reader' ), | |
| 113 | + 'full_content' => __( 'Full content', 'super-rss-reader' ) | |
| 114 | + ) | |
| 115 | + ), | |
| 116 | + 'link_desc' => array( | |
| 117 | + 'default' => 0, | |
| 118 | + 'description' => __( 'Link description text with the feed item URL', 'super-rss-reader' ), | |
| 119 | + 'options' => array( | |
| 120 | + 0 => __( 'No link', 'super-rss-reader' ), | |
| 121 | + 1 => __( 'Link description', 'super-rss-reader' ) | |
| 122 | + ) | |
| 123 | + ), | |
| 91 | 124 | 'add_nofollow' => array( |
| 92 | 125 | 'default' => 1, |
| 93 | 126 | 'description' => __( 'Add "nofollow" attribute to feed links.', 'super-rss-reader' ), |
| 94 | 127 | 'options' => array( |
| @@ -120,8 +153,20 @@ | ||
| 120 | 153 | 'thumbnail_default' => array( |
| 121 | 154 | 'default' => '', |
| 122 | 155 | 'description' => __( 'The URL of the default thumbnail image if not present. Leave empty to not display any thumbnail.', 'super-rss-reader' ) |
| 123 | 156 | ), |
| 157 | + 'thumbnail_type' => array( | |
| 158 | + 'default' => 'thumbnail', | |
| 159 | + 'description' => __( 'The size of image to pick.', 'super-rss-reader' ), | |
| 160 | + 'options' => array( | |
| 161 | + 'thumbnail' => __( 'Thumbnail', 'super-rss-reader' ), | |
| 162 | + 'full_size' => __( 'Full size', 'super-rss-reader' ) | |
| 163 | + ) | |
| 164 | + ), | |
| 165 | + 'no_feed_text' => array( | |
| 166 | + 'default' => __( 'No items', 'super-rss-reader' ), | |
| 167 | + 'description' => __( 'Text to display when there are no feed items', 'super-rss-reader' ) | |
| 168 | + ), | |
| 124 | 169 | 'color_style' => array( |
| 125 | 170 | 'default' => 'none', |
| 126 | 171 | 'description' => __( 'The style of the feed display.', 'super-rss-reader' ), |
| 127 | 172 | 'options' => array( |
| @@ -128,9 +173,10 @@ | ||
| 128 | 173 | 'none' => 'No style', |
| 129 | 174 | 'grey' => 'Grey', |
| 130 | 175 | 'dark' => 'Dark', |
| 131 | 176 | 'orange' => 'Orange', |
| 132 | - 'smodern' => 'Simple modern' | |
| 177 | + 'smodern' => 'Modern 1', | |
| 178 | + 'modern2' => 'Modern 2 (New)' | |
| 133 | 179 | ) |
| 134 | 180 | ), |
| 135 | 181 | 'display_type' => array( |
| 136 | 182 | 'default' => 'vertical_ticker', |
| @@ -137,8 +183,9 @@ | ||
| 137 | 183 | 'description' => __( 'The type of feed display mode.', 'super-rss-reader' ), |
| 138 | 184 | 'options' => array( |
| 139 | 185 | 'normal' => __( 'Normal', 'super-rss-reader' ), |
| 140 | 186 | 'vertical_ticker' => __( 'Ticker', 'super-rss-reader' ), |
| 187 | + 'scroll' => __( 'Scroll', 'super-rss-reader' ), | |
| 141 | 188 | ) |
| 142 | 189 | ), |
| 143 | 190 | 'visible_items' => array( |
| 144 | 191 | 'default' => 5, |
| @@ -146,8 +193,12 @@ | ||
| 146 | 193 | ), |
| 147 | 194 | 'ticker_speed' => array( |
| 148 | 195 | 'default' => 4, |
| 149 | 196 | 'description' => __( 'The speed of the ticker animation in seconds. Without units.', 'super-rss-reader' ) |
| 197 | + ), | |
| 198 | + 'scroll_height' => array( | |
| 199 | + 'default' => '400px', | |
| 200 | + 'description' => __( 'The maximum height of the RSS feed container.', 'super-rss-reader' ) | |
| 150 | 201 | ), |
| 151 | 202 | )); |
| 152 | 203 | |
| 153 | 204 | } |