Featured Content Gallery | WordPress Plugin | iePlexus

Im Lost Installing FCG. Help!

General WordPress and FCG plugin discussion

Im Lost Installing FCG. Help!

PostBy saber210 on Fri Apr 29, 2011 9:39 pm

I tried to install FCG to arthemia premium but i have no luck..

I dont know how can I install this on my theme.. Currently I dont have any plugins installed.

Heres the code. The current im using this header:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/madmenu.css" type="text/css" media="screen" />
<!--[if IE 6]>
    <style type="text/css">
    body {
        behavior:url("<?php bloginfo('template_url'); ?>/scripts/csshover2.htc");
    }
    </style>
<![endif]-->

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php $cp_iIcon = get_settings( "cp_favICON" );
      if( $cp_iIcon != "" ) {
      ?>
<link rel="icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
   <?php   } ?>

<?php if (is_home()) { ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/jquery.jcarousel.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/skin.css" />
<?php } ?>

<style type="text/css">
<?php
$cp_max = 10;
$cp_categories = get_categories('');
$postcat = get_settings( "ar_categories" );

if( is_array( $postcat ) ) {
   foreach ( $cp_categories as $b ) {
      $cp_max ++;
   }   
}

for( $cp_i = 1; $cp_i <= $cp_max; $cp_i ++ ) {
   $cp_catCol = get_settings( "cp_catColor" );
    $cp_iCol = get_settings( "cp_hexColor_" . $cp_i );
    $cp_tCol = get_settings( "cp_textColor_" . $cp_i );
    $cp_hCol = get_settings( "cp_hoverColor_" . $cp_i );
       if( ($cp_iCol != "") || ($cp_tCol != "")  ) { ?>
    /* category bar */
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> { border-top:8px solid <?php echo $cp_iCol ?>; color:<?php echo $cp_tCol ?>; }
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>:hover { background:<?php echo $cp_iCol ?>; color:<?php echo $cp_hCol ?>; }
    /* sidebar */
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>  {background:<?php echo $cp_iCol ?>; color:<?php echo $cp_catCol ?>; }
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> a { color:<?php echo $cp_catCol ?>; }
      
<?php } } ?>

<?php if (is_home()) { $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $height = 257; $clip_height = 237; $feat_height = 282; }
      else { $height = 422; $clip_height = 395; $feat_height = 446; } ?>
.jcarousel-skin-arthemia .jcarousel-container-vertical { width: 310px; height: <?php echo $height; ?>px; padding: 0px; }
.jcarousel-skin-arthemia .jcarousel-clip-vertical { width: 310px; height: <?php echo $clip_height; ?>px; }
#featured { height: <?php echo $feat_height; ?>px; overflow:hidden; }

<?php } ?>

</style>

<?php load_theme_textdomain('arthemia');?>

<?php if (is_singular()) wp_enqueue_script('comment-reply'); wp_head(); ?>

<?php if (is_home()) {

$speed = get_settings ( "cp_ScrollSpeed" );
$scroll = get_settings ( "cp_autoScroll" );
if ( $speed != "" ) { $speed = $speed/1000;  } else { $speed = 2; }
if ( $scroll != "No" ) { } else { $speed = 0;  } ?>

<script type="text/javascript">
function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });
    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: <?php echo $speed; ?>,
        scroll: 1,
        wrap: 'last',
        vertical: true,
        initCallback: mycarousel_initCallback
    });
});

</script>
<?php } ?>
</head>

<body>


<div id="head" class="clearfloat">

<div class="clearfloat">
   <div id="logo" class="left">
   
   <?php $cp_iLogo = get_settings( "cp_logo" );
      if( $cp_iLogo != "" ) {
      ?>
   <a href="<?php echo get_option('home'); ?>">
   <img src="<?php bloginfo('template_url'); ?>/images/logo/<?php echo $cp_iLogo; ?>" alt="" height="90px" /></a>
   <?php   } ?>

   </div>

   <div class="right">
   <?php $cp_i = 1; $cp_iAd = get_settings( "cp_adImage_" . $cp_i ); ?>
   
   <?php if(($cp_iAd != "") && ($cp_iAd != "Adsense")) { ?>
   <a href="<?php echo get_settings( "cp_adURL_" . $cp_i ); ?>">
   <img src="<?php bloginfo('template_url'); ?>/images/ads/<?php echo $cp_iAd; ?>" alt="" width="728px" height="90px" /></a>
   <?php } else { ?>

   <?php if( $cp_iAd != "") { ?>
   
   <?php $cp_iAdcode = get_settings( "cp_adAdsenseCode_" . $cp_i );
      if( $cp_iAdcode != "" ) {
      ?>
   
   <script type="text/javascript"><!--
google_ad_client = "<?php echo get_settings( "cp_adGoogleID" ); ?>";
google_ad_slot = "<?php echo get_settings( "cp_adAdsenseCode_" . $cp_i ); ?>";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

   <?php   } } ?>
   <?php } ?>

   
   </div>

</div>

</div>

<div id="navbar" class="clearfloat">

<div id="madmenu">
<ul>

<li class="first"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','arthemia');?></a></li>

<?php wp_list_pages('title_li=&'); ?>

</ul>

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

</div>
</div>

<div id="top" class="clearfloat">
   <?php if (is_home() && !is_paged()) { ?>
      <div id="headline">
      <?php
      //Get value from Admin Panel
         $cp_categories = get_categories('hide_empty=0');
         $ar_headline = get_settings( "ar_headline" );
         if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
         query_posts( 'showposts=1&cat=' . $ar_headline );
          ?>
      <div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> &raquo;</a></div>
      <?php while (have_posts()) : the_post(); ?>   
   <div class="clearfloat">
   <?php $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $width = 200; $height = 225; }
      else { $width = 550; $height = 230; }
   ?>
   <?php $status = get_settings ( "cp_thumbAuto" );
      if ( $status != "first" ) { ?>
   <?php $values = get_post_custom_values("Image");
   if (isset($values[0])) { ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&amp;w=<?php echo $width; ?>&amp;h=<?php echo $height; ?>&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a>
   <?php } ?>
   <?php } else { ?>
   <?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
   <?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&amp;w=<?php echo $width; ?>&amp;h=<?php echo $height; ?>&amp;zc=1&amp;q=100"
    alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a><?php } ?>
   <?php } ?>
   <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
   <div class="meta"><?php the_time(get_option('date_format')); ?> &#150; <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>   
      <?php the_excerpt() ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story &raquo;','arthemia');?></a>
   </div>
   <?php endwhile; ?>
   </div>
   
    <div id="featured">
   
   
   <?php
      //Get value from Admin Panel
         $cp_categories = get_categories('hide_empty=0');
         $ar_featured = get_settings( "ar_featured" );
         if( $ar_featured == 0 ) { $ar_featured = $cp_categories[0]->cat_ID; }
         $num = get_settings( "cp_numFeatured" );
         if( $num == 0 ) { $num = 10; }
         query_posts( 'showposts=' . $num . '&cat=' . $ar_featured );
          ?>

   <div class="label"><a href="<?php echo get_category_link($ar_featured);?>"><?php single_cat_title(); ?> &raquo;</a></div>
   <ul id="mycarousel" class="jcarousel-skin-arthemia">

      <?php while (have_posts()) : the_post(); ?>
      <li>
   <div class="clearfloat">

   <?php $status = get_settings ( "cp_thumbAuto" );
      if ( $status != "first" ) { ?>

   <?php   $values = get_post_custom_values("Image");
   if (isset($values[0])) { ?>
      <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
   <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&amp;w=100&amp;h=65&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a><?php } ?>

   <?php } else { ?>

   <?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
            
   <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php if($image_src != '') { echo $image_src; } ?>&amp;w=100&amp;h=65&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a>

   <?php } ?>

   <div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>
<div class="meta"><?php the_time(get_option('date_format')); ?> &#150; <?php the_time('G:i') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?></div>   

</div>

       </div>
     </li>
      <?php endwhile; ?>

   <?php wp_reset_query(); ?>

    </ul>

   </div>

   </div>

   <?php } else { ?>
   <?php    //Get value from Admin Panel
         $cp_categories = get_categories('hide_empty=0');
         $ar_headline = get_settings( "ar_headline" );
         if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
         
            $showheadline1 = get_settings ( "cp_showpostheadline" );
            $showheadline2 = get_settings ( "cp_showarchiveheadline" );
            if ( (is_home() && is_paged()) || (is_search() && $showheadline2 != "no") || (is_archive() && $showheadline2 != "no") || (is_single() && $showheadline1 != "no") ) {
         
            query_posts( 'showposts=1&cat=' . $ar_headline ); ?>
         
   <?php while (have_posts()) : the_post(); ?>   
   <div id="single_head">
   <?php $status = get_settings ( "cp_thumbAuto" );
      if ( $status != "first" ) { ?>

   <?php $values = get_post_custom_values("Image");
   if (isset($values[0])) { ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&amp;w=175&amp;h=150&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a>
   <?php } ?>
   <?php } else { ?>
   <?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
            
   <?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&amp;w=175&amp;h=150&amp;zc=1&amp;q=100"
    alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a><?php } ?>

   <?php } ?>
   </div>
   <div id="single_desc">
   <div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> &raquo;</a></div>
   <div class="cleafloat"><div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
   <div class="meta"><?php the_time(get_option('date_format')); ?> &#150; <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>   
   <?php the_excerpt(); ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story &raquo;','arthemia');?></a>
      </div></div>
    <?php endwhile; ?>
   <?php wp_reset_query(); ?>
<?php } ?>
</div>
<!--</div>-->

<?php } ?>
   <?php $showcatbar1 = get_settings ( "cp_showpostcatbar" );
            $showcatbar2 = get_settings ( "cp_showarchivecatbar" );
      $showcatbar3 = get_settings ( "cp_showindexcatbar" );
   
        if ( (is_home() && $showcatbar3 != "no") ||  (is_search() && $showcatbar2 != "no") || (is_archive() && $showcatbar2 != "no") || (is_single() && $showcatbar1 != "no") ) { ?>
   <div id="middle" class="clearfloat">

   <?php $postcat = get_settings( "ar_categories" );
      if( $ar_categories == 0 ) { $ar_categories= $cp_categories->cat_ID; }

   if( ! is_array( $postcat ) ) {
      foreach ( $cp_categories as $b ) {
      $postcat[] = $b->cat_ID;
      }   
   }
   
   $postcat = array_slice($postcat, 0, 5);
    sort($postcat);

   foreach ($postcat as $cp_pC ) { ?>
   
   <?php query_posts("showposts=1&cat=$cp_pC"); ?>
   <div id="cat-<?php echo $cp_pC; ?>" class="category" onclick="window.location.href='<?php echo get_category_link($cp_pC);?>';">
      <span class="cat_title"><?php single_cat_title(); ?></span>
      <p><?php echo category_description($cp_pC); ?></p>
   </div>
   <?php } ?>

   <?php wp_reset_query(); ?>
    </div>

   
   <?php } ?>

   

   <div id="page" class="clearfloat">
    <?php if (!is_home()) { ?><div id="inner" class="clearfloat"><?php } ?>


Heres the original header:

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/madmenu.css" type="text/css" media="screen" />
<!--[if IE 6]>
    <style type="text/css">
    body {
        behavior:url("<?php bloginfo('template_url'); ?>/scripts/csshover2.htc");
    }
    </style>
<![endif]-->

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php $cp_iIcon = get_settings( "cp_favICON" );
      if( $cp_iIcon != "" ) {
      ?>
<link rel="icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
   <?php   } ?>

<?php if (is_home()) { ?>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/jquery.jcarousel.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/skin.css" />
<?php } ?>

<style type="text/css">
<?php
$cp_max = 10;
$cp_categories = get_categories('');
$postcat = get_settings( "ar_categories" );

if( is_array( $postcat ) ) {
   foreach ( $cp_categories as $b ) {
      $cp_max ++;
   }   
}

for( $cp_i = 1; $cp_i <= $cp_max; $cp_i ++ ) {
   $cp_catCol = get_settings( "cp_catColor" );
    $cp_iCol = get_settings( "cp_hexColor_" . $cp_i );
    $cp_tCol = get_settings( "cp_textColor_" . $cp_i );
    $cp_hCol = get_settings( "cp_hoverColor_" . $cp_i );
       if( ($cp_iCol != "") || ($cp_tCol != "")  ) { ?>
    /* category bar */
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> { border-top:8px solid <?php echo $cp_iCol ?>; color:<?php echo $cp_tCol ?>; }
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>:hover { background:<?php echo $cp_iCol ?>; color:<?php echo $cp_hCol ?>; }
    /* sidebar */
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>  {background:<?php echo $cp_iCol ?>; color:<?php echo $cp_catCol ?>; }
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> a { color:<?php echo $cp_catCol ?>; }
      
<?php } } ?>

<?php if (is_home()) { $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $height = 257; $clip_height = 237; $feat_height = 282; }
      else { $height = 422; $clip_height = 395; $feat_height = 446; } ?>
.jcarousel-skin-arthemia .jcarousel-container-vertical { width: 310px; height: <?php echo $height; ?>px; padding: 0px; }
.jcarousel-skin-arthemia .jcarousel-clip-vertical { width: 310px; height: <?php echo $clip_height; ?>px; }
#featured { height: <?php echo $feat_height; ?>px; overflow:hidden; }

<?php } ?>

</style>

<?php load_theme_textdomain('arthemia');?>

<?php if (is_singular()) wp_enqueue_script('comment-reply'); wp_head(); ?>

<?php if (is_home()) {

$speed = get_settings ( "cp_ScrollSpeed" );
$scroll = get_settings ( "cp_autoScroll" );
if ( $speed != "" ) { $speed = $speed/1000;  } else { $speed = 2; }
if ( $scroll != "No" ) { } else { $speed = 0;  } ?>

<script type="text/javascript">
function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });
    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: <?php echo $speed; ?>,
        scroll: 1,
        wrap: 'last',
        vertical: true,
        initCallback: mycarousel_initCallback
    });
});

</script>
<?php } ?>
</head>

<body>


<div id="head" class="clearfloat">

<div class="clearfloat">
   <div id="logo" class="left">
   
   <?php $cp_iLogo = get_settings( "cp_logo" );
      if( $cp_iLogo != "" ) {
      ?>
   <a href="<?php echo get_option('home'); ?>">
   <img src="<?php bloginfo('template_url'); ?>/images/logo/<?php echo $cp_iLogo; ?>" alt="" height="90px" /></a>
   <?php   } ?>

   </div>

   <div class="right">
   <?php $cp_i = 1; $cp_iAd = get_settings( "cp_adImage_" . $cp_i ); ?>
   
   <?php if(($cp_iAd != "") && ($cp_iAd != "Adsense")) { ?>
   <a href="<?php echo get_settings( "cp_adURL_" . $cp_i ); ?>">
   <img src="<?php bloginfo('template_url'); ?>/images/ads/<?php echo $cp_iAd; ?>" alt="" width="728px" height="90px" /></a>
   <?php } else { ?>

   <?php if( $cp_iAd != "") { ?>
   
   <?php $cp_iAdcode = get_settings( "cp_adAdsenseCode_" . $cp_i );
      if( $cp_iAdcode != "" ) {
      ?>
   
   <script type="text/javascript"><!--
google_ad_client = "<?php echo get_settings( "cp_adGoogleID" ); ?>";
google_ad_slot = "<?php echo get_settings( "cp_adAdsenseCode_" . $cp_i ); ?>";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

   <?php   } } ?>
   <?php } ?>

   
   </div>

</div>

</div>

<div id="navbar" class="clearfloat">

<div id="madmenu">
<ul>

<li class="first"><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','arthemia');?></a></li>

<?php wp_list_pages('title_li=&'); ?>

</ul>

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

</div>
</div>

<div id="top" class="clearfloat">
   <?php if (is_home() && !is_paged()) { ?>
      <div id="headline">
      <?php
      //Get value from Admin Panel
         $cp_categories = get_categories('hide_empty=0');
         $ar_headline = get_settings( "ar_headline" );
         if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
         query_posts( 'showposts=1&cat=' . $ar_headline );
          ?>
      <div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> &raquo;</a></div>
      <?php while (have_posts()) : the_post(); ?>   
   <div class="clearfloat">
   <?php $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $width = 200; $height = 225; }
      else { $width = 550; $height = 230; }
   ?>
   <?php $status = get_settings ( "cp_thumbAuto" );
      if ( $status != "first" ) { ?>
   <?php $values = get_post_custom_values("Image");
   if (isset($values[0])) { ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&amp;w=<?php echo $width; ?>&amp;h=<?php echo $height; ?>&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a>
   <?php } ?>
   <?php } else { ?>
   <?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
   <?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&amp;w=<?php echo $width; ?>&amp;h=<?php echo $height; ?>&amp;zc=1&amp;q=100"
    alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a><?php } ?>
   <?php } ?>
   <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
   <div class="meta"><?php the_time(get_option('date_format')); ?> &#150; <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>   
      <?php the_excerpt() ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story &raquo;','arthemia');?></a>
   </div>
   <?php endwhile; ?>
   </div>
   
    <div id="featured">
   
   
   <?php
      //Get value from Admin Panel
         $cp_categories = get_categories('hide_empty=0');
         $ar_featured = get_settings( "ar_featured" );
         if( $ar_featured == 0 ) { $ar_featured = $cp_categories[0]->cat_ID; }
         $num = get_settings( "cp_numFeatured" );
         if( $num == 0 ) { $num = 10; }
         query_posts( 'showposts=' . $num . '&cat=' . $ar_featured );
          ?>

   <div class="label"><a href="<?php echo get_category_link($ar_featured);?>"><?php single_cat_title(); ?> &raquo;</a></div>
   <ul id="mycarousel" class="jcarousel-skin-arthemia">

      <?php while (have_posts()) : the_post(); ?>
      <li>
   <div class="clearfloat">

   <?php $status = get_settings ( "cp_thumbAuto" );
      if ( $status != "first" ) { ?>

   <?php   $values = get_post_custom_values("Image");
   if (isset($values[0])) { ?>
      <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
   <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&amp;w=100&amp;h=65&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a><?php } ?>

   <?php } else { ?>

   <?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
            
   <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php if($image_src != '') { echo $image_src; } ?>&amp;w=100&amp;h=65&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a>

   <?php } ?>

   <div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>
<div class="meta"><?php the_time(get_option('date_format')); ?> &#150; <?php the_time('G:i') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?></div>   

</div>

       </div>
     </li>
      <?php endwhile; ?>

   <?php wp_reset_query(); ?>

    </ul>

   </div>

   </div>

   <?php } else { ?>
   <?php    //Get value from Admin Panel
         $cp_categories = get_categories('hide_empty=0');
         $ar_headline = get_settings( "ar_headline" );
         if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
         
            $showheadline1 = get_settings ( "cp_showpostheadline" );
            $showheadline2 = get_settings ( "cp_showarchiveheadline" );
            if ( (is_home() && is_paged()) || (is_search() && $showheadline2 != "no") || (is_archive() && $showheadline2 != "no") || (is_single() && $showheadline1 != "no") ) {
         
            query_posts( 'showposts=1&cat=' . $ar_headline ); ?>
         
   <?php while (have_posts()) : the_post(); ?>   
   <div id="single_head">
   <?php $status = get_settings ( "cp_thumbAuto" );
      if ( $status != "first" ) { ?>

   <?php $values = get_post_custom_values("Image");
   if (isset($values[0])) { ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&amp;w=175&amp;h=150&amp;zc=1&amp;q=100"
alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a>
   <?php } ?>
   <?php } else { ?>
   <?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
            
   <?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&amp;w=175&amp;h=150&amp;zc=1&amp;q=100"
    alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a><?php } ?>

   <?php } ?>
   </div>
   <div id="single_desc">
   <div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> &raquo;</a></div>
   <div class="cleafloat"><div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
   <div class="meta"><?php the_time(get_option('date_format')); ?> &#150; <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>   
   <?php the_excerpt(); ?>
   <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story &raquo;','arthemia');?></a>
      </div></div>
    <?php endwhile; ?>
   <?php wp_reset_query(); ?>
<?php } ?>
</div>
<!--</div>-->

<?php } ?>
   <?php $showcatbar1 = get_settings ( "cp_showpostcatbar" );
            $showcatbar2 = get_settings ( "cp_showarchivecatbar" );
      $showcatbar3 = get_settings ( "cp_showindexcatbar" );
   
        if ( (is_home() && $showcatbar3 != "no") ||  (is_search() && $showcatbar2 != "no") || (is_archive() && $showcatbar2 != "no") || (is_single() && $showcatbar1 != "no") ) { ?>
   <div id="middle" class="clearfloat">

   <?php $postcat = get_settings( "ar_categories" );
      if( $ar_categories == 0 ) { $ar_categories= $cp_categories->cat_ID; }

   if( ! is_array( $postcat ) ) {
      foreach ( $cp_categories as $b ) {
      $postcat[] = $b->cat_ID;
      }   
   }
   
   $postcat = array_slice($postcat, 0, 5);
    sort($postcat);

   foreach ($postcat as $cp_pC ) { ?>
   
   <?php query_posts("showposts=1&cat=$cp_pC"); ?>
   <div id="cat-<?php echo $cp_pC; ?>" class="category" onclick="window.location.href='<?php echo get_category_link($cp_pC);?>';">
      <span class="cat_title"><?php single_cat_title(); ?></span>
      <p><?php echo category_description($cp_pC); ?></p>
   </div>
   <?php } ?>

   <?php wp_reset_query(); ?>
    </div>

   
   <?php } ?>

   

   <div id="page" class="clearfloat">
    <?php if (!is_home()) { ?><div id="inner" class="clearfloat"><?php } ?>


Heres the CSS that might help..

Code: Select all
/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
   margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%;
   font-family: inherit; vertical-align: baseline;
}
/* remember to define focus styles! */
:focus { outline: 0; }
body {line-height: 1;   color: black; background: white; }
ol, ul { list-style: none;}

/* tables still need 'cellspacing="0"' in the markup */
table {   border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q {   quotes: "" "";}

/* HTML Elements */

* {
   margin:0;
   padding:0;
   }

body {
   font: 100% Arial, Helvetica;
   background: #505050;
   color: #505050;
   }

p {   
   margin: 15px 0;
   }

a:link, a:visited {
   color: #000000;
   text-decoration:none
   }

a:hover, a:active {
   color: #808080;
   text-decoration:underline;
   }

a img {
   border:0;
   }

code {
   font: 1.0em 'Courier New', Courier, Fixed;
   background:#ececec;
   }   

acronym, abbr, span.caps {   
   font-size: 0.9em;
   letter-spacing: .07em;
   cursor: help;
   }         

acronym, abbr {
   border-bottom: 1px dashed #999;
   }

blockquote {
   padding: 10px 10px 0 10px;
   border-top: 1px solid #ddd;
   border-bottom: 1px solid #ddd;
   background: #ececec;
   font:1.0em Arial;
   line-height:1.5em;
   margin:10px 0px;
   }

select {
   width: 130px;
   }   

strong {
    font-weight:bold;
}

em {
    font-style:italic;
}

/* Structure */


#head {
   width:930px;
   margin:0px auto;
   margin-top:0px;
   padding:10px 5px 15px 5px;
   font-size:0.7em;
   background:#fff;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#page {
   width:920px;
   margin:0px auto;
   padding:10px;
   background:#eeeeee url(images/diag_stripe.gif);
   font-size:12px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#inner {
    margin:0;
    padding:0;
    background:url(images/left_stripe.gif) left repeat-y;
}

.left {
   float:left;
   }

.right {
   float:right;
   }


/* Navigation Bar*/
#navbar {
   margin:0 auto;
   padding:0px 10px 0px 10px;
   text-transform:uppercase;
   background:#333333 url(images/navbar.png) no-repeat;
   width:920px;
   font-size:10px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#page-bar {
   padding:0px;
   }

#page-bar ul {
   list-style: none;
   }

#page-bar li {
   float:left;
   list-style:none;
   cursor: pointer;
   display:block;
   border-right:1px solid #303030;
   }

#page-bar li:hover {
   background: #5b5b5b;
   }

#page-bar a, #page-bar a:visited {
   margin: 0px;
   padding:7px 14px;
   font-weight:bold;
   color:#eeeeee;
   display:block;
   }

#page-bar a:hover {
   text-decoration:none;
   display:block;
   }

#page-bar p {
   margin:0;
   padding:0;
   }

#searchform {
   width:184px;
   float:right;
   text-align:right;
   padding-top:3px;
   margin-right:10px;
   }

/* Dropdown Menus */      
#page-bar li {
   z-index: 9999;
   float: left;
   margin: 0px;
   padding: 0px;
   }
   
#page-bar li li {
   z-index: 9999;
   float: left;
   margin: 0px;
   padding: 0px;
   width: 132px;
   text-transform:none;
   }
   
#page-bar li li a, #page-bar li li a:link, #page-bar li li a:visited {
   z-index: 9999;
   width: 122px;
   float: none;
   margin: 0px;
   padding: 4px 10px 4px 10px;
   background: #5b5b5b url(images/dots_nav.gif) repeat-x top;
   }
   
#page-bar li li a:hover, #page-bar li li a:active {
   z-index: 9999;
   background: #909090;
   padding: 4px 10px 4px 10px;
   }

#page-bar li ul {
   z-index: 9999;
   position: absolute;
   width: 10em;
   left: -999em;
   }

#page-bar li:hover ul {
   z-index: 9999;
   left: auto;
   display: block;
   }
   
#page-bar li:hover ul, #page-bar li.sfhover ul {
   z-index: 9999;
   left: auto;
   }



/* Text*/

h1 {
   font:28px Arial;
   font-weight:bold;
   letter-spacing:-0.08em;
   }

h2 {
   font:25px Arial;
   font-weight:bold;
   }

h3 {
   font:12px Arial;
   margin-bottom:3px;
   color:#303030;
   font-weight:bold;
   }

h4 {
   font:12px Arial;
   }

h3.cat_title, h3.cat_title a {
   color:#333333;
   letter-spacing:-0.05em;
   }

h3#respond {
   margin-top:0px;
   padding-top:20px;
   }

h3#comments {
   margin-top:32px;
   padding-left:0px;
   margin-bottom:15px;
   }

h3.authors {
   margin-top:15px;
   }

/* Index Page*/

#logo {
   width:165px;
   height:90px;
   background:#fff;
   }

#tagline {
   margin-top:10px;
   color:#1d3566;
   font-weight:bold;
   }

#top {
   margin:0 auto;
   padding:0px 10px 0px 0px;
   background:#dedede;
   width:930px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#headline {
   width:560px;
   float:left;
   padding:0px 12px 25px 25px;
    font-size:12px;
   line-height:1.5em;
   margin:0;
   background:#333333;
   color:#fff;
   overflow:hidden;
   }

#headline a {
   color:#a0a0a0;
   }

#headline a:hover {
   color:#d0d0d0;
   }

#top div.label {
   font:14px Arial;
   font-weight:bold;
   text-transform:lowercase;
   letter-spacing:-0.05em;
   line-height:0.9em;
   display:block;
   padding-bottom:0px;
   padding-top:15px;
   }

#headline div.title {
   font:28px Arial;
   font-weight:bold;
   letter-spacing:-0.05em;
   line-height:0.9em;
   padding-bottom:5px;
   padding-top:5px;
    margin-top:0px;
   }

#headline div.meta {
   display:block;
   padding:4px 0px 4px 0px;
   color:#ececec;
   font-size:10px;
   }

#headline p {
   padding-bottom:25px;
   }

#featured {
   width:320px;
   float:right;
   padding:0px 0px 0px 10px;
   font-size:12px;
}

#featured li {
    list-style:none;
    width: 320px;
    height: 79px;
    margin-bottom:0px;
    padding-bottom:0px;
}

#featured .arthemia-carousel {
    overflow:hidden;
    width:320px;
}


#featured .info {
    margin-top:0px;
   padding-top:10px;
   /*float:right;*/
   /*width:203px;*/
   font-size:11px;
   }

#featured .meta {
   margin-top:5px;
    font-weight:normal;
    font-size:10px;
   }

#featured .title {
   font-weight:bold;
   }

#featured .divider {
   margin-left:95px;
   }

#headline a img, #featured a img {
   margin-top:5px;
    }

#featured a {
   color:#000000;
   }

#featured a:hover {
   color:#808080;
   }

#featured a img {
   border:2px solid #fff;
   margin-right:10px;
   }

#headline a img {
   border:3px solid #fff;
   margin-right:15px;
   }

#single_head {
   width:195px;
   float:left;
   padding:15px 12px 20px 25px;
   margin:0;
   background:#333333;
   color:#fff;
   }

#single_head a img {
   border:3px solid #fff;
   }

#single_desc {
   width:675px;
   float:right;
   padding:0px 10px 5px 10px;
    font-size:12px;
   line-height:1.5em;
   }

#single_desc div.title {
   font:25px Arial;
   font-weight:bold;
   letter-spacing:-0.05em;
   line-height:0.9em;
   display:block;
   padding-bottom:5px;
   padding-top:10px;
   }

#single_desc div.meta {
   display:block;
   padding-bottom:5px;
   font-size:10px;
   }

#single_desc p {
   margin:0px;
   padding-bottom:10px;
   }

#single_desc a {
   color:#000000;
   }

#single_desc a:hover {
   color:#808080;
   }

#middle {
   margin:0 auto;
   padding:10px 10px 0px 10px;
   background:#fff;
   width:920px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }
   
.category {
   width:164px;
   float:left;
   border-top:8px solid #333333;
   margin:0px;
   padding:5px 10px 15px 10px;
   background:#fff;
    cursor:pointer;
   }

.category p {
   margin:0;
    font-size:11px;
   }

.category span.cat_title, #front-popular h3, #front-list .cat_title, #gallery h3 {
   text-transform:lowercase;
   margin:0;
   font-weight:bold;
   font-size:16px;
   letter-spacing:-0.05em;
   }

#front-list .cat_title {
   font-size:14px;
    margin-bottom:5px;
   }

#front-popular h3 {
   color:#fff;
   }

.more-link {
   display:block;
   margin:15px 0px;
   }

.category a {
   color:#333333;
   display:block;
   background:none;
   }

.category a:hover {
   background:none;
   color:#fff;
   text-decoration:none;
   }

#bottom {
   width: 920px;
   }

#bottom-left {
   float:left;
   }

#bottom-left .meta, #content.archive .meta {
   font-size:10px;
   }

#front-list {
   width:570px;
   padding:10px;
   background:#fff;
   font-size:12px;
   line-height:1.75em;
   margin-bottom:10px;
   border-top:1px solid #ececec;
    }

#front-list blockquote {
   padding: 0px 10px 0 10px;
   }

#front-list .title {
   font:18px Arial;
   font-weight:bold;
   letter-spacing:-0.05em;
    line-height:1.0em;
   }

#front-list .divider {
   margin-left:216px;
   margin-top:0px;
   margin-bottom:0px;
   }

.author {
   font-size:11px;
   font-weight:bold;
   }

.meta {
   color:#333333;
   font-weight:bold;
   }

#headline p, #featured p {
   margin:0;
   }


#paged-list {
   width:570px;
   padding:0px 10px;
   background:#fff;
   font-size:12px;
   line-height:1.75em;
   border-top:1px solid #ececec;
   }

#paged-list .clearfloat {
   background:url(images/dots_content.gif) repeat-x bottom;
    padding-bottom:1px;
   }

.onecolumn {
   line-height:1.5em;
   padding:10px 0px;
   margin:0;
   }

.onecolumn img {
   float:left;
   margin:8px 10px 7px 0px;
   border:1px solid #ccc;
   padding:2px;
   }

.tanbox {
   width:275px;
   line-height:1.5em;
   padding:10px 0px;
   margin:0;
   }

.archive .tanbox {
   width:570px;
   background:url(images/dots_content.gif) repeat-x bottom;
    padding-bottom:1px;
   }

.tanbox img {
   float:left;
   margin:8px 10px 7px 0px;
   border:1px solid #ccc;
   padding:2px;
   }

.tanbox span.title a, .onecolumn span.title a {
   font:14px Arial;
   font-weight:bold;
   }

.tanbox p, .onecolumn p {
   margin:5px 0px;
   }   

#navigation {
   padding:15px 10px;
   background:#fff;
   font-size:12px;
   text-align:center;
   width:550px;
   }


/* Content Page*/

#content {
   width:570px;
   background:#fff;
   padding:10px;
   font-size:12px;
   line-height:1.75em;
   float:left;
   border-top:1px solid #ececec;
   }

.post {
   line-height:1.75em;
   }

.post p {
   margin-top:0px;
   }

.post .clearfloat {
   border-bottom:1px solid #e2e2e2;
   }

.entry ul, .post ol, #front-list ul, #front-list ol {
   margin-bottom:15px;
   }

#content h2.title {
   letter-spacing:-0.05em;
   border-bottom:1px solid #e2e2e2;
   border-top:3px solid #e2e2e2;
   margin-bottom:0px;
   padding:5px 0px;
   color:#000000;
   }

.entry ul li, #front-list ul li {   
   list-style:square;
   margin-left:30px;
   }

.entry ol li, #front-list ol li {   
   list-style:decimal;
   margin-left:30px;
   }

.entry ol li ul li, #front-list ol li ul li {   
   list-style:square;
   margin-left:20px;
   }

.entry img, .post a img, #front-list img {
   border:1px solid #ccc;
   margin:0 10px 5px 0;
   padding:2px;
   }

.entry a {
   text-decoration:underline;
   }

.post .ads {
   margin-top:10px;
   }

#stats {
   margin-bottom:15px;
   padding:8px 0px;
   font:11px Arial;
   display:block;
   border-bottom:1px solid #e2e2e2;
   font-weight:bold;
   }

span#map {
   font-size:11px;
   }

img.centered, a img.centered, img.aligncenter, a img.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

img.alignright, a img.alignright {
   padding: 4px;
   margin: 0 0 2px 7px;
   display: inline;
}

img.alignleft, a img.alignleft {
   padding: 4px;
   margin: 0 7px 2px 0;
   display: inline;
}

.alignright {
   float: right;
}

.alignleft {
   float: left
}


#bio {
    padding:10px;
    background:#efefef;
    margin:20px 0px;
}
#bio p {
    margin:0;
    padding:0;
}

#bio .avatar {
   border:1px solid #ccc;
   margin:0px 10px 5px 0;
   float:left;
   padding:2px;
   width:80px;
   height:80px;
   }   

/* Sidebar*/
#sidebar {
   width:320px;
   float:right;
   margin:0px 0px 0px 0px;
   overflow:hidden;
   }

.spoiler {    
   padding:0px 12px 12px 12px;
   background:#fff;
   border-top:1px solid #ececec;
   margin-bottom:12px;    
   overflow:hidden;
}

.spoiler img {
   border:1px solid #ccc;
   padding:2px;
   margin-right:10px;
   margin-bottom:5px;
   }


.spoiler h3 {
   font:12px Arial, Helvetica, Verdana, Sans-Serif;
      font-weight:bold;    
   color:#fff;    
   margin:0px 0px 8px 0px;    
   padding:3px 10px;
   border-bottom:1px solid #ececec;    }

.spoiler h3 a {
   color:#fff;
   text-decoration:none;
   }

.spoiler p {
   margin:0;
   color:#6d6d6d;
   }

.spoiler h4 {
   font:12px Arial, Helvetica, Verdana, Sans-Serif;
    font-weight:bold;
   margin-bottom:5px;
   }

.spoiler h4 a {
   color:#333333;
   }

#sidebar {
    font-size:11px;
}

#sidebar h3 {
   font:12px Arial, Helvetica, Verdana, Sans-Serif;
   font-weight:bold;
   background:#303030;
   color:#fff;
   margin:10px 0px 5px 0px;
   padding:3px 10px;
   }

#sidebar-top, #sidebar-bottom {
   width:300px;
   float:right;
   padding:0px 10px 10px 10px;
   background:#fff;
   border-top:1px solid #ececec;
   }

#sidebar-bottom, #sidebar-middle {
   margin-top:10px;
   }

#sidebar-middle {
   width:320px;
   float:right;
   }

#sidebar-left {
   width:135px;
   padding:0px 10px 10px 10px;
   float:left;
   background:#fff;
   border-top:1px solid #ececec;
   }

#sidebar-right {
   width:135px;
   padding:0px 10px 10px 10px;
   float:right;
   background:#fff;
   border-top:1px solid #ececec;
   }


#sidebar li {
   list-style:none;
   border-bottom:1px dotted #bbbbbb;
   display:block;
   padding:2px 0px 2px 13px;
   background:url(images/sub.png) no-repeat 0 0px;
   }

#sidebar li ul li {
   border-bottom:0px;
   }

#sidebar-ads {
   width:300px;
   float:right;
   margin-bottom:10px;
   padding:10px;
   background:#fff;
   }

#sidebar h3 img { margin-top:1px; }

/* Form Elements */

select {
   border:1px solid #333333;
   width:100%
   }
   
.submitbutton {
   padding: 2px 5px;
   border:1px solid #aaa;
   background:#fff;
   font-size:11px;
   color:#aaa;
   cursor: pointer;
   }

.submitbutton:hover {
    background:#303030;
    color:#fff;
    }
   
.field {
   padding: 1px;
   border-top:1px solid #bbbbbb;
   border-left:1px solid #bbbbbb;
   border-right:1px solid #eeeeee;
   border-bottom:1px solid #eeeeee;
   background:#fff;
   font-size:11px;
   }

#search .searchbutton {
   padding: 1px;
   border:1px solid #333333;
   background:#fff;
   font-size:11px;
   }

#commentform input {
   width: 140px;
   margin: 5px 5px 0px 0;
   }

#commentform textarea {
   width: 99%;
   margin-top:5px;
   border-top:1px solid #bbbbbb;
   border-left:1px solid #bbbbbb;
   border-right:1px solid #eeeeee;
   border-bottom:1px solid #eeeeee;
   }



/* Comments*/

#comment { width:590px;   background:#fff; }

div#cancel-comment-reply { font-weight:bold; }

#comments ul.commentlist { margin-top:20px; list-style:none; }

#comments ul.commentlist blockquote { background:#ededed; }
   
#comments .clearfloat { background:none; }

#comments div.navigation { padding:5px 0px 20px 0px; font-weight:bold; }

ul.commentlist li.pingback, ul.commentlist li.trackback { display:none; }
ul.commentlist li.comment { color:#4d4d4d; padding: 11px 14px 11px 14px; background:#f2f2f2; list-style:none; margin-bottom:10px; font-size:11px; line-height:18px; border-bottom: 1px solid #dcdbd7; }
ul.commentlist li.comment h3#respond { background:#fff; margin-top:15px; }
ul.commentlist li.comment img.avatar { border:1px solid #ccc; margin:0px 0px 13px 13px; float:right; padding:2px; width:45px; height:45px; }   
ul.commentlist li.comment cite { color:#313228; font-weight:bold; font-size:14px; }
ul.commentlist li.comment div.comment-meta { font-size:10px; margin-top:0px; }
ul.commentlist li.comment div.comment-meta a { color:#4d4d4d; text-decoration:none; }
ul.commentlist li.comment a { text-decoration:underline; }
ul.commentlist li.comment cite a { text-decoration:none; }
ul.commentlist li.comment div.reply { clear:both; display:block; }
ul.commentlist li.comment div.reply a { text-decoration:none; font-weight:bold; }
ul.commentlist li.comment p { margin:15px 0px; padding:0;  }
ul.commentlist li.comment blockquote { width:380px; }

ul.children li.comment { margin-top:15px; color:#4d4d4d; padding: 12px 12px 12px 12px; background:#fff; border:none; list-style:none; margin-bottom:0px; font-size:11px; }

ul.commentlist li.depth-1, ul.children li.depth-3, ul.children li.depth-5, ul.children li.depth-7, ul.children li.depth-9 { background:#f2f2f2; }
ul.children li.depth-2, ul.children li.depth-4, ul.children li.depth-6, ul.children li.depth-8, ul.children li.depth-10 { background:#fff; }

#respond textarea { width:99%; font-size:13px; }
#respond label { font-weight:bold; }
#respond a {text-decoration:none; }
#respond h3 {margin-top:15px; }

li.comment div#respond h3 { display:none; }

/* Footer*/

#gallery {
   font-size:11px;
   color:#333;
   width: 925px;
   background:#dedede;
   margin: 0 auto;
   padding:15px 0px 15px 15px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#gallery #random {
    float:right;
    width:613px;
}

#gallery #random img {
    padding:2px;
    border:1px solid #ccc;
    margin-right:16px;
    margin-bottom:15px;
    background:#fff;
}
#gallery #video {
    float:left;
    width:281px;
    padding-right:15px;
    border-right:1px solid #b0b0b0;
}

#gallery h3 {
    display:block;
    padding-bottom:5px;
}
#front-popular {
   font-size:11px;
   color:#fff;
   width: 910px;
   background:#303030;
   margin: 0 auto;
   padding:15px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#recentpost, #mostcommented {
   width:276px;
   float:left;
   padding:0px 20px 0px 0px;
   border-right:1px solid #808080;
   }

#mostcommented {
   margin-left:20px;
   }

#recent_comments {
   width:276px;
   float:right;
   padding:0px;
   }

#recentpost a, #mostcommented a, #recent_comments a {
   color:#fff;
   }

#recentpost ul, #mostcommented ul, #recent_comments ul {
   margin-top:5px;
   }

#recentpost li, #mostcommented li, #recent_comments li {
   list-style:none;
   background:url(images/dots_footer.gif) repeat-x top;
    padding-top:1px;
   }

#recentpost ul li a, #mostcommented ul li a, #recent_comments ul li a {
   padding:5px;
   display:block;
   text-decoration:none;
   }

#recentpost ul li a:hover, #mostcommented ul li a:hover, #recent_comments ul li a:hover {
   background:#000000;
   color:#fff;
   }

#recentpost ul li:first-child, #mostcommented ul li:first-child, #recent_comments ul li:first-child {
   background:none;
   }


#footer {
   margin: 0 auto;
   width: 920px;
   font-size:10px;
   background:#dedede;
   color:#333333;
   padding:5px 10px;
   border-left:5px solid #fff;
   border-right:5px solid #fff;
   }

#footer a:hover {
   color:#808080;
   }

/* Float Properties*/

.clearfloat:after {
   content:".";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
   }

.clearfloat {
   display: inline-block;
   }


/* Hides from IE-mac \*/
* html .clearfloat {
   height:1%;
   }

*+html .clearfloat {
   height:1%;
   }

.clearfloat {
   display:block;
   }


Thank you.. I wish someone could help me..

Thanks again.
saber210
 
Posts: 4
Joined: Fri Apr 29, 2011 9:32 pm

Re: Im Lost Installing FCG. Help!

Thank you for using the Featured Content Gallery Forum
 

Re: Im Lost Installing FCG. Help!

PostBy admin on Mon May 02, 2011 7:44 am

I need url
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Im Lost Installing FCG. Help!

PostBy saber210 on Wed May 04, 2011 3:19 am

Hello Admin,

Thanks for your reply, I already installed the FCG and put some images on my custom fields like this:

Code: Select all
http://xenph.com/wp-content/uploads/2011/04/rupi-8744-nature-beauty.jpg


My problem is when i tried to check the "randomize post" nothing shows..

and if i specified the post id on the featured content gallery option.. Image shows but theres a loading bar in the middle of the image and the "Featured Content" on the upper box of FCG dont show any post too..

BTW, this is my link: http://xenph.com/

Thank you..
saber210
 
Posts: 4
Joined: Fri Apr 29, 2011 9:32 pm

Re: Im Lost Installing FCG. Help!

PostBy admin on Wed May 04, 2011 7:51 am

some how you have two gallery calls, remove one
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA

Re: Im Lost Installing FCG. Help!

PostBy saber210 on Thu May 05, 2011 12:59 am

Thanks admin.. I never figured that out.. I forgot to remove that one testing..
saber210
 
Posts: 4
Joined: Fri Apr 29, 2011 9:32 pm

Re: Im Lost Installing FCG. Help!

PostBy admin on Thu May 05, 2011 7:16 am

yw
Yelena Khamidullina
Web Applications Developer, iePlexus

1. Check settings to exclude fcg-YOU conflict
2. Try to turn off all your plugins at once to exclude fcg-other plugin conflict
3. Try default theme to exclude fcg-theme conflict
4. Post in this forum to involve me in your troubleshooting. URL is required
User avatar
admin
Site Admin
 
Posts: 4789
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA


Return to General Discussion

Who is online

Users browsing this forum: dolariru, extermely, sungconcaro and 2 guests