Plugin Directory

Changeset 3380792


Ignore:
Timestamp:
10/19/2025 11:42:09 AM (6 months ago)
Author:
pickelements
Message:
  • Added New Options.
  • Added New Style.
  • Added Posts Limit Option.
  • Update CSS File.
Location:
post-slider-free/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • post-slider-free/trunk/admin/css/post-slider-free-admin.css

    r3291232 r3380792  
    180180  margin-right: 0px;
    181181}
    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{
     182select#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{
    183183  height: 35px;
    184184  border-radius: 0;
  • post-slider-free/trunk/includes/meta-boxes/post-slider-free-metaboxes.php

    r3369440 r3380792  
    3737        }
    3838        $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);
    3940        $pic_postslider_orderby             = get_post_meta($post->ID, 'pic_postslider_orderby', true);
    4041        $pic_postslider_order               = get_post_meta($post->ID, 'pic_postslider_order', true);
     
    5354        $pic_postslider_author_color        = get_post_meta($post->ID, 'pic_postslider_author_color', true);
    5455        $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);
    5559       
    5660        # Social
     
    6064        $pic_readmorehvr_color              = get_post_meta($post->ID, 'pic_readmorehvr_color', true);
    6165        $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
    6369        # Pagination
    6470        $pic_slider_itemsbg                 = get_post_meta($post->ID, 'pic_slider_itemsbg', true);
     
    117123                                <div class="pic-postslider-customizer-inner">
    118124                                    <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>
    121127                                    </div>
    122128                                    <div class="pic-postslider-selected">
     
    146152                                <div class="pic-postslider-customizer-inner">
    147153                                    <div class="pic-postslider-customizer-heading">
    148                                         <span class="sub-heading"><?php _e('Choose Slider Style', '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>
    150156                                    </div>
    151157                                    <div class="pic-postslider-selected">
     
    154160                                            <option value="2" <?php if ( isset ( $pic_postslider_styles ) ) selected( $pic_postslider_styles, '2' ); ?>><?php _e('Style 2', 'post-slider-free'); ?></option>
    155161                                            <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>
    156164                                        </select>
    157165                                    </div>
     
    160168                                <div class="pic-postslider-customizer-inner">
    161169                                    <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">
    162180                                        <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>
    164182                                    </div>
    165183                                    <div class="pic-postslider-selected">
    166184                                        <select name="pic_postslider_orderby" id="pic_postslider_orderby" class="timezone_string">
    167185                                            <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>
    169191                                            <option value="rand" <?php if ( isset ( $pic_postslider_orderby ) ) selected( $pic_postslider_orderby, 'rand' ); ?>><?php _e('Random', 'post-slider-free'); ?></option>
    170192                                        </select>
     
    175197                                    <div class="pic-postslider-customizer-heading">
    176198                                        <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>
    178200                                    </div>
    179201                                    <div class="pic-postslider-selected">
    180202                                        <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>
    183205                                        </select>
    184206                                    </div>
     
    200222                                    <div class="pic-postslider-customizer-heading">
    201223                                        <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>
    203225                                    </div>
    204226                                    <div class="pic-postslider-selected">
     
    210232                                    <div class="pic-postslider-customizer-heading">
    211233                                        <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>
    213235                                    </div>
    214236                                    <div class="pic-postslider-selected">
     
    220242                                    <div class="pic-postslider-customizer-heading">
    221243                                        <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>
    223245                                    </div>
    224246                                    <div class="pic-postslider-selected">
     
    230252                                    <div class="pic-postslider-customizer-heading">
    231253                                        <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>
    233255                                    </div>
    234256                                    <div class="pic-postslider-selected">
     
    240262                                    <div class="pic-postslider-customizer-heading">
    241263                                        <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>
    243265                                    </div>
    244266                                    <div class="pic-postslider-selected">
     
    255277                                    <div class="pic-postslider-customizer-heading">
    256278                                        <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>
    258280                                    </div>
    259281                                    <div class="pic-postslider-selected">
     
    273295                                    <div class="pic-postslider-customizer-heading">
    274296                                        <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>
    276298                                    </div>
    277299                                    <div class="pic-postslider-selected">
     
    286308                                    <div class="pic-postslider-customizer-heading">
    287309                                        <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>
    289311                                    </div>
    290312                                    <div class="pic-postslider-selected">
    291313                                        <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>
    294316                                        </select>
    295317                                    </div>
     
    299321                                    <div class="pic-postslider-customizer-heading">
    300322                                        <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>
    302324                                    </div>
    303325                                    <div class="pic-postslider-selected">
     
    309331                                    <div class="pic-postslider-customizer-heading">
    310332                                        <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>
    312334                                    </div>
    313335                                    <div class="pic-postslider-selected">
     
    322344                                    <div class="pic-postslider-customizer-heading">
    323345                                        <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>
    325347                                    </div>
    326348                                    <div class="pic-postslider-selected">
     
    331353                                <div class="pic-postslider-customizer-inner">
    332354                                    <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">
    333408                                        <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>
    335410                                    </div>
    336411                                    <div class="pic-postslider-selected">
     
    343418                                    <div class="pic-postslider-customizer-heading">
    344419                                        <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>
    346421                                    </div>
    347422                                    <div class="pic-postslider-selected">
     
    356431                                    <div class="pic-postslider-customizer-heading">
    357432                                        <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>
    359434                                    </div>
    360435                                    <div class="pic-postslider-selected">
     
    366441                                    <div class="pic-postslider-customizer-heading">
    367442                                        <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>
    369444                                    </div>
    370445                                    <div class="pic-postslider-selected">
     
    376451                                    <div class="pic-postslider-customizer-heading">
    377452                                        <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>
    379454                                    </div>
    380455                                    <div class="pic-postslider-selected">
     
    386461                                    <div class="pic-postslider-customizer-heading">
    387462                                        <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>
    389464                                    </div>
    390465                                    <div class="pic-postslider-selected">
     
    396471                                    <div class="pic-postslider-customizer-heading">
    397472                                        <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>
    399474                                    </div>
    400475                                    <div class="pic-postslider-selected">
     
    406481                                    <div class="pic-postslider-customizer-heading">
    407482                                        <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>
    409484                                    </div>
    410485                                    <div class="pic-postslider-selected">
     
    416491                                    <div class="pic-postslider-customizer-heading">
    417492                                        <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>
    419494                                    </div>
    420495                                    <div class="pic-postslider-selected">
     
    443518                                    <div class="pic-postslider-selected">
    444519                                        <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>
    447522                                        </select>
    448523                                    </div>
     
    456531                                    <div class="pic-postslider-selected">
    457532                                        <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>
    460535                                        </select>
    461536                                    </div>
     
    469544                                    <div class="pic-postslider-selected">
    470545                                        <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>
    473548                                        </select>
    474549                                    </div>
     
    492567                                    <div class="pic-postslider-selected">
    493568                                        <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>
    496571                                        </select>
    497572                                    </div>
     
    610685                                    <div class="pic-postslider-selected">
    611686                                        <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>
    614689                                        </select>
    615690                                    </div>
     
    633708                                    <div class="pic-postslider-selected">
    634709                                        <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>
    637712                                        </select>
    638713                                    </div>
     
    701776                                    <div class="pic-postslider-selected">
    702777                                        <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>
    705780                                        </select>
    706781                                    </div>
     
    761836        <script>
    762837            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();
    764839            });
    765840        </script>
     
    793868        }
    794869
     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
    795876        #Checks for input and sanitizes/saves if needed 
    796877        if ( isset( $_POST[ 'pic_postslider_orderby' ] ) ) {
     
    871952        }
    872953
     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
    873972        #Checks for input and sanitizes/saves if needed 
    874973        if ( isset( $_POST[ 'pic_postslider_readbtn' ] ) ) {
     
    899998            $pic_slider_date_color = sanitize_hex_color( $_POST['pic_slider_date_color'] );
    900999            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 );
    9011012        }
    9021013
  • post-slider-free/trunk/includes/shortcode/post-slider-free-shortcode.php

    r3369440 r3380792  
    1515        $pic_postslider_catlist             = get_post_meta($postid, 'pic_postslider_catlist', true);
    1616        $pic_postslider_styles              = get_post_meta($postid, 'pic_postslider_styles', true);
     17        $pic_total_posts                    = get_post_meta($postid, 'pic_total_posts', true);
    1718        $pic_postslider_orderby             = get_post_meta($postid, 'pic_postslider_orderby', true);
    1819        $pic_postslider_order               = get_post_meta($postid, 'pic_postslider_order', true);
     
    3132        $pic_postslider_author_color        = get_post_meta($postid, 'pic_postslider_author_color', true);
    3233        $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);
    3337        $pic_postslider_readbtn             = get_post_meta($postid, 'pic_postslider_readbtn', true);
    3438        $pic_readmore_color                 = get_post_meta($postid, 'pic_readmore_color', true);
     
    3640        $pic_slider_readmore_size           = get_post_meta($postid, 'pic_slider_readmore_size', true);
    3741        $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);
    3844       
    3945        // Slider  options
     
    8086                'post_type'         => 'post',
    8187                'post_status'       => 'publish',
    82                 'posts_per_page'    => -1,
     88                'posts_per_page'    => $pic_total_posts,
    8389                'orderby'           => $pic_postslider_orderby,
    8490                'order'             => $pic_postslider_order,
     
    96102                'post_type'      => 'post',
    97103                'post_status'    => 'publish',
    98                 'posts_per_page' => -1,
     104                'posts_per_page' => $pic_total_posts,
    99105                'orderby'        => $pic_postslider_orderby,
    100106                'order'          => $pic_postslider_order,
  • post-slider-free/trunk/includes/shortcode/template/theme-1.php

    r3369440 r3380792  
    246246                    <div class="pic-postslider-content">
    247247                        <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; ?>
    249251                            <li class="post-date"><i class="fa fa-clock-o"></i><?php echo esc_html ( get_the_date() ); ?></li>
    250252                            <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  
    274274                    <div class="pic-postslider-content">
    275275                        <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; ?>
    277279                            <li class="post-comments"><i class="fa fa-comments"></i><?php comments_number( '0 Comments', '1 Comment', '% Comments' ); ?></li>
    278280                        </ul>
  • post-slider-free/trunk/includes/shortcode/template/theme-3.php

    r3369440 r3380792  
    263263                <div class="pic-postslider-items">
    264264                    <?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>
    271271                    <?php endif; ?>
    272272                    <div class="pic-postslider-content">
    273273                        <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; ?>
    275277                            <li class="post-date"><i class="fa fa-clock-o"></i><?php echo esc_html ( get_the_date() ); ?></li>
    276278                            <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  
    44        Plugin URI: https://pickelements.com/postslider
    55        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.6
     6        Version: 2.0.7
    77        Author: Pickelements
    88        Author URI: https://pickelements.com
  • post-slider-free/trunk/readme.txt

    r3369440 r3380792  
    44Tags:  post slider, carousel, post, slider shortcode, post carousel, nice post slider
    55Requires at least: 4.0
    6 Tested up to: 6.8.2
    7 Stable tag: 2.0.6
     6Tested up to: 6.8.3
     7Stable tag: 2.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    127127== Changelog ==
    128128
     129= 2.0.7 =
     130 * Added New Options.
     131 * Added New Style.
     132 * Added Posts Limit Option.
     133 * Update CSS File.
     134
    129135= 2.0.6 =
    130136 * Added New Options.
Note: See TracChangeset for help on using the changeset viewer.