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.
Topic RSS
fixed
3:39 pm
December 10, 2011
OfflineI am lost for the last 5 hours to make this plugin work :-(
If I use the widget it works fine, but if I want to put it in the front-static-page I fail to do so (or in any page actually). I am new to wordpress so I need help.
1. I installed XAMPP and wordpress locally.
2. I am using the standard twenty-eleven template.
3. I installed the plugin (it works as a widget fine).
4. I edited pages.php (the standart template is missing the home.php) and added this lines:
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
get_header(); ?>
<div id="primary">
<div id="content" role="main">
<?php dynamic_content_gallery(); ?>
<?php the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
…
I also tried to condition it with is_front_page() but it failed too.
Any suggestion?
Thanks,
Hanan
Most Users Ever Online: 28
Currently Online: nloronacele
10 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
johnbroome: 13
speedyp: 12
sjpeaches: 12
CherylMcL: 10
gscorp: 8
lsnoei: 8
Member Stats:
Guest Posters: 770
Members: 1300
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 7
Topics: 980
Posts: 4299
Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert
Moderators:
Administrators: Ade (2493)
Log In
Register
Home

Dynamic Content Gallery: Have you read the 