Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Dynamic Content Gallery appearing above the header image


  #1  
Old Jun 9, 2011, 03:35 AM
ftf79
 
12 posts · Apr 2009
Hi there. I am testing on a localhost. I want to use the dynamic content gallery on the home page, then display recent posts under it. On searching the forums I found this code and added it at the very beginning of the index.php file:
<?php if( is_home() )
{ ?>
<h2 class="entry-title" style="color:#ee88bb;">Recently ...</h2>
<?php dynamic_content_gallery();
}
Now the DCG displays and moves, but it is above the header image, at the very top of the site rather than under it - I obviously put the code in the wrong place! Thanks for any help. Also, once I get the DCG moved, will the recent posts show up under it?

?>
  #2  
Old Jun 9, 2011, 03:40 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa and WP?
Do you have all BUGFIX's for your version applied? (they can be found in the 'New Version & Updates' forum and sub forum)
--if not, apply them before we go any further and re-test

where EXACTLY did you insert the code in index.php?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 9, 2011, 10:47 AM
ftf79
 
12 posts · Apr 2009
Hi again. I'm using 3.6.7 and 3.1.3 wp. I did apply all the bug fixes in the links you mentioned.

I added the code to the very top of the index.php file - above everything else. I am definitely a novice, but I'd really like to use this plugin!

Thanks so much.
  #4  
Old Jun 10, 2011, 03:40 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
So you added the code as line 1?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
code, dynamic content gallery



Similar Threads
Thread Thread Starter Forum Replies Last Post
Center Dynamic Content Gallery htobor Plugins & Atahualpa 2 Feb 16, 2011 06:06 PM
[SOLVED] Menu gets behing Dynamic Content Gallery GreenCoast Plugins & Atahualpa 5 Nov 8, 2010 10:28 AM
Problem with Atahualpa 3.5 and Dynamic Content gallery 3.3 plaw193 Plugins & Atahualpa 17 Nov 1, 2010 11:44 AM
[SOLVED] Dynamic Content Gallery koinonos Plugins & Atahualpa 7 Aug 18, 2010 04:35 PM


All times are GMT -6. The time now is 07:56 PM.


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