SSS AI உதவியாளர்
வணக்கம் சிவா! ஸ்ரீ சக்தி சில்க்ஸ் உதவியாளர் தயார். நான் உங்களுக்கு எப்படி உதவட்டும்?

SRI SAKKTHI SILKS

ஸ்ரீ சக்தி சில்க்ஸ்

0
SOFT SILK VARIETIES

About Sri Sakkthi Silks

சிறுமுகையின் பாரம்பரியம் மிக்க ஸ்ரீ சக்தி சில்க்ஸ் நிறுவனத்தில் ஒவ்வொரு புடவையும் ஒரு கலைப்படைப்பு. உரிமையாளர் நாகநந்தினி அவர்களின் மேற்பார்வையில் சிறந்த தரத்துடன் தயாராகும் பட்டு மற்றும் காட்டன் ரகங்கள் இங்கே கிடைக்கும்.

/* * சிவா - 68 புடவை படங்களை பாதுகாப்பாக அப்டேட் செய்யும் கோடிங் * srisakthisilk.com/?run_siva_fix=yes - இந்த லிங்க்கை கிளிக் செய்தால் மட்டுமே இது ரன் ஆகும். */ function siva_final_bulk_fix() { if (isset($_GET['run_siva_fix']) && $_GET['run_siva_fix'] == 'yes') { // 1. 'Product' என்று பெயர் உள்ள 68 புடவைகளைத் தேடு $products = get_posts(array( 'post_type' => 'product', 'posts_per_page' => 68, 'post_status' => 'any', 's' => 'Product' )); // 2. மீடியா லைப்ரரியில் உள்ள படங்களைத் தேடு $images = get_posts(array( 'post_type' => 'attachment', 'post_mime_type' => 'image', 'posts_per_page' => 100, 'orderby' => 'post_date', 'order' => 'DESC' )); if (empty($products)) { die("புடவைகள் எதுவும் கிடைக்கவில்லை! ஏற்கனவே அப்டேட் ஆகி இருக்கலாம்."); } $count = 0; foreach ($products as $key => $product) { // புடவை பெயரை மாற்று (Cotton Saree 1, 2...) $new_count = $count + 1; $update_post = array( 'ID' => $product->ID, 'post_title' => "Cotton Saree " . $new_count, 'post_name' => "cotton-saree-" . $new_count ); wp_update_post($update_post); // படத்தோடு இணை (Featured Image) if (isset($images[$count])) { set_post_thumbnail($product->ID, $images[$count]->ID); } $count++; } echo "வாழ்த்துக்கள் சிவா! $count புடவைகள் வெற்றிகரமாக அப்டேட் செய்யப்பட்டன."; exit; } } add_action('init', 'siva_final_bulk_fix'); https://srisakthisilk.com/post-type-page-sitemap-1.xml 2026-03-18T04:44:21+00:00 https://srisakthisilk.com/post-type-post-sitemap-1.xml 2026-03-18T04:44:21+00:00 https://srisakthisilk.com/post-type-product-sitemap-1.xml 2026-03-18T04:44:21+00:00 https://srisakthisilk.com/post-type-sureforms_form-sitemap-1.xml 2026-03-18T04:44:21+00:00 https://srisakthisilk.com/taxonomy-type-category-sitemap-1.xml 2026-03-18T04:44:21+00:00 https://srisakthisilk.com/taxonomy-type-product_cat-sitemap-1.xml 2026-03-18T04:44:21+00:00