Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Francisco Mat
committed
May 5, 2017
0 parents
commit 3e0b792
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
function redirect_nonloggedin_users($current_uri, $redirect_to) { | ||
// Redirect users to the homepage | ||
// Caution! Exclude the homepage from 'Private BuddyPress' options | ||
// to avoid redirection loops! | ||
return get_option('siteurl') . '/acesso-restrito/?from=' . $redirect_to; | ||
} | ||
|
||
add_filter('pbp_redirect_login_page', 'redirect_nonloggedin_users', 10, 2); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
Theme Name: CursoWP Tema Oficial 2017 (Guru Child) | ||
Theme URI: http://www.cursowp.com.br | ||
Template: guru | ||
Version: 1.0 | ||
Author: Francisco Mat | ||
Author URI: http://www.franciscomat.com | ||
Description: Criado para curso de WordPress (Child Theme for Guru WordPress Theme). | ||
Tags: right-sidebar,two-columns, three-columns, four-columns,custom-menu,theme-options, translation-ready, sticky-post | ||
Text Domain: cursowp_guru | ||
Thanks to: | ||
http://www.wedesignthemes.com/themes/dt-guru/ | ||
*/ | ||
@import url("../guru/style.css"); | ||
|
||
/* =Theme customization starts here | ||
-------------------------------------------------------------- */ | ||
.type-course { | ||
padding: 80px 40px; | ||
} |