
Similar Posts
Genesis footer codex ( hooks and filters )
Remove the ” <p></p> “ on the footer add_filter( ‘genesis_footer_output’, ‘footer_remove_p’ ); function footer_remove_p( $output ){ $output = ”; } Default functions <?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form…
How to add @mention in Buddypress single media page (or rtMedia single page)?
How to add @mention in Buddypress single media page (or rtMedia single page)? Copy the codes below to your functions.php add_filter( ‘bp_get_activity_content’, ‘filter_bp_get_activity_content’, 10, 1 ); function filter_bp_get_activity_content( $content ) { global $bp, $wpdb; $mention_link = ”; $mention_dummy = ”; $at_all = array(); $at_mention = ”; $at_space = ”; $at_text = ”; $mention_dummy = $content;…
How to track your password to be sent in your notification?
Using Gravity Form, before I having a hard time getting the `Password` value to be included in my notification email. I have read this post How to Include a Password Field in a User Notification with Gravity Forms but it seems not working perfectly to my end. I have created an alternative way of tracking…

Advanced custom fields checkbox
Get the check-box label text $meal_obj = get_field_object( ‘meals’, $product->id ); if( $meal_obj[’value’] ){ foreach( $meal_obj[’value’] as $meal_label ){ echo $meal_obj[’choices’][$meal_label].’, ‘; } }else{ $html .= ‘No Meals’; }
Override rtMedia media-gallery.php template into current WordPress theme
Override rtMedia media-gallery.php template into current WordPress theme is now not a problem. For example you have artist role in your users and you want different template for the artist role. This apply in `http://www.sample.com/members/artist/media/music/` page. add_filter( ‘rtmedia_template_filter’, ‘rtmedia_template_filter_override’, 10, 3 ); function rtmedia_template_filter_override( $template ){ global $bp; $role = get_user_meta( $bp->displayed_user->id, ‘wp_capabilities’, true );…
Genesis main content codex ( hooks and filters )
Remove ” Edit ” page / post link when logged in add_filter( ‘genesis_edit_post_link’, function(){ return false; }); Default functions <?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child…
Many thanks if you are so kind to fairly share this information.