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...









