featured_pages.php
$p = explode(',', $theme_options['featured_pages']);
$c = sizeof($p);
?>
if (!($theme_options['featured_pages']<>"")) {
?>
Theme Settings > Homepage > Featured Pages) which will be shown here.
Please, be carefull: each slide is one standalone page e.g. if you\'d like to add two slides you need to create two pages (Admin Panel > Pages > Add New) and enter IDs of these pages to input field
on the Theme Settings panel.',pandathemes) ?>
}
else
{ ?>
query_posts(array('post_type'=>'page','post__in'=>$p,'posts_per_page' => -1,'orderby' => 'menu_order','order' => 'ASC'));
$f = 1;
while (have_posts()) : the_post(); ?>
if ($c > 1) { ?>
query_posts(array('post_type'=>'page','post__in'=>$p,'posts_per_page' => -1,'orderby' => 'menu_order','order' => 'ASC'));
$f = 1;
while (have_posts()) : the_post(); ?>
-
$x = 20 * $count;
$margin = 14 + $x;
?>