Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Where to place code?

awaiting user
UserPost

5:51 am
February 10, 2010


streetmaster

Guest

1

Post edited 5:53 am – February 10, 2010 by streetmaster


First i thank you for this amazing plugin, creator. I plan to donate and everyone else should also because it's truly  fanatic.

My question tho is, where to place the code? I would like to only have it on the homepage. 

my index.php doesnt seem like i can edit. 

Heres my Page Template:

<?php get_footer(); ?>
</div> <!– end contentwrap –>
    <?php get_sidebar(); ?>        </div> <!– end maincontent –>            <?php endif; ?>                           <h2 class='center'>No posts found</h2>                <?php else : ?>         <?php endwhile; ?>                </div>         <?php the_content(''); ?>                                    </div>                                   Posted On: <?php the_time('F j, Y'); ?><br />                      <div class="postdets">            <h2><?php the_title(); ?></h2>                    <div id="page" class="postcontent">                <?php while (have_posts()) : the_post(); ?>                                                                      <?php if (have_posts()) : ?>     <div id="maincontent">
<div id="contentwrap">
<?php get_header(); ?>

The theme can definitely use this plugin also b/c i've seen another site with it. Thank you again admin

5:13 pm
February 10, 2010


Ade

Admin

posts 2384

2

Hi,

Glad you like the plugin. Smile

Can you check the code you posted here? It doesn't look correct to me and I wonder if something went wrong when you pasted it into this thread.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?