Natural makeup KL Kuala Lumpur Malaysia by makeup by ferrarosa

Natural makeup in KL (Kuala Lumpur) Malaysia by Ferrarosa





* 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.

* For example, it puts together the home page when no home.php file exists.


* @link


* @package WordPress

* @subpackage Twenty_Twelve

* @since Twenty Twelve 1.0



get_header(); ?>

<?php if ( is_active_sidebar( ‘makeup_parlour’ ) ) : ?>

<div class=”mainWrapper contentTop”>

<!–<p><img src=”http://localhost/makeupParlour/wp-content/themes/makeupParlour/images/pll.png” width=”426″ height=”63″ alt=”” /></p>

<p>Lorem Ipsum is simply dummy text of the printing and typesetting.</p>–>

<?php dynamic_sidebar( ‘makeup_parlour’ ); ?>


<?php endif; ?>


<?php query_posts(‘page_id=67’); if ( have_posts() ) :?>


<?php while ( have_posts() ) : the_post(); $excerpt = get_the_excerpt();$feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );?>

<div class=”mainWrapper contentMid”>
<img style= ” float:left;width:450px ;height:300px;margin:0 0 0px 10px;” src=””>
<?php if($feat_image){?>

<div class=”common featuredImage”>

<img src=”<?php echo $feat_image; ?>” width=”100%”>

<div class=”commonChange homemidRight”>


<div class=”mainWrapper mtitle”>

<!–<p>Lorem Ipsum</p>–>

<h3><?php the_title()?></h3>


<div class=”mainWrapper content mainCon”>

<?php the_content()?>




<?php } else {?>

<div class=”commonChange homemidRight” style=”width:50%;”>


<div class=”mainWrapper mtitle”>

<h3><?php the_title()?></h3>


<div class=”mainWrapper content mainCon”>
<p><?php echo string_limit_words($excerpt,50);?>


<div class=”read-more” style=”width:100%;border-top:1px solid #e9eaeb;

border-bottom:1px solid #e9eaeb !important;
text align:center !important;”><b><a style=”margin:10px;” href=”” title=”Fruits for Summer Salads”><center>VIEW MORE</center></a></b></div>


<?php } ?>


<?php endwhile;?>

<?php endif;wp_reset_query();?>



$args = array(‘posts_per_page’ =>1000,’order’ => ‘desc’,’paged’ => $paged);

query_posts( $args );

if ( have_posts() ) :



<div class=”mainWrapper contentBottom”>


<?php $count=1;while ( have_posts() ) : the_post(); $feat_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );



<li class=”fs <?php if($count%2 == 0){?>ls<?php }?> <?php if($count%4 == 0){?>lst<?php }?>”><a href=”<?php the_permalink() ?>”><img src=”<?php echo $feat_image; ?>” width=”100%” alt=”” />
<div style=”float:right;width:80%;border-bottom:1px solid rgb(211,198,196);”>
<div style=”float:right;margin:0 30px 0 30px; “><?php the_title() ?></div></div><?php /*?><span><?php the_title() ?> <></span><?php */?></a></li>
<?php }?>

<?php $count++;endwhile;?>


<?php endif;wp_reset_query();?>

<?php get_footer(); ?>

Share and Enjoy

  • Facebook
  • Twitter
  • LinkedIn
  • Email
Follow us on Facebook!

Copyright © 2014 Makeup by Ferrarossa I Website by : LoooGo