Featured Content Gallery | WordPress Plugin | iePlexus

where should I exactly paste the code line ? thank you !

Downloading, installing, upgrading, and configuring the FCG plugin

where should I exactly paste the code line ? thank you !

PostBy nicogiraudon on Mon Apr 18, 2011 10:16 pm

Hello all,

Thanks again for this great plug in and all the enhancements made. I love it.

Where should I paste the line of code in my post template below so that the carousel would be seen at the end of every post ?

<?php
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/

get_header();
?>
<?php get_sidebar(); ?>
<div id="container">
<div id="content" role="main">
<div id="breadcrumb">
<a title="<?php _e('Home Page','default'); ?>" href="<?php echo bloginfo('url'); ?>/"><?php _e('Home','default'); ?></a> /
<a title="<?php _e('Goto Blog','default'); ?>" href="<?php echo get_settings('home'); ?>/"><?php _e('Blog','default'); ?></a>
/ <?php the_category(','); ?>
/ <?php the_title(); ?>
</div>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-date">
<?php echo get_the_date();?>
</div><!-- .entry-meta -->
<h1 class="entry-title"><?php the_title(); ?>

<iframe class="postfb" src="http://www.facebook.com/plugins/like.php?href=<?php echo $post->guid; ?>&layout=button_count&amp;show_faces=true&amp;width=80&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:20px;" allowTransparency="true"></iframe>
<a href="http://twitter.com/share" class="twitter-share-button" data-url="<?php echo $post->guid;?>" data-text="<?php echo $post->post_title;?> <?php bloginfo('name'); ?>" data-count="horizontal" data-via="buymedesign">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
</h1>
<div class="location"><?php get_space($post->ID);?></div>


<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'buymedesign' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->

<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
<div id="entry-author-info">
<div id="author-avatar">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'buymedesign_author_bio_avatar_size', 60 ) ); ?>
</div><!-- #author-avatar -->
<div id="author-description">
<h2><?php printf( esc_attr__( 'About %s', 'buymedesign' ), get_the_author() ); ?></h2>
<?php the_author_meta( 'description' ); ?>
<div id="author-link">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
<?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'buymedesign' ), get_the_author() ); ?>
</a>
</div><!-- #author-link -->
</div><!-- #author-description -->
</div><!-- #entry-author-info -->
<?php endif; ?>


</div><!-- #post-## -->

<?php comments_template( '', true ); ?>

<?php endwhile; // end of the loop. ?>

</div><!-- #content -->
</div><!-- #container -->
<?php include('siderbar-right.php')?>
<br class="clear"/>
<?php get_footer(); ?>
nicogiraudon
 
Posts: 4
Joined: Mon Apr 18, 2011 6:13 pm

Re: where should I exactly paste the code line ? thank you !

Thank you for using the Featured Content Gallery Forum
 

Re: where should I exactly paste the code line ? thank you !

PostBy admin on Tue Apr 19, 2011 7:46 am

the gallery call need to be in single.php file.. if the code you provided is single.php, then
to see the gallery after the post, try to put the gallery call before
Code: Select all
</div><!-- #content -->

or before
Code: Select all
</div><!-- #container -->
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: where should I exactly paste the code line ? thank you !

PostBy nicogiraudon on Tue Apr 19, 2011 10:08 pm

Hello thanks for this.

When I go to the Worpdpress editor for my theme, I copy and paste the line of code but when I ask for the update, then it displays a

The connection was reset







The connection to the server was reset while the page was loading.





The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

Any idea why ?

thnaks for your help.

best,
nicogiraudon
 
Posts: 4
Joined: Mon Apr 18, 2011 6:13 pm

Re: where should I exactly paste the code line ? thank you !

PostBy nicogiraudon on Wed Apr 20, 2011 6:28 am

Hello,

I posted the code as recommended
or before

Code: Select all
</div><!-- #container -->

I have an empty rectangle at the end of my post.

I disabled another gallery plugin but no change.

All my config seems ok.

What can I do next ?

thanks again for your time, please find hereby the link to my posts.

check the slideshow slot below the post after the comments.

http://www.buymedesign.com/blog/summer- ... artessorio

thanks for your support.

Cheers, Nicolas
nicogiraudon
 
Posts: 4
Joined: Mon Apr 18, 2011 6:13 pm

Re: where should I exactly paste the code line ? thank you !

PostBy admin on Wed Apr 20, 2011 8:57 am

try to disable
Plugin: W3 Total Cache
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: where should I exactly paste the code line ? thank you !

PostBy nicogiraudon on Wed Apr 20, 2011 8:03 pm

Hello,

I disable both W3 and the WordPress video player.

It doesn't change anything.

I have prepared for you a pdf with all the screen shots of the configuration, codes and so on.

Please have a look.
http://www.yousendit.com/download/VnBxRm8vYWJUWUR2Wmc9PQ

Once more I really appreciate your help on this.

All my best,

Nicolas
nicolas@ngiraudon.com
nicogiraudon
 
Posts: 4
Joined: Mon Apr 18, 2011 6:13 pm

Re: where should I exactly paste the code line ? thank you !

PostBy admin on Thu Apr 21, 2011 7:26 am

some of the plugins,widget or your theme have a conflict, try to disable other plugins, widgets and change your theme to default
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 Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests

cron