http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
Type | Protocol | Port Range | Destination |
---|---|---|---|
SSH | TCP | 22 | 0.0.0.0/0 |
add_filter( 'tw_query_args', array( &$this, 'query_args' ), 10, 2 ); | |
public function query_args( $args, $atts ) { | |
global $wpdb; | |
$args['post_type'] = $atts['post_type']; | |
$no_cache = $atts['no_cache']; | |
if ( $no_cache ) { | |
$args['no_cache'] = 1; |
From b5818c205b382c001867a6ee5bd811cbe745f5cb Mon Sep 17 00:00:00 2001 | |
From: Subharanjan Mantri <[email protected]> | |
Date: Thu, 28 May 2015 14:15:44 +0530 | |
Subject: [PATCH] Quick Fix for the LDAP id issue while authentication in | |
adLDAP. | |
--- | |
.../plugins/active-directory-integration/ad_ldap/adLDAP.php | 8 ++++++-- | |
1 file changed, 6 insertions(+), 2 deletions(-) |
/** | |
* Load different template for content as per conditions. | |
* | |
* @param $templates | |
* @param $slug | |
* @param $name | |
* | |
* @return mixed | |
*/ | |
function load_alternate_template( $templates, $slug, $name ) { |
if ( !function_exists( 'write_log' ) ) { | |
function write_log ( $log ) { | |
if ( true === WP_DEBUG ) { | |
error_log('---------------------------------'); | |
if ( is_array( $log ) || is_object( $log ) ) { | |
error_log( print_r( $log, true ) ); | |
} else { | |
error_log( $log ); | |
} | |
} |
--- wp-content/plugins/testimonials-widget/templates/testimonial-cite.php (revision ) | |
+++ wp-content/plugins/testimonials-widget/templates/testimonial-cite.php (revision ) | |
@@ -62,6 +62,18 @@ | |
$cite = apply_filters( 'tw_cite_html', $cite, $testimonial, $atts ); | |
+$testimonial_category = ''; | |
+$terms = get_the_terms( $testimonial['post_id'], 'category' ); | |
+if ( $terms && ! is_wp_error( $terms ) ) { | |
+ $term_names = array(); |
http://docs.aws.amazon.com/AmazonVPC/latest/GettingStartedGuide/GetStarted.html
phpMyAdmin
Type | Protocol | Port Range | Destination |
---|---|---|---|
SSH | TCP | 22 | 0.0.0.0/0 |
<?php | |
add_filter( 'tw_get_testimonial_html_class', 'my_tw_testimonial_html_class', 99, 6 ); | |
function my_tw_testimonial_html_class( $class, $testimonial, $atts, $is_list, $is_first, $widget_number ) { | |
static $tw_list_count = 0; | |
if( ( $tw_list_count % 2 ) == 0 ) { | |
$tw_class = 'tw-even'; | |
} else { | |
$tw_class = 'tw-odd'; | |
} | |
$tw_list_count++; |
<?php | |
function manipulate_filter_tw_get_testimonials_html() { | |
if ( class_exists( 'Axl_Testimonials_Widget_Premium' ) ) { | |
remove_filter( 'tw_get_testimonials_html', array( | |
'Axl_Testimonials_Widget_Premium', | |
'get_testimonials_html_controls' | |
), 10 ); | |
add_filter( 'tw_get_testimonials_html', 'get_testimonials_html_controls_above', 10, 10 ); | |
} | |
} |
<?php | |
add_filter( 'tw_get_testimonial_html_class', 'my_tw_testimonial_html_class', 99, 6 ); | |
function my_tw_testimonial_html_class( $class, $testimonial, $atts, $is_list, $is_first, $widget_number ) { | |
static $tw_list_count = 0; | |
if( ( $tw_list_count % 2 ) == 0 ) { | |
$tw_class = 'tw-even'; | |
} else { | |
$tw_class = 'tw-odd'; | |
} |