Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using Wordpress with Thesis 2 installed and I'm building my own design onto the "Blank" skin.

I want to use the Dynamic Content Gallery Plugin on the home page only. I'm using this code to load it (taken from their website, and inserting it into the custom.php file.)

<?php dynamic_content_gallery(); ?>

This will load the plug in on all pages including the Thesis backend, obviously bad. So I've tried using

<?php if( is_home() ) { dynamic_content_gallery(); } ?>


<?php if( is_front_page() ) { dynamic_content_gallery(); } ?>

and neither of these load it at all. I'm pretty lost. I'm using a static front page and the latest version of Wordpress.

share|improve this question

put on hold as off-topic by Pieter Goosen, toscho 2 days ago

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Go to "Dynamic Content Gallery Configuration". Click the tab "Load Scripts". Configure where you want to show the slider

Read more here

"How to choose the correct theme template when adding the plugin code"


"How to configure the Restrict Script loading options"

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.