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
add_filter( 'bp_nouveau_get_groups_filters', function( $filters, $context ){ | |
return array_reverse( $filters, true ); | |
},10,2); |
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
add_action('bp_nouveau_get_submit_button', function(){ | |
?> | |
<div class="alert alert-danger mg-top-10"> | |
<p> | |
Changing email and password is currently disabled by the Administrator | |
of this demo. This is to prevent other users from changing the demo password and preventing everyone | |
to access this demo site. Sorry for any inconvenience. | |
</p> | |
</div> | |
<p> |
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 | |
add_action( 'all', function ( $tag ) { | |
global $debug_tags; | |
if ( in_array( $tag, $debug_tags ) ) { | |
return; | |
} | |
echo $tag; | |
$debug_tags[] = $tag; | |
} ); |
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 | |
function my_bp_loop_querystring( $query_string, $object ) { | |
if ( ! empty( $query_string ) ) { | |
$query_string .= '&'; | |
} | |
$query_string .= 'type=alphabetical'; | |
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 | |
try { | |
// Undefined | Multiple Files | $_FILES Corruption Attack | |
// If this request falls under any of them, treat it invalid. | |
if ( | |
!isset($_FILES['upfile']['error']) || | |
is_array($_FILES['upfile']['error']) | |
) { |
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
/** | |
* [EXPERIMENTS] | |
*/ | |
var anchors = document.getElementsByTagName('a'); | |
for ( key in anchors ) { | |
if ( anchors[key].nodeType == 1 ) { | |
anchors[key].addEventListener('click', function(event){ | |
event.preventDefault(); | |
}); |
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 | |
function my_bp_activities_per_page_5( $retval, $bp_has_members = 'bp_has_members' ) { | |
global $wpdb; | |
$fields = array( | |
array( | |
'id' => 3, | |
'value' => 'male', | |
'relation' => 'LIKE' |
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
Final Q.A (Demos) | |
1. Make sure everything works in the demo | |
2. Widgets are displaying properly | |
3. No spacing and typographical errors | |
4. Check all plugins | |
Before Theme Upload Checklist: | |
1. Make sure everything is working. No PHP Notices, Errors, and Warning. |
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
// Copy and paste the link below. | |
// Change the {ITEM_ID_HERE} to your TF Item ID (with out braces) | |
// ============ | |
https://themeforest.net/cart/configure_before_adding/{ITEM_ID_HERE}?license=regular&size=source&support=bundle_12month&ref=dunhakdis | |
// ============ |
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
[vc_row el_class="wide"][vc_column][rev_slider_vc alias="home-slider"][/vc_column][/vc_row][vc_row][vc_column][vc_custom_heading text="Our Community" font_container="tag:h3|font_size:3em|text_align:center|line_height:14px" use_theme_fonts="yes"][vc_column_text] | |
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. | |
Phasellus eget ultrices sem, et rutrum lectus.</p> | |
[/vc_column_text][gears_bp_groups_grid type="popular" max_item="8" columns="4"][vc_btn title="View Groups" style="custom" custom_background="#827717" custom_text="#ffffff" shape="round" size="lg" align="center" i_type="openiconic" i_icon_openiconic="vc-oi vc-oi-chat-inv" css_animation="bottom-to-top" link="url:http%3A%2F%2Fthrive-demo.dunhakdis.me%2Fcommunity-demo%2Fgroups%2F|title:Visit%20Groups|" add_icon="true" css=".vc_custom_1445856876820{margin-top: 35px !important;margin-bottom: 35px !important;}"][/vc_column][/vc_row][vc_row full_width="stretch_row" css=".vc_custom_1445856471563{padding-top: 35px !important; |