Featured Content Gallery | WordPress Plugin | iePlexus

Where should i put the code exactly ? Please help me.

Downloading, installing, upgrading, and configuring the FCG plugin

Re: Where should i put the code exactly ? Please help me.

PostBy admin on Thu May 27, 2010 10:40 am

did you specify articleimg custom field with image url for your posts in gallery?
also, where do you have the gallery call, in what file?
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

Re: Re: Where should i put the code exactly ? Please help me.

Thank you for using the Featured Content Gallery Forum
 

Re: Where should i put the code exactly ? Please help me.

PostBy dzl2010 on Mon Jun 07, 2010 8:01 pm

Hi I have the edegree theme by top blog formula this is my page.php code can someone help me by telling me where to paste the code? thanks in advance!

<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php //Homepage
/*if(is_front_page()) {
?>
<div class="home-content">
<?php the_content()?>
</div>
<?php
} else {*/ //Subpages ?>
<div class="page">
<h2 class="catheader"><?php the_title(); ?></h2> <?php edit_post_link(' Edit', '<span class="editpost">', '</span>'); ?>

<div class="page-content">
<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>

<?php comments_template(); ?>
</div>
<?php //} ?>

<?php endwhile; endif; ?>
<?php get_footer(); ?>
dzl2010
 
Posts: 1
Joined: Mon Jun 07, 2010 7:57 pm

Re: Where should i put the code exactly ? Please help me.

PostBy Snoopy on Thu Jun 10, 2010 1:19 pm

I am another person having problems get FCG to work. I am using the intrepidity theme. I see that this theme has the code already added into the home.php so I am not sure why nothing is showing up on my blog. My site can be found at
http://www.reddeershuttle.com/blog

I have added the articleimg and the links to these images in more then three pic and I do even get a box of any kind.

Where might I be going wrong? Watch the video three times, searched the Forum, but with no luck find my answer to my problems
User avatar
Snoopy
 
Posts: 4
Joined: Thu Jun 10, 2010 1:12 pm

Re: Where should i put the code exactly ? Please help me.

PostBy admin on Thu Jun 10, 2010 3:43 pm

check fcg plugin and wp-content folder permissions, should 755
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

Re: Where should i put the code exactly ? Please help me.

PostBy Snoopy on Thu Jun 10, 2010 7:05 pm

thnx for the quick response and both this are set to the 755 permission
User avatar
Snoopy
 
Posts: 4
Joined: Thu Jun 10, 2010 1:12 pm

Re: Where should i put the code exactly ? Please help me.

PostBy admin on Fri Jun 11, 2010 8:15 am

ok, then talk to your host and ask why
http://reddeershuttle.com/blog/wp-conte ... ry.css.php
and
http://reddeershuttle.com/blog/wp-conte ... ery.js.php
files show 500 internal server error when you access them directly through the browser, like they do not exist at all..but they exist
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

Re: Where should i put the code exactly ? Please help me.

PostBy dev93 on Tue Jul 06, 2010 7:49 pm

Hi all,

This is the first time I am doing this. And am trying it out on a test site, http://twl-test.travelwritelive.com/

As you can see the box seems to be where I want it, but it is not pulling the content, so I have my doubts that I have added it correctly.

I put it in the index.php

Code: Select all
<?php get_header(); ?>

[b]<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>[/b]
   
<?php if (is_archive()) $post_number = get_option('lightbright_archivenum_posts');
if (is_search()) $post_number = get_option('lightbright_searchnum_posts');
if (is_tag()) $post_number = get_option('lightbright_tagnum_posts');
if (is_category()) $post_number = get_option('lightbright_catnum_posts');
if (is_home()) $args=array(
                  'showposts'=>get_option('lightbright_homepage_posts'),
                  'paged'=>$paged,
                  'post_type' => array('note','photo','quote','video','customlink','audio','post')
               ); ?>

<?php global $query_string;
if (is_category()) query_posts($query_string . "&showposts=$post_number&paged=$paged&cat=$cat");
elseif (is_home()) query_posts($args);
elseif (is_author()) {
   $qstring_array = array();
   parse_str($query_string,  $qstring_array);
   query_posts(array('showposts' => $post_number,'paged'=>$paged,'post_type' => array('note','photo','quote','video','customlink','audio'),'author'=>$qstring_array["author"])) ; }
else query_posts($query_string . "&showposts=$post_number&paged=$paged"); ?>

<?php
if (isset($_REQUEST["post_type"])) {
   $args=array(
      'showposts'=> get_option('lightbright_archive_customposts'),
      'paged'=>$paged,
      'post_type' => $_REQUEST["post_type"]
   );
   query_posts($args);
}; ?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
   <?php include(TEMPLATEPATH . '/includes/entry.php'); ?>
            
<?php endwhile; ?>

   <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
      else { ?>
         <?php include(TEMPLATEPATH . '/includes/navigation.php'); ?>
   <?php } ?>

<?php else : ?>
   <?php include(TEMPLATEPATH . '/includes/no-results.php'); ?>
<?php endif; wp_reset_query(); ?>                  
            
            
   </div> <!-- end #main-area -->
   
   <?php get_sidebar(); ?>
            
<?php get_footer(); ?>


Picture 1.png
Picture 1.png (134.53 KiB) Viewed 511 times


Any ideas why it is not working? Or what I should try next?
dev93
 
Posts: 2
Joined: Tue Jul 06, 2010 7:40 pm

Re: Where should i put the code exactly ? Please help me.

PostBy admin on Wed Jul 07, 2010 8:34 am

you have jquery conflict
in your view source this line makes a conflict
<script type='text/javascript' src='http://twl-test.travelwritelive.com/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
try to turn off other plugins and change theme to default the see what is causing the conflict
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

Re: Where should i put the code exactly ? Please help me.

PostBy dev93 on Wed Jul 07, 2010 9:17 am

Hi Yelena,

Thank you so much for getting back with me.

I returned everything to default and have disabled the two plugins I was using, still no change. I know everything else is set up correctly as I have just taken setting for this same plugin from another site where this plugin works great.

Any suggestions for a work around to get the slider to work? I assume taking out the bit of conflicting code in the theme will make the theme not work, correct.

Thanks again,
devin
dev93
 
Posts: 2
Joined: Tue Jul 06, 2010 7:40 pm

Re: Where should i put the code exactly ? Please help me.

PostBy admin on Wed Jul 07, 2010 1:35 pm

I think your theme is conflicting..menu with moving dropdowns works on jquery..only suggestion change the theme
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

PreviousNext

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests