I built a new site and the FCG was working earlier, but then I started playing around with the codes in home.php to try and make the categories boxes fit around the FCG better. I just made things worse, so I cut and pasted the original codes back into the home.php file and now the FCG doesn't work. my site is http://www.ehelpsavemarriage.com. Here is the some of the code to the home.php
<?php get_header(); ?>
<div id="content">
<div id="homepage">
<?php // Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing ?>
<?php if (function_exists('gallery_styles')) : ?>
<div id="homepagetop">
<div class="featuredtop">
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
</div>
</div>
<?php endif; ?>
<div id="homepageleft">
<div class="hpfeatured">
<h3><?php echo cat_id_to_name(get_theme_mod('featured_top_left')); ?></h3>
<?php $recent = new WP_Query("cat=".get_theme_mod('featured_top_left')."&showposts=".get_theme_mod('featured_top_left_num')); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumb", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img class="thumb" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&h=<?php echo get_theme_mod('featured_top_left_thumb_height'); ?>&w=<?php echo get_theme_mod('featured_top_left_thumb_width'); ?>&zc=1" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<?php endif; ?>
<strong><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong>
<?php the_content_limit(80, ""); ?>
<hr/>
<?php endwhile; ?>
<?php $cat = get_category(get_theme_mod('featured_top_left')); ?>
<strong><a href="<?php echo get_category_link(get_theme_mod('featured_top_left')); ?>" rel="bookmark"><?php echo __("Read More Posts From ", 'studiopress')." ".$cat->name; ?></a></strong>
</div>
</div>
<div id="homepageright">
<div class="hpfeatured">
<h3><?php echo cat_id_to_name(get_theme_mod('featured_top_right')); ?></h3>
<?php $recent = new WP_Query("cat=".get_theme_mod('featured_top_right')."&showposts=".get_theme_mod('featured_top_right_num')); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumb", true) ): ?>
<a href="<?php the_permalink() ?>" rel="bookmark"><img class="thumb" src="<?php bloginfo('template_directory'); ?>/tools/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&h=<?php echo get_theme_mod('featured_top_right_thumb_height'); ?>&w=<?php echo get_theme_mod('featured_top_right_thumb_width'); ?>&zc=1" alt="<?php the_title(); ?>" /></a>
<?php else: ?>
<?php endif; ?>
<strong><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong>
<?php the_content_limit(80, ""); ?>
<hr/>
<?php endwhile; ?>
<?php $cat = get_category(get_theme_mod('featured_top_right')); ?>
<strong><a href="<?php echo get_category_link(get_theme_mod('featured_top_right')); ?>" rel="bookmark"><?php echo __("Read More Posts From ", 'studiopress')." ".$cat->name; ?></a></strong>
</div>
</div>
FCG Not Working - Only White Box
2 posts • Page 1 of 1
Re: FCG Not Working - Only White Box
I deactivated all of the plugins and then reactivated the FCG, and now it works. Unfortunately, the FCG will not work with as long as any of the other plugins are activated. Can you tell me what could be the problem? How can I fix this? Should I delete all of the plugins and then download them again.
- Missyox
- Posts: 2
- Joined: Fri Nov 05, 2010 11:35 pm
2 posts • Page 1 of 1
Return to Development, Improvement, and Conflicts
Who is online
Users browsing this forum: No registered users and 0 guests









