Skip to content

Commit

Permalink
Merge pull request #262 from MachoThemes/master
Browse files Browse the repository at this point in the history
1.2.2 update
  • Loading branch information
cristianraiber authored May 9, 2018
2 parents 3e1cb8c + 923fa74 commit 13ec7db
Show file tree
Hide file tree
Showing 29 changed files with 12,421 additions and 8,581 deletions.
Binary file added .DS_Store
Binary file not shown.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
node_modules/*
.idea/*
.jscsrc
.jshintignore
.jshintrc
.travis.yml
Gruntfile.js
phpcs.ruleset.xml
.standard.json
shapely.zip
package-lock.json
5 changes: 3 additions & 2 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"excludeFiles": [
"assets/js/**.min.js",
"assets/js/owl-carousel/*",
"assets/js/dev/*"
"assets/js/dev/*",
"assets/js/**"
],
"maxErrors": Infinity
}
}
9 changes: 5 additions & 4 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
"wp": false,
"WPUrls": false,
"Masonry": false,
"Vimeo" : false,
"shapelyWelcomeScreenObject" : false,
"Vimeo": false,
"console": false,
"shapelyWelcomeScreenCustomizerObject" : false,
"ShapelyBuilder" : false
"shapelyWelcomeScreenCustomizerObject": false,
"shapelyWelcomeScreenObject": false,
"ShapelyAdminObject": false,
"ShapelyBuilder": false
}
}
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
sudo: false
language: php
dist: precise
dist: trusty
matrix:
fast_finish: true
include:
- php: '5.3'
- php: '5.4'
- php: '5.5'
- php: '5.6'
Expand Down Expand Up @@ -72,4 +71,4 @@ deploy:
file: shapely.zip
on:
branch: master
repo: puikinsh/shapely
repo: puikinsh/shapely
13 changes: 11 additions & 2 deletions archive-jetpack-portfolio.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
if ( 'sidebar-left' == $layout_class ) :
get_sidebar();
endif;


?>
<div id="primary" class="content-area col-md-8 mb-xs-24 <?php echo esc_attr( $layout_class ); ?>">
<main id="main" class="site-main" role="main">
Expand Down Expand Up @@ -49,8 +51,15 @@
<div class="image-tile inner-title hover-reveal text-center" style="<?php echo $item_style; ?>">
<?php
if ( has_post_thumbnail() ) {

$portfolio_custom_url = get_post_meta( get_the_ID(), 'shapely_companion_portfolio_link', true );

if ( ! $portfolio_custom_url ) {
$portfolio_custom_url = get_the_permalink();
}

?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<a href="<?php echo esc_url( $portfolio_custom_url ); ?>" title="<?php the_title_attribute(); ?>">
<?php
if ( 'mansonry' == $layout ) {
the_post_thumbnail( 'medium' );
Expand All @@ -70,7 +79,7 @@
?>
</div>
</article><!-- #post-## -->
<?php
<?php

endwhile;

Expand Down
Binary file added assets/.DS_Store
Binary file not shown.
Loading

0 comments on commit 13ec7db

Please sign in to comment.