Where to insert code for slideshow plugin?
-
Hi, I’d like to use “Dynamic Content Gallery” on the static front page of my site, but I´ve no idea which index.php
to add this code to:-
The instructions say to add it to page.php of my theme. In page.php there is following code in it:
<?php
get_header();
if (have_posts())
{
while (have_posts())
{
art_post();
comments_template();
}
} else {
art_not_found_msg();
}
get_footer();
I´ve added in the first line:
<?php if( is_front_page() ) {
dynamic_content_gallery();
} ?>The DCG didn´t show up!
Would be very greatful of any help
The topic ‘Where to insert code for slideshow plugin?’ is closed to new replies.