// ===== CREATE ALL PAGES ON THEME ACTIVATION ===== function vahanmilap_create_all_pages() { $pages = array( 'about' => array( 'title' => 'About Us', 'template' => 'page-about.php', 'content' => '' ), 'process' => array( 'title' => 'How It Works', 'template' => 'page-process.php', 'content' => '' ), 'projects' => array( 'title' => 'Project Board', 'template' => 'page-projects.php', 'content' => '' ), 'features' => array( 'title' => 'Features', 'template' => 'page-features.php', 'content' => '' ), 'pricing' => array( 'title' => 'Pricing', 'template' => 'page-pricing.php', 'content' => '' ), 'contact' => array( 'title' => 'Contact Us', 'template' => 'page-contact.php', 'content' => '' ), 'faq' => array( 'title' => 'Frequently Asked Questions', 'template' => 'page-faq.php', 'content' => '' ), 'terms' => array( 'title' => 'Terms & Conditions', 'template' => 'page-terms.php', 'content' => '' ), 'privacy' => array( 'title' => 'Privacy Policy', 'template' => 'page-privacy.php', 'content' => '' ), 'login' => array( 'title' => 'Login', 'template' => 'page-login.php', 'content' => '' ), 'register' => array( 'title' => 'Register', 'template' => 'page-register.php', 'content' => '' ) ); foreach ($pages as $slug => $page) { $existing_page = get_page_by_path($slug); if (!$existing_page) { $page_id = wp_insert_post(array( 'post_title' => $page['title'], 'post_name' => $slug, 'post_status' => 'publish', 'post_type' => 'page', 'post_content' => $page['content'], 'post_author' => 1 )); if ($page_id && !is_wp_error($page_id)) { update_post_meta($page_id, '_wp_page_template', $page['template']); } } else { // Update existing page to use correct template update_post_meta($existing_page->ID, '_wp_page_template', $page['template']); } } flush_rewrite_rules(); } add_action('after_switch_theme', 'vahanmilap_create_all_pages'); add_action('init', 'vahanmilap_create_all_pages');
Last updated: March 2025
Vahanmilap ("we," "our," or "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you use our platform.
We may collect the following types of information:
We may share your information with:
We implement appropriate technical and organizational measures to protect your personal information. However, no method of transmission over the Internet or electronic storage is 100% secure.
You have the right to:
We use cookies to enhance your experience. You can set your browser to refuse cookies, but some features of the platform may not function properly.
Our platform may contain links to third-party websites. We are not responsible for the privacy practices of these websites.
Our services are not intended for individuals under 18 years of age. We do not knowingly collect information from children.
We may update this Privacy Policy from time to time. We will notify you of any changes by posting the new policy on this page.
If you have questions about this Privacy Policy, please contact us at:
Email: privacy@vahanmilap.com
Phone: +91 98765 43210
Address: 123, Main Street, Rajgangpur, Sundargarh, Odisha - 770017