> //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');
>
'home_slider', 'posts_per_page' => 10);
$custom_query = new WP_Query($args);
if ($custom_query->have_posts()) :
while ($custom_query->have_posts()) :
$custom_query->the_post();
?>
'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();
?>
'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();
?>