Plugin Directory

Changeset 1714033


Ignore:
Timestamp:
08/16/2017 10:15:31 AM (9 years ago)
Author:
Dimon66620
Message:

Upgrading to version 0.2.1

Location:
fds-slider/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • fds-slider/trunk/it-progress_slider.php

    r1710286 r1714033  
    11<?php /**
    22 * @package it-progress_slider
    3  * @version 0.2
     3 * @version 0.2.1
    44 */
    55/*
     
    88Description: Простой плагин контента
    99Author: IT-progress
    10 Version: 0.2
     10Version: 0.2.1
    1111Author URI: http://it-progress71.ru/
    1212
     
    3838
    3939define('itppsc_BACKGROUND', itppsc_PLUGIN_URL.'assets/img/default.jpg');
    40    
     40    /* Библиотеки */
     41require_once itppsc_DIR . '/library/func.php'; 
     42
    4143load_plugin_textdomain('it-progress_slider', false, itppsc_DIR . '/lang' );
    4244
     
    6769        'width' => '100%',
    6870        'background' => 'image',
    69         'size' => '20'
     71        'text_size' => '20',
     72        'title_size' => '25',
     73        'text_color' => '#fff',
     74        'title_color' => '#fff',
     75        'background_color' => '#000',
     76        'background_opac' => '0.3'     
    7077    ), $atts );
    7178    if ($atts['background'] = 'image') {
     
    101108       
    102109        wp_reset_postdata();
    103    
     110    $back_fon = itppsc_hex_to_rgb($atts['background_color']);
    104111    $setting_css = '<style>
    105112        .itppsc_main {
     
    110117        .itppsc_cont {
    111118        height: '. $atts['height'] .'px;
     119        color: rgba('.$back_fon['red'].','.$back_fon['green'].','.$back_fon['blue'].','.$atts['background_opac'].');
    112120        }
    113         .itppsc_main .itppsc_cont .single_post p{
    114         font-size: '. $atts['size'] .'px;
     121        .itppsc_main .itppsc_cont .itppsc_single_post p{
     122        font-size: '. $atts['text_size'] .'px;
     123        color: ' . $atts['text_color'] . ';
     124        }
     125        .itppsc_main .itppsc_cont .itppsc_single_post span {
     126        font-size: '. $atts['title_size'] .'px;
     127        color: '.$atts['title_color'].';
    115128        }
    116129        .itppsc_main .itppsc_cont .single_post {
  • fds-slider/trunk/readme.txt

    r1710286 r1714033  
    22Contributors: Ôåäèí Äìèòðèé Ñåðãååâè÷
    33Tags: slider, content, content slider, slider post, post
    4 Requires at least: 0.2
     4Requires at least: 4.8
    55Tested up to: 4.8
    66Stable tag: 4.8
     
    2727
    2828= 0.2 =
     29
     30= 0.2.1 =
     31
     32Added ability to customize via shortcode:
     33
     34 - color and size of the text
     35 - color and size of the title
     36 - color change and background dimming background
Note: See TracChangeset for help on using the changeset viewer.