Hi
First of all congratulations on the plugin. I have been trying to install and get one running for over a month now with no success. Never got any help and instructions were very scarce or non existant. Yours has a great site with details, well explained and a simple plugin interface.
However I am not able to get it running. I suppose it has something to with the code placement, because the rest has all been set. I really need some help cause i have very limited coding knowledge.
This is the info I suppose you need:
I use WP2.9.1, and my url is http://www.maitravelsite.com
The theme I use is Nice Stars
I have the Featured Content Gallery plugin that comes with the theme deactivated
I want the DCG in my static home page, not where my blog posts are (page called Journal)
There is no home.php
This is the code for the index.php
<?php get_header(); ?> <div class="span-24" id="contentwrap">
<div class="span-16">
<div id="content">
<?php if(is_home()) { include (TEMPLATEPATH . '/featured.php'); } ?>
} ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<div class="postdate"><img src="<?php bloginfo('template_url'); ?>/images/date.png" /> <?php the_time('F jS, Y') ?> <img src="<?php bloginfo('template_url'); ?>/images/user.png" /> <?php the_author() ?> <?php if (current_user_can('edit_post', $post->ID)) { ?> <img src="<?php bloginfo('template_url'); ?>/images/edit.png" /> <?php edit_post_link('Edit', '', ''); } ?></div>
<div class="entry">
<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(200,160), array("class" => "alignleft post_thumbnail")); } ?>
<?php the_content(''); ?>
</div>
<div class="readmorecontent">
<a class="readmore" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Read More »</a>
</div>
</div><!–/post-<?php the_ID(); ?>–>
<?php endwhile; ?>
<div class="navigation">
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
<?php } ?>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
</div>
</div>
<?php get_sidebars(); ?>
</div>
<?php get_footer(); ?>
Don't know if you need it, but this is the code for page.php:
<?php get_header(); ?>
<div class="span-24" id="contentwrap">
<div class="span-16">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2 class="title"><?php the_title(); ?></h2>
<div class="entry">
<?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
</div>
</div>
<?php get_sidebars(); ?>
</div>
<?php get_footer(); ?>
I really hope you can help me out as I am going bananas already.
Many thanks in advance.
Federico