Featured Content Gallery | WordPress Plugin | iePlexus

Thesis 1.8 and FCg -help

Downloading, installing, upgrading, and configuring the FCG plugin

Thesis 1.8 and FCg -help

PostBy xapher on Thu May 05, 2011 2:32 pm

Hi... my site is android-review.co.cc


What i have done is

pasted this in customs.php

Code: Select all
function custom_featurebox(){
global $post;
include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php');
}
add_action('thesis_hook_feature_box','custom_featurebox');



and then replaced this


Code: Select all
get_a_post($post_or_page_id); ?>
<div>
<h2><?php the_title() ?></h2>
<?php
if(get_option('gallery-use-featured-content')) {?>
<p><?php $key="featuredtext"; echo get_post_meta($post->ID, $key, true); ?></p>
<?php
} else {
?>
<p><?php the_content_rss('', 0, '', $wordquantity); ?></p>
<?php
}
?>
<a href="<?php the_permalink() ?>" title="Read More"></a>
<img src="<?php $key="articleimg"; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" />
<img src="<?php $key=$imgthumb; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" />
</div>


with this

Code: Select all
get_a_post($post_or_page_id); ?>
<div>
<h2><?php the_title() ?></h2>
<?php $desc = get_the_excerpt();?>
<p><?php echo $desc; ?></p>
<a href="<?php the_permalink() ?>" title="Read More"></a>
<img src="<?php $key="thesis_post_image"; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" />
<img src="<?php $key=$imgthumb; echo get_post_meta($post->ID, $key, true); ?>" alt="<?php $key="alttext"; echo get_post_meta($post->ID, $key, true); ?>" />
</div>


in the gallery.php file of the plugin...

i am able to get only the messages and not any pic... and i am not having any custom fields as seen in the video.. m using wp 3.1.2
screen shots are
http://i56.tinypic.com/2mrdwgp.png
http://i51.tinypic.com/2upsd9v.png


i want to use the fcg plugin in it thesis 1.8...... plss suggest me the correct tutorial to get this working... step by step.. pls help...
xapher
 
Posts: 1
Joined: Thu May 05, 2011 2:16 pm

Re: Thesis 1.8 and FCg -help

Thank you for using the Featured Content Gallery Forum
 

Re: Thesis 1.8 and FCg -help

PostBy admin on Thu May 05, 2011 3:20 pm

1. did fcg work before you changed the gallery.php code?
2. did you provide thesis_post_image custom field after you changed the code?
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