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
// Adds BBPress "Forums" select option to Advanced Search. - JR | |
function mla_bp_search_form_type_select_add_forums($options) { | |
$options['bbpforums'] = __( 'Forums', 'buddypress' ); | |
return $options; | |
} | |
add_filter('bp_search_form_type_select_options', 'mla_bp_search_form_type_select_add_forums'); | |
// Fix forum search handling - JR | |
function mla_bp_core_action_search_site( $slug = '') { |
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
/** | |
* Override default BP Groupblog nav item functionality | |
*/ | |
function my_custom_groupblog_setup_nav() { | |
// only add for groups | |
if ( !bp_is_group() ) return; | |
// only act if blog not embedded in group template | |
$checks = get_site_option('bp_groupblog_blog_defaults_options'); |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#Not yet working! | |
# -*- coding: utf-8 -*- | |
# <nbformat>3.0</nbformat> | |
# <codecell> | |
import requests | |
import json |
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
<?php | |
// When used in conjunction with GitHub web hooks, this script listens for | |
// a signal from GitHub. When GitHub tells us that the master or develop | |
// branches of our repo have been updated, we change into those directories | |
// and run `git pull`, which updates our code to the latest version. | |
function print_log( $log ) { | |
file_put_contents( 'logs/github.txt', print_r( $log, TRUE ), FILE_APPEND ); | |
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer