Google Search Console
google-site-verification=2cD88PiH77SW3-7_W4NAENAER1K0yKAoxVdNAd_DVqsContinue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
google-site-verification=2cD88PiH77SW3-7_W4NAENAER1K0yKAoxVdNAd_DVqsContinue reading
if( function_exists(‘acf_add_options_page’) ) { acf_add_options_page(); } // // 1. Register ACF Field for Menu JSON add_action(‘acf/init’, function() { if( function_exists(‘acf_add_local_field_group’) ) { acf_add_local_field_group(array( ‘key’ => ‘group_menu_json_import’, ‘title’ => ‘Menu Import’, ‘fields’ => array( array( ‘key’ => ‘field_menu_json’, ‘label’ => ‘Menu…Continue reading
Property ListingsContinue reading
jQuery(function($) { $(document).on(‘click’, ‘.favorite-toggle’, function(e) { e.preventDefault(); const btn = $(this); const post_id = btn.data(‘post-id’); const isFavorited = btn.attr(‘data-favorited’) === ‘1’; $.post(”, { action: ‘toggle_favorite’, post_id: post_id }, function(response) { if (response.success) { btn.text(isFavorited ? ‘♡’ : ‘❤️’).attr(‘data-favorited’, isFavorited ?…Continue reading
// Inject Nickname and Company fields into Add New User screen add_action(‘user_new_form’, function($form_type) { if ($form_type !== ‘add-new-user’) return; ?>Continue reading