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
10:11 pm
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=<?php urlencode(the_permalink()); ?>&title=<?php urlencode(the_title()); ?>" onclick="window.open('http://delicious.com/save?v=5&noui&jump=close&url=<?php urlencode(the_permalink()); ?>&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');
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)
Log In
Register
Home

Offline
Dynamic Content Gallery: Have you read the 