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 | |
/* | |
Plugin Name: Restrict administration access | |
Plugin URI: | |
Description: Restrict administration access | |
Author: | |
Version: 1.00 | |
Author URI: | |
*/ |
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
function bp_custom_tpack_theme_setup() { | |
global $bp; | |
// Load the default BuddyPress AJAX functions if it isn't explicitly disabled | |
if ( !(int)get_option( 'bp_custom_tpack_disable_js' ) ) | |
require_once( BP_PLUGIN_DIR . '/bp-themes/bp-default/_inc/ajax.php' ); | |
if ( !is_admin() ) { | |
// Register buttons for the relevant component templates | |
// Friends button |
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 get_header(); ?> | |
<?php | |
// Check and get Sidebar Class | |
$sidebar = get_post_meta($post->ID,'post-option-sidebar-template',true); | |
if( empty($sidebar) ){ | |
global $default_post_sidebar; | |
$sidebar = $default_post_sidebar; | |
} | |
$sidebar_array = gdl_get_sidebar_size( $sidebar ); |
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 | |
/** | |
* @package WordPress | |
* @subpackage Default_Theme | |
*/ | |
?> | |
<?php get_header(); | |
/******************************************************************/ |
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 | |
/* | |
Plugin Name: My Login Redirect | |
Plugin URI: http://wpmu-hosting.org | |
Description: Redirects users to there own subsite/blog after login | |
Author: Joseph Anderson | |
Version: 1.0.1 | |
Text Domain: My_Login_Redirect | |
Author URI: http://wpmu-hosting.org | |
WDP ID: |
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 | |
/* | |
Addon Name: eWAY payment plugin | |
Author: Mike Mills (Incsub) | |
Author URI: http://premium.wpmudev.org | |
Gateway ID: eway direct | |
*/ | |
class eway extends M_Gateway { |
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 get_header(); ?> | |
<div id="content" class="two_column"> | |
<div class="padder"> | |
<?php do_action( 'bp_before_blog_page' ); ?> | |
<div class="page" id="blog-page" role="main"> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
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 | |
/** | |
* The default template for displaying content. Used for both single and index/archive/search. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Twelve | |
* @since Twenty Twelve 1.0 | |
*/ | |
?> |