Changeset 1545713
- Timestamp:
- 12/05/2016 09:35:58 AM (9 years ago)
- Location:
- sticky/trunk
- Files:
-
- 3 edited
-
includes/functions.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
sticky.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sticky/trunk/includes/functions.php
r1442454 r1545713 93 93 94 94 if ( $args['showtitle'] ) : 95 $title = get_the_title();95 $title = apply_filters( 'cvmh_sticky_title', get_the_title(), $post->ID ); 96 96 if ( ! empty( $args['titlelength'] ) and strlen( $title ) > $args['titlelength'] ) : 97 97 $title = substr( $title, 0, $args['titlelength'] ) . '...'; -
sticky/trunk/readme.txt
r1442454 r1545713 30 30 == Changelog == 31 31 32 = 2.4 = 33 * Added: cvmh_sticky_title filter 34 32 35 = 2.3 = 33 36 * Added: index parameter in cvmh_sticky_readmore filter -
sticky/trunk/sticky.php
r1442454 r1545713 4 4 * Plugin URI: http://www.agence-web-cvmh.fr 5 5 * Description: Adds sticky support for pages and/or custom posts. 6 * Version: 2. 36 * Version: 2.4 7 7 * Author: CVMH solutions 8 8 * Author URI: http://www.agence-web-cvmh.fr … … 16 16 add_action( 'plugins_loaded', 'cvmh_sticky_constants', 1 ); 17 17 function cvmh_sticky_constants() { 18 define( 'CVMH_STICKY_VERSION' , '2. 0' );18 define( 'CVMH_STICKY_VERSION' , '2.4' ); 19 19 define( 'CVMH_STICKY_PATH' , trailingslashit( plugin_dir_path( __FILE__ ) ) ); 20 20 define( 'CVMH_STICKY_URI' , trailingslashit( plugin_dir_url( __FILE__ ) ) );
Note: See TracChangeset
for help on using the changeset viewer.