Skip to content

Commit

Permalink
arrumando fechamento de tag section na featured page
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgimenez committed Oct 30, 2016
1 parent 0cd2fa3 commit c453fbf
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Numerous always-ignore extensions
*.diff
*.err
*.log
*.orig
*.rej
*.swo
*.swp
*.vi
*.ini
*~

# OS or Editor folders
._*
.cache
.DS_Store
.idea
.project
.settings
.tmproj
*.esproj
*.sublime-project
*.sublime-workspace
nbproject
Thumbs.db

# Folders to ignore
bower_components
node_modules
.sass-cache

# Ignore project files
sftp-config.json
.ftppass
*.zip
src/node_modules/*
2 changes: 1 addition & 1 deletion section-parts/section-featuredpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>
</div>
<?php do_action('onepress_section_after_inner', 'featuredpage'); ?>
<?php if ( ! onepress_is_selective_refresh() ){ ?>
<?php if ( ! onepress_is_selective_refresh() && has_post_thumbnail( $post_id ) ){ ?>
</section>
<?php } ?>
<?php }
Expand Down

0 comments on commit c453fbf

Please sign in to comment.