Plugin Directory

Changeset 1996199


Ignore:
Timestamp:
12/17/2018 07:43:49 AM (7 years ago)
Author:
wpeffects
Message:

Added another effect

Location:
ultimate-hover-effects/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ultimate-hover-effects/trunk/readme.txt

    r1988857 r1996199  
    55Requires at least: 3.0.1
    66Tested up to: 5.0
    7 Stable tag: 2.5.4
     7Stable tag: 2.5.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1616Ultimate hover effects is simple modern, yet stylish hover effects for wordpress. 85+ Eye catching image effects with CSS3 transition for your website and unlimited customization options with advanced typography.
    1717
    18 You can easily add hover effects using an image & embed them in separate page post. 
     18You can easily add hover effects using an image & embed them in separate page post.
    1919
    2020
     
    6161Installing this plugin as regular wordpress plugin.
    6262
    63 After install, this plugin enable a custom post called <strong>Hover Effects</strong> in wp dashboard menu. Click on Add New >> Add New Hover Item >> Set images and other info from settings >> Click on again Add New Hover Item for adding more item.... 
    64 After adding items, click on publish from the right wp menu to publish the post, then you will see its post shortcode. Just copy shortcode from there and you are ready to use this shortcode in your post, page and widget. 
     63After install, this plugin enable a custom post called <strong>Hover Effects</strong> in wp dashboard menu. Click on Add New >> Add New Hover Item >> Set images and other info from settings >> Click on again Add New Hover Item for adding more item....
     64After adding items, click on publish from the right wp menu to publish the post, then you will see its post shortcode. Just copy shortcode from there and you are ready to use this shortcode in your post, page and widget.
    6565
    6666Go to page > Add New. On the editor, just paste the shortcode.
     
    7777
    7878== Changelog ==
     79
     80= 2.5.5 =
     81* Added another effect
    7982
    8083= 2.5.4 =
     
    114117== Upgrade Notice ==
    115118
     119= 2.5.5 =
     120* Added another effect
     121
    116122= 2.5.4 =
    117123* WordPress 5 ready
  • ultimate-hover-effects/trunk/ultimate-hover-effects.php

    r1988857 r1996199  
    77Author URI: http://themebon.com/
    88Text Domain: uhe
    9 Version: 2.5.4
     9Version: 2.5.5
    1010*/
    1111
     
    1818function uhe_plugin_init() {
    1919    if( ! function_exists( 'cs_framework_init' ) && ! class_exists( 'CSFramework' ) ) {
    20          
     20
    2121        // Lood framework
    2222        require_once ('admin/framework/cs-framework.php');
     
    3434//Loading CSS
    3535function ultimate_image_hover_effects_style() {
    36    
     36
    3737    // CSS
    3838    //wp_enqueue_style('uhe_bootstrap', plugins_url( '/assets/css/bootstrap.min.css' , __FILE__ ) );
     
    4242    wp_enqueue_style('uhe_custom', plugins_url( '/assets/css/custom.css' , __FILE__ ) );
    4343    wp_enqueue_style('uhe_responsive', plugins_url( '/assets/css/responsive.css' , __FILE__ ) );
    44    
     44
    4545    // JS
    4646    wp_enqueue_script('jquery');
     
    7171        )
    7272    );
    73    
     73
    7474}
    7575
     
    9595function uhe_revealid_id_column_content( $column, $id ) {
    9696  if( 'u_hover_effect' == $column ) {
    97      
    98  
     97
     98
    9999     $shortcode_render ='[u_hover_effect id="'.$id.'"]';
    100      
     100
    101101    echo '<input style="min-width:210px" type=\'text\' onClick=\'this.setSelectionRange(0, this.value.length)\' value=\''.$shortcode_render.'\' />';
    102    
     102
    103103  }
    104104}
     
    107107add_filter( 'post_updated_messages', 'uhe_updated_messages' );
    108108function uhe_updated_messages( $messages ){
    109        
     109
    110110    global $post;
    111    
     111
    112112    $post_ID = get_the_ID();
    113    
     113
    114114 $messages['u_hover_effect'] = array(
    115             0 => '', 
     115            0 => '',
    116116            1 => sprintf( __('Hover Effects published. Shortcode is: %s'), '[u_hover_effect id="'.$post_ID.'"]' ),
    117117            6 => sprintf( __('Hover Effects published. Shortcode is: %s'), '[u_hover_effect id="'.$post_ID.'"]' ),
     
    119119
    120120    return $messages;
    121        
     121
    122122}
Note: See TracChangeset for help on using the changeset viewer.