Merge branch 'develop' of github.com:tainacan/tainacan-theme into develop

This commit is contained in:
Fabiano Alencar 2018-04-13 17:03:08 -03:00
commit 96fbea6f3d
2 changed files with 2 additions and 7 deletions

View File

@ -51,10 +51,6 @@ if(!function_exists('tainacan_setup')) {
); );
add_theme_support( 'custom-logo', $logo_args ); add_theme_support( 'custom-logo', $logo_args );
/**
* Desabilita o FTP na instalação de Plugins - Lembrar de retirar!!
*/
define('FS_METHOD', 'direct');
} }

View File

@ -35,7 +35,6 @@
endwhile; ?> endwhile; ?>
</div> </div>
<?php echo tainacan_pagination(3); ?> <?php echo tainacan_pagination(3); ?>
<?php else: <?php else: ?>
wp_redirect(esc_url( home_url() ) . '/404', 404); <?php _e('Nothing found', 'tainacan-theme'); ?>
exit; ?>
<?php endif; ?> <?php endif; ?>