get('post__not_in'); if (!togol_is_ko_page() && !in_array(11734, $not_in)) $not_in[] = 11734; $tax_query = $query->get('tax_query'); $new_tq = []; if (is_array($tax_query)) { foreach ($tax_query as $key => $clause) { if ($key === 'relation') { $new_tq[$key] = $clause; continue; } if (is_array($clause) && isset($clause['taxonomy']) && $clause['taxonomy'] === 'language') continue; $new_tq[] = $clause; } } $query->set('lang', ''); $query->set('tax_query', $new_tq); if (!togol_is_ko_page()) { if (!in_array(11766, $not_in)) $not_in[] = 11766; } elseif ($query->get('post_type') !== 'page') { $uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; $is_arc = strpos($uri, '/ko/category/') !== false || strpos($uri, '/ko/tag/') !== false || strpos($uri, '/ko/page/') !== false || preg_match('#^/ko/?$#', $uri); if ($is_arc) { $new_tq[] = ['taxonomy' => 'language', 'field' => 'slug', 'terms' => ['ko','ko_KR'], 'operator' => 'IN']; $query->set('tax_query', $new_tq); } } $query->set('post__not_in', $not_in); }, 9999); add_filter('posts_clauses', function($clauses, $query) { if (is_admin() || togol_is_ko_page()) return $clauses; if (!empty($clauses['join'])) { $clauses['join'] = str_ireplace('INNER JOIN', 'LEFT JOIN', $clauses['join']); } if (!empty($clauses['where'])) { $clauses['where'] = preg_replace( '/AND\s+pll_tt\.term_id\s+IN\s*\(([^)]+)\)/i', 'AND (pll_tt.term_id IN ($1) OR pll_tt.term_id IS NULL)', $clauses['where'] ); } return $clauses; }, 9999, 2); add_action('wp_head', function() { if (togol_is_ko_page()) return; echo ''; }); add_action('wp_head', function() { if (!function_exists('pll_current_language')) return; if (pll_current_language() !== 'ko') return; echo ''; }); add_filter('wp_nav_menu_args', function($args) { if (is_admin()) return $args; if (!isset($args['theme_location'])) return $args; if ($args['theme_location'] === 'header_menu' && !togol_is_ko_page()) { $args['menu'] = 72; } return $args; }, 5); add_action('wp_head', function() { if (!togol_is_ko_page()) return; $attachment = get_page_by_path('rogo-ko', OBJECT, 'attachment'); if (!$attachment) { $attachments = get_posts([ 'post_type' => 'attachment', 'title' => 'rogo-ko', 'posts_per_page' => 1, 'post_status' => 'inherit', ]); if (!empty($attachments)) $attachment = $attachments[0]; } if (!$attachment) return; $url = wp_get_attachment_url($attachment->ID); if (!$url) return; echo ''; }, 99); // /URLPolylang // add_filter('wp_redirect', function($location, $status) { if (is_admin()) return $location; $uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; $is_ko = strpos($uri, '/ko/') !== false; if (!$is_ko && $location && false !== strpos($location, '/ko/')) { return false; } if ($is_ko && $location && false === strpos($location, '/ko/')) { $host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; if ($host && false !== strpos($location, $host)) { return false; } } return $location; }, 9999, 2); add_filter('redirect_canonical', function($redirect_url, $requested_url) { $uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; $is_ko = strpos($uri, '/ko/') !== false; if (!$is_ko && $redirect_url && false !== strpos($redirect_url, '/ko/')) { return false; } if ($is_ko && $redirect_url && false === strpos($redirect_url, '/ko/')) { return false; } return $redirect_url; }, 9, 2); // : 436 (?togol_fix_cat=1) // add_action('init', function() { if (!isset($_GET['togol_fix_cat']) || !current_user_can('administrator')) return; $result = wp_update_term(436, 'category', ['name' => ' ']); if (is_wp_error($result)) wp_die('Error: ' . $result->get_error_message()); wp_die('Done: Category 436 renamed to '); }, 1); }) } } }) } } } })})' ]) } }) } }) }) }) } } }) } } } } } }) } }) }) XML Sitemap

XML Sitemap Index

This XML sitemap is used by search engines which follow the XML sitemap standard. This file contains links to sub-sitemaps, follow them to see the actual sitemap content.

This file was dynamically generated using the WordPress content management system and XML Sitemap Generator for Google by Auctollo.

URL of sub-sitemapLast modified (GMT)
https://lala-tamago.com/sitemap-misc.html2026-03-29T13:08:40+00:00
https://lala-tamago.com/post-sitemap.html2026-03-29T13:08:40+00:00
https://lala-tamago.com/page-sitemap.html2026-03-29T12:56:21+00:00