Importing sass into underscores theme

Underscores is primarily built so that you put your styles in style.css. This stylesheet is compiled from the main SASS file at sass/style.scss. Additionally, woocommerce.css is compiled from sass/woocommerce.scss. If you want to take advantage of SASS yourself, you can either add your styles to sass/style.scss, or import a file into it that has your … Read more

Ajax Comment Upvotes – Votes don’t always register

Please try this and inform me what you got in the console. and sure console.log the type add_action( ‘wp_ajax_comment_meta_update_vote’, ‘comment_meta_update_vote’ ); function comment_meta_update_vote( ) { check_ajax_referer( ‘upvote_nonce’ ); $comment_id = $_POST[‘comment_id’]; $vote_score = get_comment_meta($comment_id , ‘vote’, true); $vote_score++; $updated = update_comment_meta($comment_id , ‘vote’, $vote_score ); if($updated){ $msg = ‘success’; }else{ $msg = ‘failed’; } $response … Read more