/* |-----------------Development Info------------------------| |=========================================================| ||-- Name : Shoeb Akhtar --|| ||-- Date : 26 may 2023 --|| ||-- firm : Vowel web --|| ||-- for : Vowel web --|| ||-- URL : https://adhish.in/ --|| |=========================================================| |---------------------------------------------------------| font-family: 'Montserrat'; */ @font-face { font-family: 'Conv_Calibri Bold'; src: url('../fonts/calibri/Calibri Bold.eot'); src: local('☺'), url('../fonts/calibri/Calibri Bold.woff') format('woff'), url('../fonts/calibri/Calibri Bold.ttf') format('truetype'), url('../fonts/calibri/Calibri Bold.svg') format('svg'); font-weight: normal; font-style: normal; } /** Generated by FG **/ @font-face { font-family: 'Swiss-721-BT-Font'; src: url('../fonts/swiss/Swiss-721-BT-Font.eot'); src: local('☺'), url('../fonts/swiss/Swiss-721-BT-Font.woff') format('woff'), url('../fonts/swiss/Swiss-721-BT-Font.ttf') format('truetype'), url('../fonts/swiss/Swiss-721-BT-Font.svg') format('svg'); font-weight: normal; font-style: normal; } * { -webkit-box-sizing : border-box; -moz-box-sizing : border-box; box-sizing : border-box; } *:before, *:after { -webkit-box-sizing : border-box; -moz-box-sizing : border-box; box-sizing : border-box; } ::selection { color: #000; background : #64e84b; } html { -webkit-text-size-adjust : 100%; -ms-text-size-adjust : 100%; scroll-behavior : smooth; } body { margin: 0; font-family: 'Montserrat'; } article, footer, header, nav, section, div { display : block; } audio, canvas, video { display : inline-block; vertical-align : baseline; } a { background-color : transparent; text-decoration : none; transition : all 0.4s; } strong { font-weight: bold; } img { border: 0; width: 100%; } button, input, select, textarea { margin: 0; font: inherit; color: inherit; } button { margin: 0; padding: 0; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disable], html input[disable] { cursor: default; } h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat'; margin: 0; line-height: normal; } p { margin: 0 0 10px; } ul { padding-left: 0; margin: 0; } .container { width: 100%; max-width: 1200px; padding: 0 15px; margin: 0 auto; } .row { /*in container padding was 15px from right and left thats why we use margin left and right -15px in row*/ margin-left: -15px; margin-right: -15px; } .row:after { content: ""; clear: both; display: table; } [class*="col-md-"] { float: left; padding: 0 15px; } .col-md-1 { width : 8.33%; } .col-md-2 { width: 16.66%; } .col-md-3 { width : 25%; } .col-md-4 { width : 33.33%; } .col-md-5 { width : 41.66%; } .col-md-6 { width : 50%; } .col-md-7 { width : 58.33%; } .col-md-8 { width : 66.66%; } .col-md-9 { width : 75%; } .col-md-10 { width : 83.33%; } .col-md-11 { width : 91.66%; } .col-md-12 { width : 100%; } *:focus { outline: none; } input, textarea,:focus { color: #fff; } .pb1 { padding-bottom: 10px; } .pb2 { padding-bottom: 20px; } .pb3 { padding-bottom: 30px; } .pb4 { padding-bottom: 40px; } .pb5 { padding-bottom: 50px; } .pb6 { padding-bottom: 60px; } .pb7 { padding-bottom: 70px; } .pb8 { padding-bottom: 80px; } .pb9 { padding-bottom: 90px; } .pb10 { padding-bottom: 100px; } .pb12 { padding-bottom: 120px; } .pt1 { padding-top: 10px; } .pt2 { padding-top: 20px; } .pt3 { padding-top: 30px; } .pt4 { padding-top: 40px; } .pt5 { padding-top: 50px; } .pt6 { padding-top: 60px; } .pt7 { padding-top: 70px; } .pt8 { padding-top: 80px; } .pt9 { padding-top: 90px; } .pt10 { padding-top: 100px; } .pt12 { padding-top: 120px; } Responsive @media only screen and (max-width: 1110px) { } /******** Theme Name: Defectiveritas-Child Template: Defectiveritas Version: 9.9 ********/ /* Optional: Add any additional styles or overrides below this comment */ .abc { } add on the root :- screenshot.png function.php header.php footer.php index.php sidebar.php //////////////////Body hooks functions////////////////////// > //This function gives the body element different classes and can be added, typically, in the header.php's HTML body tag. Basic Usage. wp_body_open() is an action hook introduced in WordPress 5.2 that allows developers to insert code directly after the opening body tag in a theme. //////////////////End Body hooks functions////////////////////// array( 'name' => 'Vision and Mission', 'singular_name' => 'Vision and Mission', 'category' => 'Category' ), 'public' => true, // Set to true if you want the post type to be publicly accessible 'has_archive' => true, // Set to true if you want to enable archives for this post type 'menu_icon' => 'vision-mission', 'rewrite' => array('slug' => 'upcoming-training'), // Customize the URL slug 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail'), // Add 'page-attributes' to enable page attributes // Add more options and parameters as needed )); } add_action('init', 'vision_and_mission_post_type');
>

<?php echo esc_attr( $has['has_image']['alt'] ); ?>

    'upcoming_training', 'posts_per_page' => 10); $custom_uct_query = new WP_Query($uct_args); if ($custom_uct_query->have_posts()) : while ($custom_uct_query->have_posts()) : $custom_uct_query->the_post(); ?>
<?php echo get_sub_field('uct_image')['alt']; ?>
'our_servicess', 'posts_per_page' => 3); $custom_oss_query = new WP_Query($oss_args); if ($custom_oss_query->have_posts()) : while ($custom_oss_query->have_posts()) : $custom_oss_query->the_post(); ?>

'our_client_sector', 'posts_per_page' => 9); $ourclientsector_query = new WP_Query($ourclientsector); if ($ourclientsector_query->have_posts()) : while ($ourclientsector_query->have_posts()) : $ourclientsector_query->the_post(); ?>
'footer-menu', 'menu_class' => 'footer-navbar' )); ?>
Enquiry Form
///////////////betterdocs_post_type custom post with category////////////////////////// function betterdocs_post_type() { // Registering a custom post type register_post_type('better_docs', array( 'labels' => array( 'name' => 'Betterdocs', 'singular_name' => 'Betterdoc', ), 'public' => true, 'has_archive' => true, 'menu_icon' => 'dashicons-media-document', 'rewrite' => array('slug' => 'better-docs'), 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail'), )); // Add a custom taxonomy (category) for your custom post type register_taxonomy('betterdocs_category', 'better_docs', array( 'hierarchical' => true, 'labels' => array( 'name' => 'Categories', 'singular_name' => 'Category', ), 'rewrite' => array('slug' => 'betterdocs-category'), )); } add_action('init', 'betterdocs_post_type'); /* *Ajax lice search filter */ add_shortcode( 'asearch', 'asearch_func' ); function asearch_func( $atts ) { $atts = shortcode_atts( array( 'source' => 'page,post,product', 'image' => 'true' ), $atts, 'asearch' ); static $asearch_first_call = 1; $source = $atts["source"]; $image = $atts["image"]; $sForam = ''; $java = ''; //css here $css = ''; if ( $asearch_first_call == 1 ){ $asearch_first_call++; return "{$sForam}{$java}{$css}"; } elseif ( $asearch_first_call > 1 ) { $asearch_first_call++; return "{$sForam}"; }} add_action('wp_ajax_asearch' , 'asearch'); add_action('wp_ajax_nopriv_asearch','asearch'); function asearch(){ $the_query = new WP_Query( array( 'posts_per_page' => 10, 's' => esc_attr( $_POST['s'] ), 'post_type' => explode(",", esc_attr( $_POST['source'] ))) ); if( $the_query->have_posts() ) : echo '