![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#4
|
|||
|
|||
|
Hi Ade
I know figured it out how to add that code to the functions.php and done that. Seems all OK but still the plugin doesn't work. I'm suspecting it's how I added the code to the homepage. Currently this is where I placed the code on home.php. <?php get_header(); ?> <div id="content"> <div id="homepage"> <?php // Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing ?> <?php if (function_exists('gallery_styles')) : ?> <div id="homepagetop"> <div class="featuredtop"> <?php dynamic_content_gallery(); ?> Is that the right spot to place the code? Also might the problem be the code above highlighted in red? When I remove that code it doesn't display the page properly, but do I need to amend it somehow or place the DCG code elsewhere? Appreciate your help. As you can tell I'm a complete novice to this and quite a bit out of my depth. I noticed that you are in Geneva. I'm actually Swiss myself but living in Australia... OK hope you can help me with the above. Cheers, Reto |
| Tags |
| dcg, functions.php |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Editor Box | Deborrah | General Discussion | 3 | 05-20-2010 11:21 AM |
| damaged Theme functions ( functions.php) | andymac71 | General Discussion | 4 | 05-01-2009 12:06 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us