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 Wed Sep 15, 2010 7:17 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

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 CrazyMom on Sat Sep 25, 2010 8:52 am

Okay.. I have no clue why this won't work.. I put the code on a few different pages and nothing shows up, I added it to the hedder and I got an error posted on my page... Can someone help..PLEASE....
Here is the headder Code
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?><!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'); ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php if (is_home () ) { bloginfo('name'); } elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
elseif (is_single() ) { single_post_title(); }
elseif (is_page() ) { bloginfo('name'); echo ': '; single_post_title(); }
else { wp_title('',true); } ?></title>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'kubrick'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_head(); ?>
</head>
<body>
<div class="PageBackgroundGlare">
<div class="PageBackgroundGlareImage"></div>
</div>
<div class="Main">
<div class="Sheet">
<div class="Sheet-tl"></div>
<div class="Sheet-tr"><div></div></div>
<div class="Sheet-bl"><div></div></div>
<div class="Sheet-br"><div></div></div>
<div class="Sheet-tc"><div></div></div>
<div class="Sheet-bc"><div></div></div>
<div class="Sheet-cl"><div></div></div>
<div class="Sheet-cr"><div></div></div>
<div class="Sheet-cc"></div>
<div class="Sheet-body">
<div class="Header">
<div class="Header-jpeg"></div>
<div class="logo">
<h1 id="name-text" class="logo-name">
<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div id="slogan-text" class="logo-text">
<?php bloginfo('description'); ?></div>
</div>

</div>
<div class="nav">
<?php wp30_menu(); ?>
<div class="l">
</div>
<div class="r">
<div>
</div>
</div>
</div>


Now after I add the code on the very end I get this message on my Blog
Warning: include(/home/mause/public_html//wp-content/plugins/featured-content-gallery/gallery.php) [function.include]: failed to open stream: No such file or directory in /home/mause/public_html/wp-content/themes/everyday_journaling_pee117/header.php on line 55

Warning: include() [function.include]: Failed opening '/home/mause/public_html//wp-content/plugins/featured-content-gallery/gallery.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mause/public_html/wp-content/themes/everyday_journaling_pee117/header.php on line 55

HERE IS my Page http://www.twoboysonegirlandacrazymom.com and I would love to put it between the sidebars on top of the first message..... Would soooo appreciate if someone can help me
CrazyMom
 
Posts: 1
Joined: Sat Sep 25, 2010 8:47 am

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

PostBy admin on Mon Sep 27, 2010 8:28 am

do you have fcg plugin in wp-content/plugins folder?
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 put the code exactly ? Please help me.

PostBy inayet on Mon Oct 04, 2010 9:30 pm

Hello,

I have read many of your replies to individuals seeking your assistance, however, the place(s) recommended in pasting the Featured Content Gallery code did not work for me.

So, here is the code from the Page.PHP pasted below found in my eDegree° 1.1 theme.
*********************************************************************************************************************
<?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(); ?>


*********************************************************************************************************************
The URL for my website is http://improvingafghanistandistrictgovernments.org

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


Thank you for your help & assistance.
inayet
 
Posts: 1
Joined: Mon Oct 04, 2010 9:23 pm

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

PostBy suzdal on Tue Oct 05, 2010 3:08 am

hi,

this must be best gallery wp plugin however i ll need some help to implement it,

I d like to have gallery showing only in 1 page, but when i go to editor theme (i use socrates theme)

i dont see no page.php as i understand i need to put that line in it,

looking forward, :mrgreen:

Klemen
suzdal
 
Posts: 1
Joined: Tue Oct 05, 2010 2:53 am

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

PostBy admin on Tue Oct 05, 2010 2:36 pm

That theme is not free, I can not download it to see where the problem is
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

Please help with BUG ERROR

PostBy tdot647 on Thu Oct 07, 2010 3:53 pm

With your help I successfully install FCG. But I got some minor set back. I created an image capture to explain.

http://screencast.com/t/z3SP0wswB

Please help me fix it. ty

===========
index.php

<?php
get_header(); ?>
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
<div id="content">

<div id="contentleft">

<div class="postarea">

<?php include(TEMPLATEPATH."/breadcrumb.php");?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>

<div class="date">

<div class="dateleft">
<p><span class="time"><?php the_time('F j, Y'); ?></span> <?php _e("by", 'studiopress'); ?> <?php the_author_posts_link(); ?> &nbsp;<?php edit_post_link(__('(Edit)', 'studiopress'), '', ''); ?> <br /> <?php _e("Filed under", 'studiopress'); ?> <?php the_category(', ') ?></p>
</div>

<div class="dateright">
<p><span class="icomment"><a href="<?php the_permalink(); ?>#respond"><?php comments_number(__('Leave a Comment', 'studiopress'), __('1 Comment', 'studiopress'), __('% Comments'
, 'studiopress')); ?></a></span></p>
</div>

</div>

<div class="clear"></div>

<?php the_content(__('Read more', 'studiopress'));?><div class="clear"></div>

<div class="postmeta">
<p><span class="tags"><?php _e("Tags", 'studiopress'); ?>: <?php the_tags('') ?></span></p>
</div>

<!--
<?php trackback_rdf(); ?>
-->

<?php endwhile; else: ?>

<p><?php _e('Sorry, no posts matched your criteria.', 'studiopress'); ?></p><?php endif; ?>

</div>

<?php if(get_theme_mod('468_ad') == 'Yes') { ?>
<div class="adblock">
<?php echo stripslashes (get_theme_mod('468_code')); ?>
</div>
<?php } else { ?>
<?php } ?>

<div class="comments">
<?php comments_template('',true); ?>
</div>

</div>

<?php include(TEMPLATEPATH."/sidebar.php");?>

</div>

<?php // The main column ends ?>

<?php get_footer(); ?>
tdot647
 
Posts: 5
Joined: Wed Sep 08, 2010 3:23 pm

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

PostBy admin on Fri Oct 08, 2010 8:30 am

you have to put gallery call like this
Code: Select all
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
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 put the code exactly ? Please help me.

PostBy erisen on Tue Oct 19, 2010 5:52 am

Hello,

Im having trouble with the installation of this plugin (no surprise there then).

I think i have it in the correct place, but it will not adjust itself to the height and width i give it in the options. I would like to have it 600px by 400px. It appears to stay fixed at 600px whilst the height is off by about 150px. Extending the width does not do anything but shift the image along to the right?

The next problem is that it pushes my side bar down, i would like to have it at the same level as my sidebar?

The theme im currently using is called simply_indy which i have customised. It did used to have a featured slider carousel also but for some reason stopped working. So i disabled it and have been trying to install your one.

I have pasted the code in here:

Code: Select all
<?php get_header(); ?>
   
<div><?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?></div>

   <div id="content-home">   
<?php if ( !get_option('sindy_featured')) {?>
   <div id="featured">     
   



<?php $fcount = get_option('sindy_featured_count'); $featuredquery = new WP_Query("showposts=$fcount&category_name=Featured"); ?>         
      <h4> Featured: </h4>   
      <div id="prevBtn"><a href="javascript:void(0);"></a></div>   
      <div id="slider">         
         <ul>
            <?php while ($featuredquery->have_posts()) : $featuredquery->the_post(); ?>
            <li>
               <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a></div>
               <div class="stats">
                  <span><?php edit_post_link('(Edit)', '', ''); ?></span>
                  <span>Written By: <?php the_author() ?>&nbsp;on&nbsp;<?php the_time('F j, Y'); ?></span>      
                  <span><?php comments_number('No Comment', 'One Comment', '% Comments' );?></span>      
               </div>
               <?php if ( get_option('sindy_med_featured')) {?>
               <?php get_medium_img($post->ID); ?>
               <?php } else { get_thumbnail($post->ID);}?>
               <?php the_excerpt();?>
            </li>
            <?php endwhile; ?>
         </ul>               
      </div>
      <div id="nextBtn"><a href="javascript:void(0);"></a></div>      
   </div>   
<?php } ?>      


<?php include(TEMPLATEPATH . '/l_sidebar.php'); ?>
   <div id="archive">
   
   <?php while (have_posts()) : the_post(); ?>   
   <div class="clearfloat">   
   <div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>   
   <div class="stats">
      <span><?php edit_post_link('(Edit)', '', ''); ?></span>
      <span>Written By: <?php the_author() ?>&nbsp;on&nbsp;<?php the_time('F j, Y'); ?></span>      
      <span><?php comments_number('No Comment', 'One Comment', '% Comments' );?></span>      
   </div>
   <div class="story">
   <?php if ( !get_option('sindy_thumbnail')) {?>
   <?php get_thumbnail($post->ID); ?>   
   <?php } ?>
   <?php the_excerpt();?>
   </div>
   <div class="tags"><small><?php the_tags( 'Tags: [', ', ', ']'); ?></small></div>   
   </div>

   <?php endwhile; ?>
   
   <div class="navigation">

   <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
         else { ?>

         <div class="right"><?php next_posts_link('Next Page &raquo;') ?></div>
         <div class="left"><?php previous_posts_link('&laquo; Previous Page') ?></div>
         <?php } ?>


   </div>   

   </div>   
</div>
<?php include(TEMPLATEPATH . '/r_sidebar.php'); ?>
<?php get_footer(); ?>


Here are some screen shots also:

Gallery at 600px - 400px

Image

Gallery at 900px - 600px

Image

the site is http://www.yetiinthebasement.com

I wouls appreciate any help or advice you can give, i really wanna get this plugin on my site!

Thanks alot.
erisen
 
Posts: 1
Joined: Tue Oct 19, 2010 5:26 am

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

PostBy jmerr59944 on Fri Nov 05, 2010 2:06 am

Hi, I am using a very basic wordpress template and just want to add the rotating banner to my homepage.

should i be adding the code to the index.php? If so, where exactly should it be added? and more importantly how exactly should it be written?

Code: Select all
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/

get_header(); ?>

      <div id="container">
         <div id="content" role="main">

         <?php
         /* Run the loop to output the posts.
          * If you want to overload this in a child theme then include a file
          * called loop-index.php and that will be used instead.
          */
          get_template_part( 'loop', 'index' );
         ?>
         </div><!-- #content -->
      </div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>


Thanks in advance,
jeremy
jmerr59944
 
Posts: 5
Joined: Fri Nov 05, 2010 2:03 am

PreviousNext

Return to Getting Started

Who is online

Users browsing this forum: No registered users and 0 guests