Changeset 1996199
- Timestamp:
- 12/17/2018 07:43:49 AM (7 years ago)
- Location:
- ultimate-hover-effects/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (5 diffs)
-
ultimate-hover-effects.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-hover-effects/trunk/readme.txt
r1988857 r1996199 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.0 7 Stable tag: 2.5. 47 Stable tag: 2.5.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 16 16 Ultimate 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. 17 17 18 You can easily add hover effects using an image & embed them in separate page post. 18 You can easily add hover effects using an image & embed them in separate page post. 19 19 20 20 … … 61 61 Installing this plugin as regular wordpress plugin. 62 62 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. 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. 65 65 66 66 Go to page > Add New. On the editor, just paste the shortcode. … … 77 77 78 78 == Changelog == 79 80 = 2.5.5 = 81 * Added another effect 79 82 80 83 = 2.5.4 = … … 114 117 == Upgrade Notice == 115 118 119 = 2.5.5 = 120 * Added another effect 121 116 122 = 2.5.4 = 117 123 * WordPress 5 ready -
ultimate-hover-effects/trunk/ultimate-hover-effects.php
r1988857 r1996199 7 7 Author URI: http://themebon.com/ 8 8 Text Domain: uhe 9 Version: 2.5. 49 Version: 2.5.5 10 10 */ 11 11 … … 18 18 function uhe_plugin_init() { 19 19 if( ! function_exists( 'cs_framework_init' ) && ! class_exists( 'CSFramework' ) ) { 20 20 21 21 // Lood framework 22 22 require_once ('admin/framework/cs-framework.php'); … … 34 34 //Loading CSS 35 35 function ultimate_image_hover_effects_style() { 36 36 37 37 // CSS 38 38 //wp_enqueue_style('uhe_bootstrap', plugins_url( '/assets/css/bootstrap.min.css' , __FILE__ ) ); … … 42 42 wp_enqueue_style('uhe_custom', plugins_url( '/assets/css/custom.css' , __FILE__ ) ); 43 43 wp_enqueue_style('uhe_responsive', plugins_url( '/assets/css/responsive.css' , __FILE__ ) ); 44 44 45 45 // JS 46 46 wp_enqueue_script('jquery'); … … 71 71 ) 72 72 ); 73 73 74 74 } 75 75 … … 95 95 function uhe_revealid_id_column_content( $column, $id ) { 96 96 if( 'u_hover_effect' == $column ) { 97 98 97 98 99 99 $shortcode_render ='[u_hover_effect id="'.$id.'"]'; 100 100 101 101 echo '<input style="min-width:210px" type=\'text\' onClick=\'this.setSelectionRange(0, this.value.length)\' value=\''.$shortcode_render.'\' />'; 102 102 103 103 } 104 104 } … … 107 107 add_filter( 'post_updated_messages', 'uhe_updated_messages' ); 108 108 function uhe_updated_messages( $messages ){ 109 109 110 110 global $post; 111 111 112 112 $post_ID = get_the_ID(); 113 113 114 114 $messages['u_hover_effect'] = array( 115 0 => '', 115 0 => '', 116 116 1 => sprintf( __('Hover Effects published. Shortcode is: %s'), '[u_hover_effect id="'.$post_ID.'"]' ), 117 117 6 => sprintf( __('Hover Effects published. Shortcode is: %s'), '[u_hover_effect id="'.$post_ID.'"]' ), … … 119 119 120 120 return $messages; 121 121 122 122 }
Note: See TracChangeset
for help on using the changeset viewer.