Skip to content

Commit 13ec7db

Browse files
Merge pull request #262 from MachoThemes/master
1.2.2 update
2 parents 3e1cb8c + 923fa74 commit 13ec7db

29 files changed

+12421
-8581
lines changed

.DS_Store

10 KB
Binary file not shown.

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules/*
2+
.idea/*
3+
.jscsrc
4+
.jshintignore
5+
.jshintrc
6+
.travis.yml
7+
Gruntfile.js
8+
phpcs.ruleset.xml
9+
.standard.json
10+
shapely.zip
11+
package-lock.json

.jscsrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"excludeFiles": [
55
"assets/js/**.min.js",
66
"assets/js/owl-carousel/*",
7-
"assets/js/dev/*"
7+
"assets/js/dev/*",
8+
"assets/js/**"
89
],
910
"maxErrors": Infinity
10-
}
11+
}

.jshintrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@
1919
"wp": false,
2020
"WPUrls": false,
2121
"Masonry": false,
22-
"Vimeo" : false,
23-
"shapelyWelcomeScreenObject" : false,
22+
"Vimeo": false,
2423
"console": false,
25-
"shapelyWelcomeScreenCustomizerObject" : false,
26-
"ShapelyBuilder" : false
24+
"shapelyWelcomeScreenCustomizerObject": false,
25+
"shapelyWelcomeScreenObject": false,
26+
"ShapelyAdminObject": false,
27+
"ShapelyBuilder": false
2728
}
2829
}

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
sudo: false
22
language: php
3-
dist: precise
3+
dist: trusty
44
matrix:
55
fast_finish: true
66
include:
7-
- php: '5.3'
87
- php: '5.4'
98
- php: '5.5'
109
- php: '5.6'
@@ -72,4 +71,4 @@ deploy:
7271
file: shapely.zip
7372
on:
7473
branch: master
75-
repo: puikinsh/shapely
74+
repo: puikinsh/shapely

archive-jetpack-portfolio.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
if ( 'sidebar-left' == $layout_class ) :
1313
get_sidebar();
1414
endif;
15+
16+
1517
?>
1618
<div id="primary" class="content-area col-md-8 mb-xs-24 <?php echo esc_attr( $layout_class ); ?>">
1719
<main id="main" class="site-main" role="main">
@@ -49,8 +51,15 @@
4951
<div class="image-tile inner-title hover-reveal text-center" style="<?php echo $item_style; ?>">
5052
<?php
5153
if ( has_post_thumbnail() ) {
54+
55+
$portfolio_custom_url = get_post_meta( get_the_ID(), 'shapely_companion_portfolio_link', true );
56+
57+
if ( ! $portfolio_custom_url ) {
58+
$portfolio_custom_url = get_the_permalink();
59+
}
60+
5261
?>
53-
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
62+
<a href="<?php echo esc_url( $portfolio_custom_url ); ?>" title="<?php the_title_attribute(); ?>">
5463
<?php
5564
if ( 'mansonry' == $layout ) {
5665
the_post_thumbnail( 'medium' );
@@ -70,7 +79,7 @@
7079
?>
7180
</div>
7281
</article><!-- #post-## -->
73-
<?php
82+
<?php
7483

7584
endwhile;
7685

assets/.DS_Store

8 KB
Binary file not shown.

0 commit comments

Comments
 (0)