| @@ -22,16 +22,8 @@ | ||
| 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 | - ), | |
| 34 | 26 | 'show_date' => array( |
| 35 | 27 | 'default' => 0, |
| 36 | 28 | 'description' => __( 'Display the date of the feed item.', 'super-rss-reader' ), |
| 37 | 29 | 'options' => array( |
| @@ -70,12 +62,8 @@ | ||
| 70 | 62 | 'strip_title' => array( |
| 71 | 63 | 'default' => 0, |
| 72 | 64 | 'description' => __( 'Trim the title text to certain number of words.', 'super-rss-reader' ) |
| 73 | 65 | ), |
| 74 | - 'offset' => array( | |
| 75 | - 'default' => 0, | |
| 76 | - 'description' => __( 'The number of RSS feed items to skip from the top.', 'super-rss-reader' ) | |
| 77 | - ), | |
| 78 | 66 | 'date_format' => array( |
| 79 | 67 | 'default' => 'j F Y', |
| 80 | 68 | 'description' => __( 'The format of the feed item date.', 'super-rss-reader' ) |
| 81 | 69 | ), |
| @@ -112,16 +100,8 @@ | ||
| 112 | 100 | 'summary' => __( 'Summary', 'super-rss-reader' ), |
| 113 | 101 | 'full_content' => __( 'Full content', 'super-rss-reader' ) |
| 114 | 102 | ) |
| 115 | 103 | ), |
| 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 | - ), | |
| 124 | 104 | 'add_nofollow' => array( |
| 125 | 105 | 'default' => 1, |
| 126 | 106 | 'description' => __( 'Add "nofollow" attribute to feed links.', 'super-rss-reader' ), |
| 127 | 107 | 'options' => array( |
| @@ -145,23 +125,8 @@ | ||
| 145 | 125 | 'align_right' => __( 'Align right', 'super-rss-reader' ), |
| 146 | 126 | 'cover' => __( 'Cover', 'super-rss-reader' ) |
| 147 | 127 | ) |
| 148 | 128 | ), |
| 149 | - 'thumbnail_crop_position' => array( | |
| 150 | - 'default' => 'center', | |
| 151 | - 'description' => __( 'The crop position of the thumbnail image.', 'super-rss-reader' ), | |
| 152 | - 'options' => array( | |
| 153 | - 'center' => __( 'Center', 'super-rss-reader' ), | |
| 154 | - 'top' => __( 'Top', 'super-rss-reader' ), | |
| 155 | - 'bottom' => __( 'Bottom', 'super-rss-reader' ), | |
| 156 | - 'left' => __( 'Left', 'super-rss-reader' ), | |
| 157 | - 'right' => __( 'Right', 'super-rss-reader' ), | |
| 158 | - 'top_left' => __( 'Top left', 'super-rss-reader' ), | |
| 159 | - 'top_right' => __( 'Top right', 'super-rss-reader' ), | |
| 160 | - 'bottom_left' => __( 'Bottom left', 'super-rss-reader' ), | |
| 161 | - 'bottom_right' => __( 'Bottom right', 'super-rss-reader' ) | |
| 162 | - ) | |
| 163 | - ), | |
| 164 | 129 | 'thumbnail_size' => array( |
| 165 | 130 | 'default' => '64px', |
| 166 | 131 | 'description' => __( 'The size of the thumbnail including the units. Example: 64px, 10%', 'super-rss-reader' ) |
| 167 | 132 | ), |
| @@ -168,16 +133,8 @@ | ||
| 168 | 133 | 'thumbnail_default' => array( |
| 169 | 134 | 'default' => '', |
| 170 | 135 | 'description' => __( 'The URL of the default thumbnail image if not present. Leave empty to not display any thumbnail.', 'super-rss-reader' ) |
| 171 | 136 | ), |
| 172 | - 'thumbnail_type' => array( | |
| 173 | - 'default' => 'thumbnail', | |
| 174 | - 'description' => __( 'The size of image to pick.', 'super-rss-reader' ), | |
| 175 | - 'options' => array( | |
| 176 | - 'thumbnail' => __( 'Thumbnail', 'super-rss-reader' ), | |
| 177 | - 'full_size' => __( 'Full size', 'super-rss-reader' ) | |
| 178 | - ) | |
| 179 | - ), | |
| 180 | 137 | 'no_feed_text' => array( |
| 181 | 138 | 'default' => __( 'No items', 'super-rss-reader' ), |
| 182 | 139 | 'description' => __( 'Text to display when there are no feed items', 'super-rss-reader' ) |
| 183 | 140 | ), |
| @@ -188,10 +145,9 @@ | ||
| 188 | 145 | 'none' => 'No style', |
| 189 | 146 | 'grey' => 'Grey', |
| 190 | 147 | 'dark' => 'Dark', |
| 191 | 148 | 'orange' => 'Orange', |
| 192 | - 'smodern' => 'Modern 1', | |
| 193 | - 'modern2' => 'Modern 2 (New)' | |
| 149 | + 'smodern' => 'Simple modern' | |
| 194 | 150 | ) |
| 195 | 151 | ), |
| 196 | 152 | 'display_type' => array( |
| 197 | 153 | 'default' => 'vertical_ticker', |
| @@ -198,9 +154,8 @@ | ||
| 198 | 154 | 'description' => __( 'The type of feed display mode.', 'super-rss-reader' ), |
| 199 | 155 | 'options' => array( |
| 200 | 156 | 'normal' => __( 'Normal', 'super-rss-reader' ), |
| 201 | 157 | 'vertical_ticker' => __( 'Ticker', 'super-rss-reader' ), |
| 202 | - 'scroll' => __( 'Scroll', 'super-rss-reader' ), | |
| 203 | 158 | ) |
| 204 | 159 | ), |
| 205 | 160 | 'visible_items' => array( |
| 206 | 161 | 'default' => 5, |
| @@ -208,12 +163,8 @@ | ||
| 208 | 163 | ), |
| 209 | 164 | 'ticker_speed' => array( |
| 210 | 165 | 'default' => 4, |
| 211 | 166 | 'description' => __( 'The speed of the ticker animation in seconds. Without units.', 'super-rss-reader' ) |
| 212 | - ), | |
| 213 | - 'scroll_height' => array( | |
| 214 | - 'default' => '400px', | |
| 215 | - 'description' => __( 'The maximum height of the RSS feed container.', 'super-rss-reader' ) | |
| 216 | 167 | ), |
| 217 | 168 | )); |
| 218 | 169 | |
| 219 | 170 | } |