Ik wil ook graag de
featured content gallery gaan gebruiken maar ik stuit nog op een aantal probleempjes. Kan iemand me hiermee helpen?
Hier mijn website:
http://www.tuin-parasols.nl/webshop/Ik zal even uitleggen wat de bedoeling is:
ik wil graag op
uitsluitend op de home pagina de featured content gallery, en dus niet op de rest van de pagina's. Maar dit gebeurd nu wel, hoe dat kan weet ik niet?
ik heb bij pagina's - webshop - extra velden - articleimg (handmatig toegevoegd en in het vak ernaast de url van het plaatje) maar de plaatjes worden niet weergeven.
en ik heb deze site als instructie gebruikt:
http://www.featuredcontentgallery.com/install-setup/en hier hoe ik het het ingesteld bij feature content gallery configuration:
http://img535.imageshack.us/img535/6595/featuredcontentconfigur.jpgEn de pagina's geven ook een foutmelding weer, doordat er iets niet goed is. Ik heb de php code:
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
gewoon ergens in de page.php van mijn theme geplakt maar of dat goed is? als volgt:
quote:
<?php get_header(); ?>
<div id="leftandright">
<div id="leftcontent">
<?php if (have_posts()) : ?>
<div class="single_post">
<?php while (have_posts()) : the_post(); ?>
<div class="thetitle">
<h1><?php the_title(); ?></h1></div>
<?php
$delightb_postimage_disable = get_option('delightb_postimage_disable');
if ($delightb_postimage_disable != 'true') {
$rs_image_key = 'image';
$thereisimage = get_post_meta($post->ID, $rs_image_key, true);
if($thereisimage) {
?>
<div class="post_image">
<img alt="Post image of <?php the_title(); ?>" title="<?php the_title(); ?>" src="<?php echo
$thereisimage; ?>" />
</div>
<?php
}
}
?>
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
<div class="post_details">
<span class="right"><a href="#respond"><?php echo $post->comment_count; ?> comments</a></span>
<div class="clear"></div>
</div>
<div class="the_content">
<?php the_content(); ?><div class="clear"></div>
</div><!--/the_content-->
<?php wp_link_pages('before=<div id="multipage-links">Pages : &after=</div>'); ?>
<div class="after_post_details">
<span class="left">Posted by <?php the_author(); ?> @ <?php the_time('j F Y') ?
></span>
<span class="right"><a href="#respond" class="commentcount"><?php echo $post->comment_count; ?>
comments</a></span>
<div class="clear"></div>
<span class="left"><?php the_tags('Tags : ', ' , ', ''); ?></span>
<span class="right adminedit"><?php edit_post_link('Edit This Post','',''); ?></span>
<div class="clear"></div>
</div>
<?php
$zenverse_global_adsense_id = get_option('zenverse_global_adsense_id');
$delightb_adsense_afterpost_enable = get_option('delightb_adsense_afterpost_enable');
if ($zenverse_global_adsense_id && $delightb_adsense_afterpost_enable == 'true'){
?>
<div class="blogsep"></div>
<div class="adsense-afterpost">
<script type="text/javascript">
//<![CDATA[
google_ad_client = "pub-<?php echo $zenverse_global_adsense_id; ?>";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "f5f5f5";
google_color_bg = "f5f5f5";
google_color_link = "555555";
google_color_text = "555555";
google_color_url = "444444";
google_ui_features = "rc:0";
//]]>
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>
<?php } ?>
<?php
$delightb_socialbookmark_page_enable = get_option('delightb_socialbookmark_page_enable');
if ($delightb_socialbookmark_page_enable == 'true') {
?>
<div class="blogsep"></div>
<div class="extra_content">
<h3>Share This Post</h3>
<div class="socialbmark">
<a title="RSS" href="<?php bloginfo('rss2_url');?>"><img src="<?php bloginfo('template_url');?
>/images/sb_rss.gif" alt="RSS" /></a>
<a title="Digg" href="http://digg.com/submit?url=<?php the_permalink() ?>"><img src="<?php
bloginfo('template_url');?>/images/sb_digg.gif" alt="Digg" /></a>
<a title="Twitter" href="http://twitter.com/home?status=Currently%20reading%20<?php
the_permalink() ?>"><img src="<?php bloginfo('template_url');?>/images/sb_twitter.gif" alt="Twitter"
/></a>
<a title="StumbleUpon" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?
>"><img src="<?php bloginfo('template_url');?>/images/sb_su.gif" alt="StumbleUpon" /></a>
<a title="Delicious" href="http://del.icio.us/post?url=<?php the_permalink() ?>"><img src="<?php
bloginfo('template_url');?>/images/sb_del.gif" alt="Delicious" /></a>
<a title="Technorati" href="http://www.technorati.com/faves?add=<?php the_permalink() ?>"><img
src="<?php bloginfo('template_url');?>/images/sb_techno.gif" alt="Technorati" /></a>
</div>
</div>
<?php
}
?>
<div class="blogsep"></div>
<div class="extra_content">
<h3 class="left"><?php echo $post->comment_count; ?> Comments</h3>
<?php if ( comments_open() ) : ?>
<div class="replyjump"><a rel="nofollow" href="#reply">Add Comment</a></div>
<?php endif; ?>
<div class="clear"></div>
</div>
<?php comments_template();?>
</div><!--/single_post-->
<?php
endwhile;
?>
<?php
else :
?>
<div class="single_post">
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
</div>
<?php
endif;
?>
</div><!--/leftcontent-->
<?php get_sidebar(); ?>
<div class="clear"></div>
</div><!--/leftandright-->
<?php get_footer(); ?>
Weet iemand wat ik fout doe? alvast bedankt!!