Survey

_polldaddy.push( { type: ‘iframe’, auto: ‘1’, domain: ‘queensha13nugroho.survey.fm’, id: ‘untitled-survey-839d’, single_mode: ‘undefined’, placeholder: ‘pd_1794925980072′ } ); (function(d,c,j){if(!document.getElementById(j)){var pd=d.createElement(c),s;pd.id=j;pd.src=’https://app.crowdsignal.com/survey.js’;s=document.getElementsByTagName(c)[0];s.parentNode.insertBefore(pd,s);}}(document,’script’,’pd-embed’)); function cekKelelahan(nilaiJawaban) { const skor = Number(nilaiJawaban); // Cegah hasil muncul jika jawaban kosong atau tidak valid. if (!Number.isInteger(skor) || skor <…Continue reading

Can You Conquer This Mind-Bending Dordle Puzzle?

Paying attention to letter positions is equally important. A correct letter in the wrong place can provide valuable information about alternative arrangements. Review the feedback after every guess, eliminate combinations that cannot work, and consider the remaining possibilities before entering…Continue reading

Phrazle Challenge: Think You Can Win?

Ready to put your word skills to the test? Think you can solve a hidden phrase using nothing but clever guesses, sharp thinking, and a little patience? Then it is time to take on the Phrazle challenge! phrazle is an…Continue reading

WPEX Tetris REST Meta Integration

if(!function_exists(‘wpex_register_universal_media_meta’)){ function wpex_register_universal_media_meta(){ $media_meta_fields=array( ‘universal_local_image_attachment_ids’, ‘universal_local_audio_attachment_ids’, ‘universal_local_video_attachment_ids’, ); $post_types=get_post_types(array(‘public’=>true)); foreach($post_types as $post_type){ if(post_type_supports($post_type,’post-formats’)){ foreach($media_meta_fields as $meta_key){ if(!registered_meta_key_exists(‘post’,$meta_key,$post_type)){ register_post_meta($post_type,$meta_key,array( ‘type’=>’array’, ‘single’=>true, ‘default’=>array(), ‘show_in_rest’=>array( ‘schema’=>array( ‘type’=>’array’, ‘items’=>array(‘type’=>’integer’), ), ), ‘sanitize_callback’=>function($value){ return is_array($value)?array_map(‘absint’,$value):array(); }, ‘auth_callback’=>function($allowed,$meta_key,$post_id,$user_id,$cap,$caps){ return current_user_can(‘edit_post’,$post_id); }, )); } } } }…Continue reading

Add Checkbox Field To Donation Form (copy) (copy)

/** * Collect a checkbox field in the donation form. * * This snippet only works in Charitable 1.5 or above. * * Related examples: * * @see Register a text field (detailed example) – https://github.com/Charitable/library/blob/master/donation-form/register-new-donation-field-1.5.php * @see Register multiple…Continue reading

Add Checkbox Field To Donation Form (copy)

/** * Collect a checkbox field in the donation form. * * This snippet only works in Charitable 1.5 or above. * * Related examples: * * @see Register a text field (detailed example) – https://github.com/Charitable/library/blob/master/donation-form/register-new-donation-field-1.5.php * @see Register multiple…Continue reading

Social Share Buttons (copy)

$post_url = urlencode( get_permalink() ); $post_title = urlencode( get_the_title() ); $facebook_url = “https://www.facebook.com/sharer/sharer.php?u=$post_url”; $x_url = “https://twitter.com/intent/tweet?url=$post_url&text=$post_title”; $linkedin_url = “https://www.linkedin.com/shareArticle?mini=true&url=$post_url&title=$post_title”; $social_buttons = ‘ ‘; echo $social_buttons; // Styles for the social sharing buttons. echo ‘ ‘;Continue reading