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.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
help please
Status: fixed
December 10, 2011
3:39 pm
chanansh
New Member
Forum Posts: 2
Member Since:
December 10, 2011
Offline

I 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:

<?php
/**
* 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

December 12, 2011
8:31 am
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

Hi,

What doesn't work exactly when you use the code you posted? Does the gallery appear?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

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)