Changeset 1593336
- Timestamp:
- 02/10/2017 01:35:14 PM (9 years ago)
- Location:
- cat-block/trunk
- Files:
-
- 3 edited
-
cat-block.php (modified) (2 diffs)
-
includes/functions.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cat-block/trunk/cat-block.php
r1592480 r1593336 4 4 * Plugin URI: http://www.agence-web-cvmh.fr 5 5 * Description: Adds a block (widget or shortcode), which scrolls through the posts in a category. 6 * Version: 2.6.1 26 * Version: 2.6.13 7 7 * Author: CVMH solutions 8 8 * Author URI: http://www.agence-web-cvmh.fr … … 16 16 add_action( 'plugins_loaded', 'cvmh_catblock_constants', 1 ); 17 17 function cvmh_catblock_constants() { 18 define( 'CVMH_CATBLOCK_VERSION' , '2.6.1 2' );18 define( 'CVMH_CATBLOCK_VERSION' , '2.6.13' ); 19 19 define( 'CVMH_CATBLOCK_PATH' , trailingslashit( plugin_dir_path( __FILE__ ) ) ); 20 20 define( 'CVMH_CATBLOCK_URI' , trailingslashit( plugin_dir_url( __FILE__ ) ) ); -
cat-block/trunk/includes/functions.php
r1582746 r1593336 122 122 $thumbnail = get_the_post_thumbnail( $post->ID, $args['imagesize'], array( 'class' => 'catblock-img catblock-goto', 'data-url' => $link ) ); 123 123 if ( ! empty( $thumbnail ) ) : 124 $html .= $thumbnail;124 $html .= apply_filters( 'cvmh_catblock_before_img', '', get_the_ID() ) . $thumbnail . apply_filters( 'cvmh_catblock_after_img', '', get_the_ID() ); 125 125 endif; 126 126 endif; -
cat-block/trunk/readme.txt
r1592480 r1593336 60 60 61 61 == Changelog == 62 63 = 2.3.13 = 64 * Added: Filters cvmh_catblock_before_img and cvmh_catblock_after_img to wrap image 62 65 63 66 = 2.6.12 =
Note: See TracChangeset
for help on using the changeset viewer.