Explore all the pages we have on our website. Find information about our services, company, and more.
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960 with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.' . esc_html__('Your demo import has been completed successfully.', 'architect-architecture') . '
'; echo '' . esc_html__('VIEW SITE', 'architect-architecture') . ''; //end // Top Bar // set_theme_mod( 'architect_architecture_topfaq_text', 'FAQ' ); set_theme_mod( 'architect_architecture_faq_link', '#' ); set_theme_mod( 'architect_architecture_contact_text', 'CONTACT' ); set_theme_mod( 'architect_architecture_contact_link', '#' ); set_theme_mod( 'architect_architecture_topbar_phone_number', '+1 123 456 78900' ); set_theme_mod( 'architect_architecture_topbar_timing', 'MON - FRI: 8:00 AM - 5:00 PM' ); set_theme_mod( 'architect_architecture_topbar_btn_text', 'Get Quote' ); set_theme_mod( 'architect_architecture_topbar_btn_link', '#' ); // slider section start // set_theme_mod( 'architect_architecture_slider_small_title ', 'Best Architecture Company In India' ); set_theme_mod( 'architect_architecture_slider_button_text', 'Read More' ); set_theme_mod( 'architect_architecture_topbar_btn_link', '#' ); for($architect_architecture_i=1;$architect_architecture_i<=3;$architect_architecture_i++){ $architect_architecture_slider_title = 'WE MAKE IT HAPPEN'; $architect_architecture_slider_content = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.'; // Create post object $my_post = array( 'post_title' => wp_strip_all_tags( $architect_architecture_slider_title ), 'post_content' => $architect_architecture_slider_content, 'post_status' => 'publish', 'post_type' => 'page', ); // Insert the post into the database $architect_architecture_post_id = wp_insert_post( $my_post ); if ($architect_architecture_post_id) { // Set the theme mod for the slider page set_theme_mod('architect_architecture_slider_page' . $architect_architecture_i, $architect_architecture_post_id); $architect_architecture_image_url = get_template_directory_uri().'/assets/images/slider'.$architect_architecture_i.'.png'; $architect_architecture_image_id = media_sideload_image($architect_architecture_image_url, $architect_architecture_post_id, null, 'id'); if (!is_wp_error($architect_architecture_image_id)) { // Set the downloaded image as the post's featured image set_post_thumbnail($architect_architecture_post_id, $architect_architecture_image_id); } } } // Portfolio Section // set_theme_mod( 'architect_architecture_portfolio_heading', 'Our Portfolio' ); set_theme_mod( 'architect_architecture_portfolio_text', 'Lorem Ipsum has been the industry standard dummy text ever since the 1500s' ); set_theme_mod('architect_architecture_portfolio_category', 'servicecategory1'); // Define post category names and post titles $architect_architecture_category_names = array('servicecategory1', 'servicecategory2'); $architect_architecture_title_array = array( array("High Tech Architect", "High Tech Architect", "High Tech Architect"), array("High Tech Architect", "High Tech Architect", "High Tech Architect") ); foreach ($architect_architecture_category_names as $architect_architecture_index => $architect_architecture_category_name) { // Create or retrieve the post category term ID $architect_architecture_term = term_exists($architect_architecture_category_name, 'category'); if ($architect_architecture_term === 0 || $architect_architecture_term === null) { // If the term does not exist, create it $architect_architecture_term = wp_insert_term($architect_architecture_category_name, 'category'); } if (is_wp_error($architect_architecture_term)) { error_log('Error creating category: ' . $architect_architecture_term->get_error_message()); continue; // Skip to the next iteration if category creation fails } for ($architect_architecture_i = 0; $architect_architecture_i < 3; $architect_architecture_i++) { // Create post content $architect_architecture_title = $architect_architecture_title_array[$architect_architecture_index][$architect_architecture_i]; $architect_architecture_content = 'Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s.'; // Create post post object $architect_architecture_my_post = array( 'post_title' => wp_strip_all_tags($architect_architecture_title), 'post_content' => $architect_architecture_content, 'post_status' => 'publish', 'post_type' => 'post', // Post type set to 'post' ); // Insert the post into the database $architect_architecture_post_id = wp_insert_post($architect_architecture_my_post); if (is_wp_error($architect_architecture_post_id)) { error_log('Error creating post: ' . $architect_architecture_post_id->get_error_message()); continue; // Skip to the next post if creation fails } // Assign the category to the post wp_set_post_categories($architect_architecture_post_id, array((int)$architect_architecture_term['term_id'])); // Handle the featured image using media_sideload_image $architect_architecture_image_url = get_template_directory_uri() . '/assets/images/services' . ($architect_architecture_i + 1) . '.png'; $architect_architecture_image_id = media_sideload_image($architect_architecture_image_url, $architect_architecture_post_id, null, 'id'); if (is_wp_error($architect_architecture_image_id)) { error_log('Error downloading image: ' . $architect_architecture_image_id->get_error_message()); continue; // Skip to the next post if image download fails } // Assign featured image to post set_post_thumbnail($architect_architecture_post_id, $architect_architecture_image_id); } } //Copyright Text set_theme_mod( 'architect_architecture_footer_text', 'By VWThemes' ); } ?>