HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: ws67301310 (67301310)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /homepages/4/d4297730999/htdocs/wordpress/wp-content/kamini-wp copy/index.php
<?php

/**

 * The main template file.

 *

 * This is the most generic template file in a WordPress theme

 * and one of the two required files for a theme (the other being style.css).

 * It is used to display a page when nothing more specific matches a query.

 * E.g., it puts together the home page when no home.php file exists.

 * Learn more: http://codex.wordpress.org/Template_Hierarchy

 *

 * @package WordPress

 * @subpackage Twenty_Eleven

 */



get_header(); ?>



		<div id="primary">

			<div id="content" role="main">

			<?php if ( function_exists('show_nivo_slider') )  { show_nivo_slider(); } ?>

				<div id="centerslot">

					<div id="homeprod">

						<h1>Products &amp; Services. At a glance.</h1>

						<?php include (ABSPATH . '/wp-content/themes/kamini-wp/bxslider/bxslider.php'); ?>

					</div>

					<div id="hometesti">

					<h1>We love Kamini.</h1>

						<div id="hometesticontent">

						<?php if (function_exists('yg_randomposts')) { ?>



					<?php







 					$parameters = array(







					'limit' => 1, //Number of posts to show







					'excerpt' => 300,  //excerpt length (letters)







					'actcat' => false, //get posts current category







					'cats' => '5',  //Categories to get posts







					'cusfield2' => 'author', //custom field name of thumbnail image







					'w' => 306,  //width







					'h' => 133, //height







					'firstimage' => false,  //get first image of post content







					'atimage' => true, //get first attached image of post







 					);







					//print random posts







					yg_randomposts($parameters);







					?>







						 <?php } ?>

						</div>

					</div>

				</div>



			</div><!-- #content -->

		</div><!-- #primary -->





<?php get_footer(); ?>