Changeset 3380792
- Timestamp:
- 10/19/2025 11:42:09 AM (6 months ago)
- Location:
- post-slider-free/trunk
- Files:
-
- 8 edited
-
admin/css/post-slider-free-admin.css (modified) (1 diff)
-
includes/meta-boxes/post-slider-free-metaboxes.php (modified) (39 diffs)
-
includes/shortcode/post-slider-free-shortcode.php (modified) (5 diffs)
-
includes/shortcode/template/theme-1.php (modified) (1 diff)
-
includes/shortcode/template/theme-2.php (modified) (1 diff)
-
includes/shortcode/template/theme-3.php (modified) (1 diff)
-
post-slider-free.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-slider-free/trunk/admin/css/post-slider-free-admin.css
r3291232 r3380792 180 180 margin-right: 0px; 181 181 } 182 select#pic_postslider_styles, #pic_postslider_orderby, #pic_ postslider_order, #pic_title_fontsize, #pic_title_font_height, #pic_slider_readmore_size, #pic_slidertitle_transform, #pic_slidertitle_fontweight, #pic_slidertitle_fontstyle, #pic_postslider_author_hide, #pic_postslider_postdate, #pic_postslider_readbtn, #pic_content_fontsize, #excerpt_lenght, #pic_content_readmore, #pe_team_gridtypes, #pe_teamtotal_column, #pe_team_marginleftright_size, #pe_team_marginbottom_size, #pe_team_filter_menu_position, #pe_team_filter_menu_style, #pic_slideritem_autoplay, #pic_slideritem_autohide, #pic_slideritem_centermode, #pic_slideritem_autoplayspeed, #pic_slideritem_stophover, #pic_slideritem_autoplaytimeout, #pic_sliderallitem, #pic_sliderallitemdesktop, #pic_sliderallitemdesktopsmall, #pic_sliderallitemmobile, #pic_slideritem_loop, #pic_slideritem_margin, #pic_slideritem_navigation, #pic_slideritem_navigation_position, #pic_slideritem_pagination, #pic_slideritem_pagination_style, #pic_slideritem_paginationposition{182 select#pic_postslider_styles, #pic_postslider_orderby, #pic_date_fontsize, #pic_total_posts, #pic_comments_fontsize, #pic_postslider_order, #pic_title_fontsize, #pic_title_font_height, #pic_slider_readmore_size, #pic_slidertitle_transform, #pic_slidertitle_fontweight, #pic_slidertitle_fontstyle, #pic_postslider_author_hide, #pic_postslider_postdate, #pic_postslider_readbtn, #pic_content_fontsize, #excerpt_lenght, #pic_content_readmore, #pe_team_gridtypes, #pe_teamtotal_column, #pe_team_marginleftright_size, #pe_team_marginbottom_size, #pe_team_filter_menu_position, #pe_team_filter_menu_style, #pic_slideritem_autoplay, #pic_slideritem_autohide, #pic_slideritem_centermode, #pic_slideritem_autoplayspeed, #pic_slideritem_stophover, #pic_slideritem_autoplaytimeout, #pic_sliderallitem, #pic_sliderallitemdesktop, #pic_sliderallitemdesktopsmall, #pic_sliderallitemmobile, #pic_slideritem_loop, #pic_slideritem_margin, #pic_slideritem_navigation, #pic_slideritem_navigation_position, #pic_slideritem_pagination, #pic_slideritem_pagination_style, #pic_slideritem_paginationposition{ 183 183 height: 35px; 184 184 border-radius: 0; -
post-slider-free/trunk/includes/meta-boxes/post-slider-free-metaboxes.php
r3369440 r3380792 37 37 } 38 38 $pic_postslider_styles = get_post_meta($post->ID, 'pic_postslider_styles', true); 39 $pic_total_posts = get_post_meta($post->ID, 'pic_total_posts', true); 39 40 $pic_postslider_orderby = get_post_meta($post->ID, 'pic_postslider_orderby', true); 40 41 $pic_postslider_order = get_post_meta($post->ID, 'pic_postslider_order', true); … … 53 54 $pic_postslider_author_color = get_post_meta($post->ID, 'pic_postslider_author_color', true); 54 55 $pic_postslider_postdate = get_post_meta($post->ID, 'pic_postslider_postdate', true); 56 $pic_postslider_comments = get_post_meta($post->ID, 'pic_postslider_comments', true); 57 $pic_slider_comments_color = get_post_meta($post->ID, 'pic_slider_comments_color', true); 58 $pic_comments_fontsize = get_post_meta($post->ID, 'pic_comments_fontsize', true); 55 59 56 60 # Social … … 60 64 $pic_readmorehvr_color = get_post_meta($post->ID, 'pic_readmorehvr_color', true); 61 65 $pic_slider_date_color = get_post_meta($post->ID, 'pic_slider_date_color', true); 62 66 $pic_slider_datebg_color = get_post_meta($post->ID, 'pic_slider_datebg_color', true); 67 $pic_date_fontsize = get_post_meta($post->ID, 'pic_date_fontsize', true); 68 63 69 # Pagination 64 70 $pic_slider_itemsbg = get_post_meta($post->ID, 'pic_slider_itemsbg', true); … … 117 123 <div class="pic-postslider-customizer-inner"> 118 124 <div class="pic-postslider-customizer-heading"> 119 <span class="sub-heading"><?php _e(' Choose Post Categories', 'post-slider-free'); ?></span>120 <span class="sub-description"><?php _e(' Select Post Categories to display Post Slider. If you did not select any categories it shows all the posts.', 'post-slider-free'); ?> </span>125 <span class="sub-heading"><?php _e('Select Categories', 'post-slider-free'); ?></span> 126 <span class="sub-description"><?php _e('The category names will only be visible when posts are published within any categories.', 'post-slider-free'); ?> </span> 121 127 </div> 122 128 <div class="pic-postslider-selected"> … … 146 152 <div class="pic-postslider-customizer-inner"> 147 153 <div class="pic-postslider-customizer-heading"> 148 <span class="sub-heading"><?php _e(' Choose SliderStyle', 'post-slider-free'); ?></span>149 <span class="sub-description"><?php _e(' Choose your Post slider styles. all style not available in free version. upgrade pro version to unlock all features.', 'post-slider-free'); ?> </span>154 <span class="sub-heading"><?php _e('Select Style', 'post-slider-free'); ?></span> 155 <span class="sub-description"><?php _e('Select your preferred Post Slider styles.', 'post-slider-free'); ?> </span> 150 156 </div> 151 157 <div class="pic-postslider-selected"> … … 154 160 <option value="2" <?php if ( isset ( $pic_postslider_styles ) ) selected( $pic_postslider_styles, '2' ); ?>><?php _e('Style 2', 'post-slider-free'); ?></option> 155 161 <option value="3" <?php if ( isset ( $pic_postslider_styles ) ) selected( $pic_postslider_styles, '3' ); ?>><?php _e('Style 3', 'post-slider-free'); ?></option> 162 <option value="4" <?php if ( isset ( $pic_postslider_styles ) ) selected( $pic_postslider_styles, '4' ); ?>><?php _e('Style 4 (Pro)', 'post-slider-free'); ?></option> 163 <option value="5" <?php if ( isset ( $pic_postslider_styles ) ) selected( $pic_postslider_styles, '5' ); ?>><?php _e('Style 5 (Pro)', 'post-slider-free'); ?></option> 156 164 </select> 157 165 </div> … … 160 168 <div class="pic-postslider-customizer-inner"> 161 169 <div class="pic-postslider-customizer-heading"> 170 <span class="sub-heading"><?php _e('Posts Limit', 'post-slider-free'); ?></span> 171 <span class="sub-description"><?php _e('Limit number of posts to show. For all leave it empty.', 'post-slider-free'); ?> </span> 172 </div> 173 <div class="pic-postslider-selected"> 174 <input type="number" name="pic_total_posts" id="pic_total_posts" maxlength="4" class="timezone_string" value="<?php if($pic_total_posts !=''){echo $pic_total_posts; }else{ echo '-1';} ?>"> 175 </div> 176 </div><!-- End Title Font Size --> 177 178 <div class="pic-postslider-customizer-inner"> 179 <div class="pic-postslider-customizer-heading"> 162 180 <span class="sub-heading"><?php _e('Order By', 'post-slider-free'); ?></span> 163 <span class="sub-description"><?php _e(' Choose post slider order By: Date, Menu Order or Random.', 'post-slider-free'); ?> </span>181 <span class="sub-description"><?php _e('Select an order by option.', 'post-slider-free'); ?> </span> 164 182 </div> 165 183 <div class="pic-postslider-selected"> 166 184 <select name="pic_postslider_orderby" id="pic_postslider_orderby" class="timezone_string"> 167 185 <option value="date" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'date' ); ?>><?php _e('Publish Date', 'post-slider-free'); ?></option> 168 <option value="menu_order" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'menu_order' ); ?>><?php _e('Order', 'post-slider-free'); ?></option> 186 <option value="title" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'title' ); ?>><?php _e('Title', 'post-slider-free'); ?></option> 187 <option value="ID" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'ID' ); ?>><?php _e('ID', 'post-slider-free'); ?></option> 188 <option value="author" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'author' ); ?>><?php _e('Author', 'post-slider-free'); ?></option> 189 <option value="name" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'name' ); ?>><?php _e('Name', 'post-slider-free'); ?></option> 190 <option value="menu_order" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'menu_order' ); ?>><?php _e('Menu Order', 'post-slider-free'); ?></option> 169 191 <option value="rand" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'rand' ); ?>><?php _e('Random', 'post-slider-free'); ?></option> 170 192 </select> … … 175 197 <div class="pic-postslider-customizer-heading"> 176 198 <span class="sub-heading"><?php _e('Order', 'post-slider-free'); ?></span> 177 <span class="sub-description"><?php _e(' Choose post slider order: Descending or Ascending.', 'post-slider-free'); ?> </span>199 <span class="sub-description"><?php _e('Select an order option.', 'post-slider-free'); ?> </span> 178 200 </div> 179 201 <div class="pic-postslider-selected"> 180 202 <select name="pic_postslider_order" id="pic_postslider_order" class="timezone_string"> 181 <option value=" DESC" <?php if ( isset ( $pic_postslider_order ) ) selected( $pic_postslider_order, 'DESC' ); ?>><?php _e('Descending', 'post-slider-free'); ?></option>182 <option value=" ASC" <?php if ( isset ( $pic_postslider_order ) ) selected( $pic_postslider_order, 'ASC' ); ?>><?php _e('Ascending', 'post-slider-free'); ?></option>203 <option value="ASC" <?php if ( isset ( $pic_postslider_order ) ) selected( $pic_postslider_order, 'ASC' ); ?>><?php _e('Ascending (A-Z)', 'post-slider-free'); ?></option> 204 <option value="DESC" <?php if ( isset ( $pic_postslider_order ) ) selected( $pic_postslider_order, 'DESC' ); ?>><?php _e('Descending (Z-A)', 'post-slider-free'); ?></option> 183 205 </select> 184 206 </div> … … 200 222 <div class="pic-postslider-customizer-heading"> 201 223 <span class="sub-heading"><?php _e('Title Font Size', 'post-slider-free'); ?></span> 202 <span class="sub-description"><?php _e(' Choose Post Slider Title font size. default font size:16px', 'post-slider-free'); ?> </span>224 <span class="sub-description"><?php _e('Set Title font size.', 'post-slider-free'); ?> </span> 203 225 </div> 204 226 <div class="pic-postslider-selected"> … … 210 232 <div class="pic-postslider-customizer-heading"> 211 233 <span class="sub-heading"><?php _e('Title Line Height', 'post-slider-free'); ?></span> 212 <span class="sub-description"><?php _e(' Choose Post Slider Title line height. default:25px', 'post-slider-free'); ?> </span>234 <span class="sub-description"><?php _e('Set Title line height.', 'post-slider-free'); ?> </span> 213 235 </div> 214 236 <div class="pic-postslider-selected"> … … 220 242 <div class="pic-postslider-customizer-heading"> 221 243 <span class="sub-heading"><?php _e('Title Font Color', 'post-slider-free'); ?></span> 222 <span class="sub-description"><?php _e(' Choose Post Slider Title text color. default color: #1b2026', 'post-slider-free'); ?> </span>244 <span class="sub-description"><?php _e('Set Title text color.', 'post-slider-free'); ?> </span> 223 245 </div> 224 246 <div class="pic-postslider-selected"> … … 230 252 <div class="pic-postslider-customizer-heading"> 231 253 <span class="sub-heading"><?php _e('Title Hover Font Color', 'post-slider-free'); ?></span> 232 <span class="sub-description"><?php _e(' Choose Post Slider Title Hover text color. default color: #0949e6', 'post-slider-free'); ?> </span>254 <span class="sub-description"><?php _e('Set Title Hover text color.', 'post-slider-free'); ?> </span> 233 255 </div> 234 256 <div class="pic-postslider-selected"> … … 240 262 <div class="pic-postslider-customizer-heading"> 241 263 <span class="sub-heading"><?php _e('Title Text Transform', 'post-slider-free'); ?></span> 242 <span class="sub-description"><?php _e(' Choose Post Slider Title Text Transform. Default Text Transform: Capitalize', 'post-slider-free'); ?> </span>264 <span class="sub-description"><?php _e('Set Title Text Transform.', 'post-slider-free'); ?> </span> 243 265 </div> 244 266 <div class="pic-postslider-selected"> … … 255 277 <div class="pic-postslider-customizer-heading"> 256 278 <span class="sub-heading"><?php _e('Title Font Weight', 'post-slider-free'); ?></span> 257 <span class="sub-description"><?php _e(' Choose Post Slider Title Font Weight. Default Font-Weight: 600', 'post-slider-free');?> </span>279 <span class="sub-description"><?php _e('Set Title Font Weight.', 'post-slider-free');?> </span> 258 280 </div> 259 281 <div class="pic-postslider-selected"> … … 273 295 <div class="pic-postslider-customizer-heading"> 274 296 <span class="sub-heading"><?php _e('Title Font Style', 'post-slider-free'); ?></span> 275 <span class="sub-description"><?php _e(' Choose post slider title text Style. default: Normal', 'post-slider-free');?> </span>297 <span class="sub-description"><?php _e('Set Title text Style.', 'post-slider-free');?> </span> 276 298 </div> 277 299 <div class="pic-postslider-selected"> … … 286 308 <div class="pic-postslider-customizer-heading"> 287 309 <span class="sub-heading"><?php _e('Author (Show/Hide)', 'post-slider-free'); ?></span> 288 <span class="sub-description"><?php _e('Show or Hide Post Slider Author Information. Default : Show.', 'post-slider-free'); ?> </span>310 <span class="sub-description"><?php _e('Show or Hide Post Slider Author.', 'post-slider-free'); ?> </span> 289 311 </div> 290 312 <div class="pic-postslider-selected"> 291 313 <select name="pic_postslider_author_hide" id="pic_postslider_author_hide" class="timezone_string"> 292 <option value="1" <?php if ( isset ( $pic_postslider_author_hide ) ) selected( $pic_postslider_author_hide, '1' ); ?>><?php _e('Show (Only Pro)', 'post-slider-free');?></option>293 <option value="2" <?php if ( isset ( $pic_postslider_author_hide ) ) selected( $pic_postslider_author_hide, '2' ); ?>><?php _e('Hide (Only Pro)', 'post-slider-free');?></option>314 <option value="1" <?php if ( isset ( $pic_postslider_author_hide ) ) selected( $pic_postslider_author_hide, '1' ); ?>><?php _e('Show', 'post-slider-free');?></option> 315 <option value="2" <?php if ( isset ( $pic_postslider_author_hide ) ) selected( $pic_postslider_author_hide, '2' ); ?>><?php _e('Hide', 'post-slider-free');?></option> 294 316 </select> 295 317 </div> … … 299 321 <div class="pic-postslider-customizer-heading"> 300 322 <span class="sub-heading"><?php _e('Author Font Color', 'post-slider-free'); ?></span> 301 <span class="sub-description"><?php _e(' Choose Post Slider Author Font Color. default font color: #1b2026', 'post-slider-free'); ?> </span>323 <span class="sub-description"><?php _e('Set Author Font Color.', 'post-slider-free'); ?> </span> 302 324 </div> 303 325 <div class="pic-postslider-selected"> … … 309 331 <div class="pic-postslider-customizer-heading"> 310 332 <span class="sub-heading"><?php _e('Date (Show/Hide)', 'post-slider-free'); ?></span> 311 <span class="sub-description"><?php _e('Show or Hide Post Slider Date Information. Default : Show.', 'post-slider-free'); ?> </span>333 <span class="sub-description"><?php _e('Show or Hide Post Slider Date.', 'post-slider-free'); ?> </span> 312 334 </div> 313 335 <div class="pic-postslider-selected"> … … 322 344 <div class="pic-postslider-customizer-heading"> 323 345 <span class="sub-heading"><?php _e('Date Text Color', 'post-slider-free'); ?></span> 324 <span class="sub-description"><?php _e(' Choose post slider date color. default: #1b2026', 'post-slider-free'); ?> </span>346 <span class="sub-description"><?php _e('Set date text color.', 'post-slider-free'); ?> </span> 325 347 </div> 326 348 <div class="pic-postslider-selected"> … … 331 353 <div class="pic-postslider-customizer-inner"> 332 354 <div class="pic-postslider-customizer-heading"> 355 <span class="sub-heading"><?php _e('Date Background Color', 'post-slider-free'); ?></span> 356 <span class="sub-description"><?php _e('Set date background color.', 'post-slider-free'); ?> </span> 357 </div> 358 <div class="pic-postslider-selected"> 359 <input type="text" name="pic_slider_datebg_color" id="pic_slider_datebg_color" class="timezone_string" value="<?php if($pic_slider_datebg_color !=''){echo $pic_slider_datebg_color; }else{ echo '#ffffff';} ?>"> 360 </div> 361 </div><!-- End Background Color --> 362 363 <div class="pic-postslider-customizer-inner"> 364 <div class="pic-postslider-customizer-heading"> 365 <span class="sub-heading"><?php _e('Date Font Size', 'post-slider-free'); ?></span> 366 <span class="sub-description"><?php _e('Set Date font size.', 'post-slider-free'); ?> </span> 367 </div> 368 <div class="pic-postslider-selected"> 369 <input type="number" name="pic_date_fontsize" id="pic_date_fontsize" maxlength="4" class="timezone_string" value="<?php if($pic_date_fontsize !=''){echo $pic_date_fontsize; }else{ echo '14';} ?>"> 370 </div> 371 </div><!-- End Title Font Size --> 372 373 <div class="pic-postslider-customizer-inner"> 374 <div class="pic-postslider-customizer-heading"> 375 <span class="sub-heading"><?php _e('Comments (Show/Hide)', 'post-slider-free'); ?></span> 376 <span class="sub-description"><?php _e('Show or Hide Post Slider Comment.', 'post-slider-free'); ?> </span> 377 </div> 378 <div class="pic-postslider-selected"> 379 <select name="pic_postslider_comments" id="pic_postslider_comments" class="timezone_string"> 380 <option value="1" <?php if ( isset ( $pic_postslider_comments ) ) selected( $pic_postslider_comments, '1' ); ?>><?php _e('Show', 'post-slider-free'); ?></option> 381 <option value="2" <?php if ( isset ( $pic_postslider_comments ) ) selected( $pic_postslider_comments, '2' ); ?>><?php _e('Hide', 'post-slider-free'); ?></option> 382 </select> 383 </div> 384 </div><!-- End Readmore --> 385 386 <div class="pic-postslider-customizer-inner"> 387 <div class="pic-postslider-customizer-heading"> 388 <span class="sub-heading"><?php _e('Comments Text Color', 'post-slider-free'); ?></span> 389 <span class="sub-description"><?php _e('Set comments text color.', 'post-slider-free'); ?> </span> 390 </div> 391 <div class="pic-postslider-selected"> 392 <input type="text" name="pic_slider_comments_color" id="pic_slider_comments_color" class="timezone_string" value="<?php if($pic_slider_comments_color !=''){echo $pic_slider_comments_color; }else{ echo '#1b2026';} ?>"> 393 </div> 394 </div><!-- End Color --> 395 396 <div class="pic-postslider-customizer-inner"> 397 <div class="pic-postslider-customizer-heading"> 398 <span class="sub-heading"><?php _e('Comments Font Size', 'post-slider-free'); ?></span> 399 <span class="sub-description"><?php _e('Set Comments font size.', 'post-slider-free'); ?> </span> 400 </div> 401 <div class="pic-postslider-selected"> 402 <input type="number" name="pic_comments_fontsize" id="pic_comments_fontsize" maxlength="4" class="timezone_string" value="<?php if($pic_comments_fontsize !=''){echo $pic_comments_fontsize; }else{ echo '14';} ?>"> 403 </div> 404 </div><!-- End Title Font Size --> 405 406 <div class="pic-postslider-customizer-inner"> 407 <div class="pic-postslider-customizer-heading"> 333 408 <span class="sub-heading"><?php _e('Content Length (Only Pro)', 'post-slider-free'); ?></span> 334 <span class="sub-description"><?php _e(' Choose Post details text word length. default length: 20', 'post-slider-free'); ?> </span>409 <span class="sub-description"><?php _e('Set details text word length.', 'post-slider-free'); ?> </span> 335 410 </div> 336 411 <div class="pic-postslider-selected"> … … 343 418 <div class="pic-postslider-customizer-heading"> 344 419 <span class="sub-heading"><?php _e('Read More (Show/Hide)', 'post-slider-free'); ?></span> 345 <span class="sub-description"><?php _e('Show or Hide Post Slider Read More Button. Default : Show.', 'post-slider-free'); ?> </span>420 <span class="sub-description"><?php _e('Show or Hide Post Slider Read More Button.', 'post-slider-free'); ?> </span> 346 421 </div> 347 422 <div class="pic-postslider-selected"> … … 356 431 <div class="pic-postslider-customizer-heading"> 357 432 <span class="sub-heading"><?php _e('Button Text Color', 'post-slider-free'); ?></span> 358 <span class="sub-description"><?php _e(' Choose post slider button text color. default color: #0949e6', 'post-slider-free'); ?> </span>433 <span class="sub-description"><?php _e('Set slider button text color.', 'post-slider-free'); ?> </span> 359 434 </div> 360 435 <div class="pic-postslider-selected"> … … 366 441 <div class="pic-postslider-customizer-heading"> 367 442 <span class="sub-heading"><?php _e('Button Hover Color', 'post-slider-free'); ?></span> 368 <span class="sub-description"><?php _e(' Choose post slider button hover text color. default color: #0949e6', 'post-slider-free'); ?> </span>443 <span class="sub-description"><?php _e('Set slider button hover text color.', 'post-slider-free'); ?> </span> 369 444 </div> 370 445 <div class="pic-postslider-selected"> … … 376 451 <div class="pic-postslider-customizer-heading"> 377 452 <span class="sub-heading"><?php _e('Button Font Size', 'post-slider-free'); ?></span> 378 <span class="sub-description"><?php _e(' Choose Post details Button font size. default size: 15px', 'post-slider-free'); ?> </span>453 <span class="sub-description"><?php _e('Set details Button font size.', 'post-slider-free'); ?> </span> 379 454 </div> 380 455 <div class="pic-postslider-selected"> … … 386 461 <div class="pic-postslider-customizer-heading"> 387 462 <span class="sub-heading"><?php _e('Content Text Color', 'post-slider-free'); ?></span> 388 <span class="sub-description"><?php _e(' Choose post slider details text color. default color: #1b2026', 'post-slider-free'); ?> </span>463 <span class="sub-description"><?php _e('Set slider details text color.', 'post-slider-free'); ?> </span> 389 464 </div> 390 465 <div class="pic-postslider-selected"> … … 396 471 <div class="pic-postslider-customizer-heading"> 397 472 <span class="sub-heading"><?php _e('Content Font Size', 'post-slider-free'); ?></span> 398 <span class="sub-description"><?php _e(' Choose Post details text size. default size: 15px', 'post-slider-free'); ?> </span>473 <span class="sub-description"><?php _e('Set details text size.', 'post-slider-free'); ?> </span> 399 474 </div> 400 475 <div class="pic-postslider-selected"> … … 406 481 <div class="pic-postslider-customizer-heading"> 407 482 <span class="sub-heading"><?php _e('Slider Background Color', 'post-slider-free'); ?></span> 408 <span class="sub-description"><?php _e(' Choose Post Slider Items Background color. default color: #fdfdfd', 'post-slider-free'); ?> </span>483 <span class="sub-description"><?php _e('Set Slider Items Background color.', 'post-slider-free'); ?> </span> 409 484 </div> 410 485 <div class="pic-postslider-selected"> … … 416 491 <div class="pic-postslider-customizer-heading"> 417 492 <span class="sub-heading"><?php _e('Slider Border Color', 'post-slider-free'); ?></span> 418 <span class="sub-description"><?php _e(' Choose Post Slider Items Border color. default color: #fdfdfd', 'post-slider-free'); ?> </span>493 <span class="sub-description"><?php _e('Set Slider Items Border color.', 'post-slider-free'); ?> </span> 419 494 </div> 420 495 <div class="pic-postslider-selected"> … … 443 518 <div class="pic-postslider-selected"> 444 519 <select name="pic_slideritem_autoplay" id="pic_slideritem_autoplay" class="timezone_string"> 445 <option value="true" <?php if ( isset ( $pic_slideritem_autoplay ) ) selected( $pic_slideritem_autoplay, 'true' ); ?>><?php _e(' True', 'post-slider-free'); ?></option>446 <option value="false" <?php if ( isset ( $pic_slideritem_autoplay ) ) selected( $pic_slideritem_autoplay, 'false' ); ?>><?php _e(' False', 'post-slider-free'); ?></option>520 <option value="true" <?php if ( isset ( $pic_slideritem_autoplay ) ) selected( $pic_slideritem_autoplay, 'true' ); ?>><?php _e('Yes', 'post-slider-free'); ?></option> 521 <option value="false" <?php if ( isset ( $pic_slideritem_autoplay ) ) selected( $pic_slideritem_autoplay, 'false' ); ?>><?php _e('No', 'post-slider-free'); ?></option> 447 522 </select> 448 523 </div> … … 456 531 <div class="pic-postslider-selected"> 457 532 <select name="pic_slideritem_autohide" id="pic_slideritem_autohide" class="timezone_string"> 458 <option value="true" <?php if ( isset ( $pic_slideritem_autohide ) ) selected( $pic_slideritem_autohide, 'true' ); ?>><?php _e(' True(Only Pro)', 'post-slider-free'); ?></option>459 <option value="false" <?php if ( isset ( $pic_slideritem_autohide ) ) selected( $pic_slideritem_autohide, 'false' ); ?>><?php _e(' False(Only Pro)', 'post-slider-free'); ?></option>533 <option value="true" <?php if ( isset ( $pic_slideritem_autohide ) ) selected( $pic_slideritem_autohide, 'true' ); ?>><?php _e('Yes (Only Pro)', 'post-slider-free'); ?></option> 534 <option value="false" <?php if ( isset ( $pic_slideritem_autohide ) ) selected( $pic_slideritem_autohide, 'false' ); ?>><?php _e('No (Only Pro)', 'post-slider-free'); ?></option> 460 535 </select> 461 536 </div> … … 469 544 <div class="pic-postslider-selected"> 470 545 <select name="pic_slideritem_centermode" id="pic_slideritem_centermode" class="timezone_string"> 471 <option value="false" <?php if ( isset ( $pic_slideritem_centermode ) ) selected( $pic_slideritem_centermode, 'false' ); ?>><?php _e(' False(Only Pro)', 'post-slider-free'); ?></option>472 <option value="true" <?php if ( isset ( $pic_slideritem_centermode ) ) selected( $pic_slideritem_centermode, 'true' ); ?>><?php _e(' True(Only Pro)', 'post-slider-free'); ?></option>546 <option value="false" <?php if ( isset ( $pic_slideritem_centermode ) ) selected( $pic_slideritem_centermode, 'false' ); ?>><?php _e('Yes (Only Pro)', 'post-slider-free'); ?></option> 547 <option value="true" <?php if ( isset ( $pic_slideritem_centermode ) ) selected( $pic_slideritem_centermode, 'true' ); ?>><?php _e('No (Only Pro)', 'post-slider-free'); ?></option> 473 548 </select> 474 549 </div> … … 492 567 <div class="pic-postslider-selected"> 493 568 <select name="pic_slideritem_stophover" id="pic_slideritem_stophover" class="timezone_string"> 494 <option value="true" <?php if ( isset ( $pic_slideritem_stophover ) ) selected( $pic_slideritem_stophover, 'true' ); ?>><?php _e(' True', 'post-slider-free'); ?></option>495 <option value="false" <?php if ( isset ( $pic_slideritem_stophover ) ) selected( $pic_slideritem_stophover, 'false' ); ?>><?php _e(' False', 'post-slider-free'); ?></option>569 <option value="true" <?php if ( isset ( $pic_slideritem_stophover ) ) selected( $pic_slideritem_stophover, 'true' ); ?>><?php _e('Yes', 'post-slider-free'); ?></option> 570 <option value="false" <?php if ( isset ( $pic_slideritem_stophover ) ) selected( $pic_slideritem_stophover, 'false' ); ?>><?php _e('No', 'post-slider-free'); ?></option> 496 571 </select> 497 572 </div> … … 610 685 <div class="pic-postslider-selected"> 611 686 <select name="pic_slideritem_loop" id="pic_slideritem_loop" class="timezone_string"> 612 <option value="true" <?php if ( isset ( $pic_slideritem_loop ) ) selected( $pic_slideritem_loop, 'true' ); ?>><?php _e(' True(Only Pro)', 'post-slider-free');?></option>613 <option value="false" <?php if ( isset ( $pic_slideritem_loop ) ) selected( $pic_slideritem_loop, 'false' ); ?>><?php _e(' False(Only Pro)', 'post-slider-free');?></option>687 <option value="true" <?php if ( isset ( $pic_slideritem_loop ) ) selected( $pic_slideritem_loop, 'true' ); ?>><?php _e('Yes (Only Pro)', 'post-slider-free');?></option> 688 <option value="false" <?php if ( isset ( $pic_slideritem_loop ) ) selected( $pic_slideritem_loop, 'false' ); ?>><?php _e('No (Only Pro)', 'post-slider-free');?></option> 614 689 </select> 615 690 </div> … … 633 708 <div class="pic-postslider-selected"> 634 709 <select name="pic_slideritem_navigation" id="pic_slideritem_navigation" class="timezone_string"> 635 <option value="true" <?php if ( isset ( $pic_slideritem_navigation ) ) selected( $pic_slideritem_navigation, 'true' ); ?>><?php _e(' True', 'post-slider-free');?></option>636 <option value="false" <?php if ( isset ( $pic_slideritem_navigation ) ) selected( $pic_slideritem_navigation, 'false' ); ?>><?php _e(' False(Only Pro)', 'post-slider-free');?></option>710 <option value="true" <?php if ( isset ( $pic_slideritem_navigation ) ) selected( $pic_slideritem_navigation, 'true' ); ?>><?php _e('Yes', 'post-slider-free');?></option> 711 <option value="false" <?php if ( isset ( $pic_slideritem_navigation ) ) selected( $pic_slideritem_navigation, 'false' ); ?>><?php _e('No (Only Pro)', 'post-slider-free');?></option> 637 712 </select> 638 713 </div> … … 701 776 <div class="pic-postslider-selected"> 702 777 <select name="pic_slideritem_pagination" id="pic_slideritem_pagination" class="timezone_string"> 703 <option value="true" <?php if ( isset ( $pic_slideritem_pagination ) ) selected( $pic_slideritem_pagination, 'true' ); ?>><?php _e(' True', 'post-slider-free');?></option>704 <option disabled value="false" <?php if ( isset ( $pic_slideritem_pagination ) ) selected( $pic_slideritem_pagination, 'false' ); ?>><?php _e(' False(Only Pro)', 'post-slider-free');?></option>778 <option value="true" <?php if ( isset ( $pic_slideritem_pagination ) ) selected( $pic_slideritem_pagination, 'true' ); ?>><?php _e('Yes', 'post-slider-free');?></option> 779 <option disabled value="false" <?php if ( isset ( $pic_slideritem_pagination ) ) selected( $pic_slideritem_pagination, 'false' ); ?>><?php _e('No (Only Pro)', 'post-slider-free');?></option> 705 780 </select> 706 781 </div> … … 761 836 <script> 762 837 jQuery(document).ready(function(){ 763 jQuery("#pic_title_font_color, #pic_title_fonthvr_color, #pic_slider_itemsbg, #pic_slider_borderclr, #pic_content_color, #pic_ postslider_author_color, #pic_slider_date_color, #pic_slideritem_pagination_bgcolor, #pic_slideritem_pagination_color, #pic_slideritem_navhovrcolor, #pic_slideritem_navbgcolor, #pic_slideritem_navtextcolor_hover, #pic_slideritem_navtextcolor, #pic_readmorehvr_color, #pic_readmore_color").wpColorPicker();838 jQuery("#pic_title_font_color, #pic_title_fonthvr_color, #pic_slider_itemsbg, #pic_slider_borderclr, #pic_content_color, #pic_slider_comments_color, #pic_postslider_author_color, #pic_slider_date_color, #pic_slider_datebg_color, #pic_slideritem_pagination_bgcolor, #pic_slideritem_pagination_color, #pic_slideritem_navhovrcolor, #pic_slideritem_navbgcolor, #pic_slideritem_navtextcolor_hover, #pic_slideritem_navtextcolor, #pic_readmorehvr_color, #pic_readmore_color").wpColorPicker(); 764 839 }); 765 840 </script> … … 793 868 } 794 869 870 // Checks for input and sanitizes/saves if needed 871 if ( isset( $_POST[ 'pic_total_posts' ] ) ) { 872 $pic_total_posts = sanitize_text_field( $_POST['pic_total_posts'] ); 873 update_post_meta( $post_id, 'pic_total_posts', $pic_total_posts ); 874 } 875 795 876 #Checks for input and sanitizes/saves if needed 796 877 if ( isset( $_POST[ 'pic_postslider_orderby' ] ) ) { … … 871 952 } 872 953 954 // Checks for input and sanitizes/saves if needed 955 if ( isset( $_POST[ 'pic_postslider_comments' ] ) ) { 956 $pic_postslider_comments = sanitize_text_field( $_POST['pic_postslider_comments'] ); 957 update_post_meta( $post_id, 'pic_postslider_comments', $pic_postslider_comments ); 958 } 959 960 // Checks for input and sanitizes/saves if needed 961 if ( isset( $_POST[ 'pic_slider_comments_color' ] ) ) { 962 $pic_slider_comments_color = sanitize_hex_color( $_POST['pic_slider_comments_color'] ); 963 update_post_meta( $post_id, 'pic_slider_comments_color', $pic_slider_comments_color ); 964 } 965 966 // Checks for input and sanitizes/saves if needed 967 if ( isset( $_POST[ 'pic_comments_fontsize' ] ) ) { 968 $pic_comments_fontsize = sanitize_text_field( $_POST['pic_comments_fontsize'] ); 969 update_post_meta( $post_id, 'pic_comments_fontsize', $pic_comments_fontsize ); 970 } 971 873 972 #Checks for input and sanitizes/saves if needed 874 973 if ( isset( $_POST[ 'pic_postslider_readbtn' ] ) ) { … … 899 998 $pic_slider_date_color = sanitize_hex_color( $_POST['pic_slider_date_color'] ); 900 999 update_post_meta( $post_id, 'pic_slider_date_color', $pic_slider_date_color ); 1000 } 1001 1002 // Checks for input and sanitizes/saves if needed 1003 if ( isset( $_POST[ 'pic_slider_datebg_color' ] ) ) { 1004 $pic_slider_datebg_color = sanitize_hex_color( $_POST['pic_slider_datebg_color'] ); 1005 update_post_meta( $post_id, 'pic_slider_datebg_color', $pic_slider_datebg_color ); 1006 } 1007 1008 // Checks for input and sanitizes/saves if needed 1009 if ( isset( $_POST[ 'pic_date_fontsize' ] ) ) { 1010 $pic_date_fontsize = sanitize_text_field( $_POST['pic_date_fontsize'] ); 1011 update_post_meta( $post_id, 'pic_date_fontsize', $pic_date_fontsize ); 901 1012 } 902 1013 -
post-slider-free/trunk/includes/shortcode/post-slider-free-shortcode.php
r3369440 r3380792 15 15 $pic_postslider_catlist = get_post_meta($postid, 'pic_postslider_catlist', true); 16 16 $pic_postslider_styles = get_post_meta($postid, 'pic_postslider_styles', true); 17 $pic_total_posts = get_post_meta($postid, 'pic_total_posts', true); 17 18 $pic_postslider_orderby = get_post_meta($postid, 'pic_postslider_orderby', true); 18 19 $pic_postslider_order = get_post_meta($postid, 'pic_postslider_order', true); … … 31 32 $pic_postslider_author_color = get_post_meta($postid, 'pic_postslider_author_color', true); 32 33 $pic_postslider_postdate = get_post_meta($postid, 'pic_postslider_postdate', true); 34 $pic_postslider_comments = get_post_meta($postid, 'pic_postslider_comments', true); 35 $pic_slider_comments_color = get_post_meta($postid, 'pic_slider_comments_color', true); 36 $pic_comments_fontsize = get_post_meta($postid, 'pic_comments_fontsize', true); 33 37 $pic_postslider_readbtn = get_post_meta($postid, 'pic_postslider_readbtn', true); 34 38 $pic_readmore_color = get_post_meta($postid, 'pic_readmore_color', true); … … 36 40 $pic_slider_readmore_size = get_post_meta($postid, 'pic_slider_readmore_size', true); 37 41 $pic_slider_date_color = get_post_meta($postid, 'pic_slider_date_color', true); 42 $pic_slider_datebg_color = get_post_meta($postid, 'pic_slider_datebg_color', true); 43 $pic_date_fontsize = get_post_meta($postid, 'pic_date_fontsize', true); 38 44 39 45 // Slider options … … 80 86 'post_type' => 'post', 81 87 'post_status' => 'publish', 82 'posts_per_page' => -1,88 'posts_per_page' => $pic_total_posts, 83 89 'orderby' => $pic_postslider_orderby, 84 90 'order' => $pic_postslider_order, … … 96 102 'post_type' => 'post', 97 103 'post_status' => 'publish', 98 'posts_per_page' => -1,104 'posts_per_page' => $pic_total_posts, 99 105 'orderby' => $pic_postslider_orderby, 100 106 'order' => $pic_postslider_order, -
post-slider-free/trunk/includes/shortcode/template/theme-1.php
r3369440 r3380792 246 246 <div class="pic-postslider-content"> 247 247 <ul class="pic-author-meta"> 248 <li class="post-author"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li> 248 <?php if( $pic_postslider_author_hide == 1 ) : ?> 249 <li class="post-author"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li> 250 <?php endif; ?> 249 251 <li class="post-date"><i class="fa fa-clock-o"></i><?php echo esc_html ( get_the_date() ); ?></li> 250 252 <li class="post-comments"><i class="fa fa-comments"></i><?php comments_number( '0 Comments', '1 Comment', '% Comments' ); ?></li> -
post-slider-free/trunk/includes/shortcode/template/theme-2.php
r3369440 r3380792 274 274 <div class="pic-postslider-content"> 275 275 <ul class="pic-author-meta"> 276 <li class="post-author"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li> 276 <?php if( $pic_postslider_author_hide == 1 ) : ?> 277 <li class="post-author"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li> 278 <?php endif; ?> 277 279 <li class="post-comments"><i class="fa fa-comments"></i><?php comments_number( '0 Comments', '1 Comment', '% Comments' ); ?></li> 278 280 </ul> -
post-slider-free/trunk/includes/shortcode/template/theme-3.php
r3369440 r3380792 263 263 <div class="pic-postslider-items"> 264 264 <?php if(has_post_thumbnail()) : ?> 265 <div class="pic-postslider-thumbnail">266 <?php the_post_thumbnail(); ?>267 <div class="overlay-post-tag">268 <?php the_category(' '); ?>269 </div>270 </div>265 <div class="pic-postslider-thumbnail"> 266 <?php the_post_thumbnail(); ?> 267 <div class="overlay-post-tag"> 268 <?php the_category(' '); ?> 269 </div> 270 </div> 271 271 <?php endif; ?> 272 272 <div class="pic-postslider-content"> 273 273 <ul class="pic-author-meta"> 274 <li class="post-author"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li> 274 <?php if( $pic_postslider_author_hide == 1 ) : ?> 275 <li class="post-author"><i class="fa fa-user"></i><?php the_author_posts_link(); ?></li> 276 <?php endif; ?> 275 277 <li class="post-date"><i class="fa fa-clock-o"></i><?php echo esc_html ( get_the_date() ); ?></li> 276 278 <li class="post-comments"><i class="fa fa-comments"></i><?php comments_number( '0 Comments', '1 Comment', '% Comments' ); ?></li> -
post-slider-free/trunk/post-slider-free.php
r3369440 r3380792 4 4 Plugin URI: https://pickelements.com/postslider 5 5 Description: Post Slider is a cross-browser and responsive plugin for WordPress to display posts in a beautiful slideshow with different styles. It’s the best choice and the most eye-catching way to display WordPress Posts. 6 Version: 2.0. 66 Version: 2.0.7 7 7 Author: Pickelements 8 8 Author URI: https://pickelements.com -
post-slider-free/trunk/readme.txt
r3369440 r3380792 4 4 Tags: post slider, carousel, post, slider shortcode, post carousel, nice post slider 5 5 Requires at least: 4.0 6 Tested up to: 6.8. 27 Stable tag: 2.0. 66 Tested up to: 6.8.3 7 Stable tag: 2.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 127 127 == Changelog == 128 128 129 = 2.0.7 = 130 * Added New Options. 131 * Added New Style. 132 * Added Posts Limit Option. 133 * Update CSS File. 134 129 135 = 2.0.6 = 130 136 * Added New Options.
Note: See TracChangeset
for help on using the changeset viewer.