Featured Content Gallery | WordPress Plugin | iePlexus

FCG Working but Blog Posts Show

Downloading, installing, upgrading, and configuring the FCG plugin

FCG Working but Blog Posts Show

PostBy fcartlidge on Tue Mar 09, 2010 4:29 pm

Thanks for a great plug-in! I have pasted the code into the index.php, however the actual posts that the articleimg was put in show beneath it. I am using the WooTheme Canvas. Here is what it looks like now. http://panamaadvisoryinternationalgroup.com/blog How can I get just the FCG and not the actual posts? Thanks for your assistance!

I tested this on the WP default theme and it still shows the posts below the slideshow.

I put the code on line 7 after <div id="main-sidebar-container">:
Code: Select all
<?php get_header(); ?>
<?php global $woo_options; ?>

    <!-- #content Starts -->
   <?php woo_content_before(); ?>
    <div id="content" class="col-full">

       <div id="main-sidebar-container">

               <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>

            <!-- #main Starts -->
            <?php woo_main_before(); ?>
            <div id="main">     
             
            <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("paged=$paged"); ?>
            <?php if (have_posts()) : $count = 0; ?>
            <?php while (have_posts()) : the_post(); $count++; ?>
                                                                         
                <!-- Post Starts -->
                <?php woo_post_before(); ?>
                <div <?php post_class(); ?>>
   
                    <?php woo_post_inside_before(); ?>
   
                    <?php woo_image('width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align']); ?>
                   
                    <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
                   
                    <p class="post-meta">
                        <span class="small"><?php _e('by', 'woothemes') ?></span> <span class="post-author"><?php the_author_posts_link(); ?></span>
                        <span class="small"><?php _e('on', 'woothemes') ?></span> <span class="post-date"><?php the_time($GLOBALS['woodate']); ?></span>
                        <span class="small"><?php _e('in', 'woothemes') ?></span> <span class="post-category"><?php the_category(', ') ?></span>
                    </p>
                   
                    <div class="entry">
                        <?php if ( $woo_options['woo_post_content_home'] == "true" ) the_content(); else the_excerpt(); ?>
                    </div>
   
                    <div class="post-more">       
                        <span class="read-more"><a href="<?php the_permalink() ?>" title="<?php _e('Read full story','woothemes'); ?>"><?php _e('Read full story','woothemes'); ?></a></span> &bull;             
                        <span class="comments"><?php comments_popup_link(__('Comments { 0 }', 'woothemes'), __('Comments { 1 }', 'woothemes'), __('Comments { % }', 'woothemes')); ?></span>
                    </div>                       
   
                    <?php woo_post_inside_after(); ?>
   
                </div><!-- /.post -->
                <?php woo_post_after(); ?>
                                               
            <?php endwhile; else: ?>
                <div class="post">
                    <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
                </div><!-- /.post -->
            <?php endif; ?> 
       
                <?php woo_pagenav(); ?>
                   
            </div><!-- /#main -->
            <?php woo_main_after(); ?>
   
            <?php get_sidebar(); ?>
           
      </div><!-- /#main-sidebar-container -->         

      <?php get_sidebar('alt'); ?>

    </div><!-- /#content -->
   <?php woo_content_after(); ?>
   
      
<?php get_footer(); ?>
fcartlidge
 
Posts: 6
Joined: Mon Dec 07, 2009 12:05 pm

Re: FCG Working but Blog Posts Show

Thank you for using the Featured Content Gallery Forum
 

Re: FCG Working but Blog Posts Show

PostBy admin on Thu Mar 11, 2010 8:23 am

Can you put gallery call in place for me to see what you are talking about?
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: 4738
Joined: Fri Jan 16, 2009 9:29 am
Location: Seattle, WA


Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests