Changeset 986135
- Timestamp:
- 09/10/2014 06:56:47 AM (12 years ago)
- Location:
- freefolio/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
class.Freefolio.php (modified) (1 diff)
-
freefolio.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
freefolio/trunk/README.txt
r984971 r986135 5 5 Requires at least: 3.8 6 6 Tested up to: 4.0 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 112 112 == Changelog == 113 113 114 = 1.1.3 = 115 * Removed duplicate post image on non-portfolio post types 116 114 117 = 1.1.2 = 115 118 * Cleaned up responsive grid styles -
freefolio/trunk/class.Freefolio.php
r984929 r986135 401 401 */ 402 402 function prepend_featured_image( $content ) { 403 global $_wp_theme_features; 404 if( ! current_theme_supports( 'jetpack-portfolio' ) || ( current_theme_supports( 'jetpack-portfolio' ) && ! $_wp_theme_features['jetpack-portfolio'][0]['has-featured-image'] ) ){ 403 global $_wp_theme_features, $post; 404 405 if( get_post_type( $post ) !== 'jetpack-portfolio' ) 406 return $content; 407 408 if( ! current_theme_supports( 'jetpack-portfolio' ) || ( current_theme_supports( 'jetpack-portfolio' ) && ! $_wp_theme_features['jetpack-portfolio'][0]['has-featured-image'] ) ) 405 409 $content = get_the_post_thumbnail( $post->ID, 'original' ) . $content; 406 } 410 407 411 return $content; 408 412 } -
freefolio/trunk/freefolio.php
r984971 r986135 15 15 * Plugin URI: http://wordpress.org/plugins/freefolio/ 16 16 * Description: Adds a portfolio to your WordPress website. 17 * Version: 1.1. 217 * Version: 1.1.3 18 18 * Author: UpThemes 19 19 * Author URI: https://upthemes.com
Note: See TracChangeset
for help on using the changeset viewer.