Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

[SOLVED] Dynamic Content Gallery


  #1  
Old Aug 12, 2010, 07:39 AM
koinonos
 
22 posts · Jul 2010
UK
Hello

I'm trying to use Dynamic Content Gallery with my Atahualpa 3.5.3 based website: http://www.gloucestershiresymphony.org.uk/.

I've tried using the instructions, but I think I'm missing a step.

Please could someone let me know:
1) What code I need to put in the template.
2) Which template to put it in (Centre Column Under the Loop or index.php after get_header(); ?>)?
3) Where to put the image files?
4) What code (if any) I need to put in the page to display the Gallery?

Thank you.
  #2  
Old Aug 12, 2010, 08:21 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
I just installed this on a site and used the widget in a new widget area I created. In my case I wanted it to show above the posts so I put the Add New Widget Area code in ATO>Style & edit Center Column>Content Above the Loop. Then I just used the plugin settings for setting the size etc. The setting page also has instructions on using with Posts or Pages. In my case I used Pages and the image is set when editing a page.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 18, 2010, 10:56 AM
slpatters
 
6 posts · Aug 2010
Please understand that I'm new to both Atahualpa. I have Dynamic Content Gallery working on the TwentyTen theme, but can't get it to work right on Atahualpa. Is it possible to get Dynamic Content Gallery to only show on main page and not other pages?

WordPress 3.0.1
Atahualpa 3.5.3
Dynamic Content Gallery 3.2.3

Thanks for all your help!!
  #4  
Old Aug 18, 2010, 11:34 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
slpatters - There is a setting in Dynamic Content Gallery to put it just on the home page.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Aug 18, 2010, 11:54 AM
slpatters
 
6 posts · Aug 2010
It works following their directions with TwentyTen (adding the following to home.php), but there isn't a home.php in Atahuapla.

PHP Code:
<?php dynamic_content_gallery(); ?>
is added as shown below:

PHP Code:
<?php
/**
 * The main template file.
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query. 
 * E.g., it puts together the home page when no home.php file exists.
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

<div id="container">
  <div id="content" role="main">
      <div id="gallery">
        <!--
        <hr style="color:#ee88bb;background-color:#ee88bb;height:10px;border:none;width:100%" /></center>
        -->
        <h2 class="entry-title" style="color:#ee88bb;">Recently...</h2>
        <?php dynamic_content_gallery(); ?>
       <center><hr style="color:#ee88bb;background-color:#ee88bb;height:10px;border:none;width:100%" /></center>
              
      </div><!-- #gallery -->
    
    <?php
        
/* Run the loop to output the posts.
         * If you want to overload this in a child theme then include a file
         * called loop-index.php and that will be used instead.
         */
         
get_template_part'loop''index' );
    
?>
  </div><!-- #content -->
</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer
(); ?>
  #6  
Old Aug 18, 2010, 12:54 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
But you can put that code in ATO>Style & edit Center Column>Content ABOVE the LOOP. Just paste it above all the other code that is there.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Aug 18, 2010, 03:12 PM
slpatters
 
6 posts · Aug 2010
I must be doing something wrong or I don't "get" it (probably the latter or both) because the page goes blank. I'd share, but it's on my local machine not on internet accessible site.
  #8  
Old Aug 18, 2010, 05:35 PM
slpatters
 
6 posts · Aug 2010
I got it working! Thank you for your help!!!!

To get it to only put it on the home page, I added the following:
PHP Code:
if( is_home() ) 
So the whole block, including a header is:
PHP Code:
<?php if( is_home() ) 
  { 
?>
    <h2 class="entry-title" style="color:#ee88bb;">Recently ...</h2>
    <?php dynamic_content_gallery();
  }
?>
Thanks again!!

Bookmarks

Tags
dynamic content gallery, plug in

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Content Gallery + Atahualpa 3.5.1 + Wordpress 3.0 DOESN't Work sweeper240 Plugins & Atahualpa 3 Jul 5, 2010 05:02 PM
Featured Content Gallery and 3.4.2 mattalter Plugins & Atahualpa 6 Dec 10, 2009 04:47 PM
Featured Content Gallery strangelove Plugins & Atahualpa 43 Oct 24, 2009 03:05 PM


All times are GMT -6. The time now is 09:31 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.