Return to site

Snippetty 1 7 1 – Effortless Live Code Demos

broken image


Stop the latin chars to work when the users register

Use this code at the child theme in the functions.php file
add_filter('wpqa_sanitize_username','discy_child_sanitize_username',1,2);
function wpqa_sanitize_username ($username,$o_username) {
return $o_username;
}

Snippets-code.com ada situs untuk tutorial belajar pemograman dan download aplikasi.

  • Effortless live code demos that work every single time! Write a script in your favorite Markdown editor, load the file in Snippetty and deliver an awesome live demo! Snippetty is an app that loads code snippets from a markdown file.
  • Effortless live code demos that work every single time! Write a script in your favorite Markdown editor, load the file in Snippetty and deliver an awesome live demo! WHAT IS SNIPPETTY? An app that loads code snippets from a markdown file. During a live presentation you click its tray icon any time you need the next chunk of code for your demo.

Use thumbs for your vote

Use this code at the child theme in the functions.php file
add_filter('wpqa_vote_up_icon','wpqa_vote_up_icon');
function wpqa_vote_up_icon($icon) {
return 'icon-thumbs-up';
}
add_filter('wpqa_vote_down_icon','wpqa_vote_down_icon');
function wpqa_vote_down_icon($icon) {
return 'icon-thumbs-down';
}
Or if you want to use the fontawesome
add_filter('wpqa_vote_up_icon','wpqa_vote_up_icon');
function wpqa_vote_up_icon($icon) {
return 'far fa-thumbs-up';
}
add_filter('wpqa_vote_down_icon','wpqa_vote_down_icon');
function wpqa_vote_down_icon($icon) {
return 'far fa-thumbs-down';
}

Use avatar from the social for the Oneall plugin

Use this code at the child theme in the functions.php file
add_filter('wpqa_filter_avatar_image','discy_child_avatar_image',1,4);
function discy_child_avatar_image ($avatar,$user_meta_avatar,$you_avatar,$user_id) {
$social_thumbnail = get_user_meta($user_id,'oa_social_login_user_picture',true);
$avatar = ($social_thumbnail != '?$social_thumbnail:$avatar);
return $avatar;
}

Use avatar from the social for the Nextend Social Login plugin

Use this code at the child theme in the functions.php file
add_filter('wpqa_user_meta_avatar','wpqa_user_meta_avatar');
function wpqa_user_meta_avatar() {
global $wpdb,$blog_id;
return $wpdb->get_blog_prefix($blog_id).'user_avatar';
}

Use avatar from the social for the AccessPress Social Login Lite plugin

Use this code at the child theme in the functions.php file
add_filter('wpqa_filter_avatar_image','discy_child_avatar_image',1,4);
function discy_child_avatar_image ($avatar,$user_meta_avatar,$you_avatar,$user_id) {
$social_thumbnail = get_user_meta($user_id,'deuimage',true);
$avatar = ($social_thumbnail != '?$social_thumbnail:$avatar);
return $avatar;
}

Add any shortcode to login/signup for social media login.

Snippety 1 7 1 – Effortless Live Code Demos Roblox

Use this code at the child theme in the functions.php file
add_filter('wpqa_filter_social_login','discy_child_social_login');
function discy_child_social_login() {
return do_shortcode('[nextend_social_login];
}

Change the header color

Use this code at the child theme in the style.css file
.header {
background-color: #F00 !important;
}

Change the footer color

Use this code at the child theme in the style.css file
.footer {
background-color: #F00 !important;
}
Snippetty

Stop the popup for the signup

Use this code at the child theme in the functions.php file
add_filter('wpqa_pop_up_class_signup','discy_child_pop_up_class');
function discy_child_pop_up_class($class) {
return ' wpqa-not-pop';
}

Snippety 1 7 1 – Effortless Live Code Demos Youtube

Remove some buttons from the editor

Snippety 1 7 1 – Effortless Live Code Demos Free

Use this code at the child theme in the functions.php file
add_filter('wpqa_question_editor_setting','wpqa_editor_setting');
add_filter('wpqa_post_editor_setting','wpqa_editor_setting');
add_filter('wpqa_comment_editor_setting','wpqa_editor_setting');
function wpqa_editor_setting() {
return array('textarea_name' => 'comment','media_buttons' => true,'textarea_rows' => 10,'quicktags' => false,'tinymce' => array(
'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink,undo,redo','toolbar2' => ','toolbar3' => '));
}




broken image