Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jpjoao committed Feb 15, 2016
2 parents 5de26a9 + 8bcd60d commit d5fe435
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,5 +711,15 @@ function phpsp_busca_menu( $args ) {
}
}

function removeRFCFromFeed($query) {
$cat = get_category_by_slug('rfc');
if ($query->is_feed) {
$query->set('cat','-'.$cat->term_id);
}
return $query;
}

add_filter('pre_get_posts','removeRFCFromFeed');

/** add widgets */
require_once( TEMPLATEPATH . "/widgets.php" );
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://phpsp.org.br/
Author: phpsp contributors
Author URI: https://github.com/PHPSP/phpsp-blog-theme/graphs/contributors
Description: Tema Wordpress do site do phpsp.org.br
Version: 1.6.2
Version: 1.6.2.1
License: Creative Commons
License URI: http://creativecommons.org/licenses/by-nc-nd/3.0/deed.pt
Tags: php, phpsp
Expand Down

0 comments on commit d5fe435

Please sign in to comment.