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
How do I get the gallery do display ABOVE the header? PLEASE HELP!
October 19, 2010
10:11 pm
jordanewert
Guest

I'm using thesis 1.8 and the 'custom_functions.php' to try and get this Dynamic Gallery (v. 3.32) 'nav_slider' to be placed above my header and my 'nav_menu' to be placed under my 'header'. I'm using the Exhibit skin for Thesis 1.8. (http://exhibit.wpblogger.com/)For the life of me, about three hours actually, I've done literally everything I can think of with switching hooks and I cant get it to work.

I want it to display in this order:

1.) nav_slider
2.) header
3. )nav_menu

Below is the code as I received it… I would really appreciate someone figuring this out for me. I would be most grateful!

———–

<?php

function custom_bookmark_links() {
global $post;
?>
<ul class="bookmark_links">
<li><a rel="nofollow" href="http://delicious.com/save?url=&lt;?php urlencode(the_permalink()); ?>&amp;title=<?php urlencode(the_title()); ?>" onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url=<?php urlencode(the_permalink()); ?>&amp;title=<?php urlencode(the_title()); ?>', 'delicious', 'toolbar=no,width=550,height=550'); return false;" title="Bookmark this post on del.icio.us">Bookmark this article on Delicious</a></li>
</ul>
<?php
}

remove_action ('thesis_hook_before_header', 'thesis_nav_menu');

function nav_slider() {
if (is_home()){
?>
<div class="nav_slider">
<?php thesis_nav_menu(); ?>
<?php dynamic_content_gallery(); ?></div>
<?php
}
else {
?>
<div class="norm_nav">
<?php thesis_nav_menu(); ?>
</div>
<?php
}
}
add_action('thesis_hook_after_header', 'nav_slider');

remove_action('thesis_hook_footer', 'thesis_attribution');

function wpb_att_link (){
?>
<div class="wpb_att_link">
<p><a href="http://wpblogger.com/category/thesis-theme/skins&q…..>Thesis Skins</a> by WPblogger.com</p>
</div>
<?php
}
add_action ('thesis_hook_footer', 'wpb_att_link');

October 20, 2010
10:25 am
Ade
Admin
Forum Posts: 2493
Member Since:
August 25, 2008
Offline

Hi,

You will probably be better off posting this in the Thesis forums. This is a theme issue rather than a plugin issue.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2010
5:15 pm
jordanewert
Guest

Thanks, I'll see how that goes over there.

Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online: nloronacele
12 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)