Skip to content

Commit

Permalink
improv
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Mat committed May 5, 2017
0 parents commit 3e0b792
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
11 changes: 11 additions & 0 deletions functions.php
@@ -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);

?>
21 changes: 21 additions & 0 deletions style.css
@@ -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;
}

0 comments on commit 3e0b792

Please sign in to comment.