Hello,
I did my usual trick of taking a function from content-extensions.php, renaming it with childtheme_override, and then modifying it. I think that's the standard way...
I copied themeatic_nav_below, and renamed it, as follows:
// Action to create the below navigation
function childtheme_override_nav_below() {
if (is_single()) { ?>
<div id="nav-below" class="navigation">
<div class="nav-previous"><?php thematic_previous_post_link() ?></div>
<div class="nav-next"><?php thematic_next_post_link() ?></div>
</div>
<?php
} else { ?>
<div id="nav-below" class="navigation">
<?php if(function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi(); ?>
<?php } else { ?>
<div class="nav-previous"><?php next_posts_link(__('<span class="meta-nav">«</span> Older posts', 'thematic')) ?></div>
<div class="nav-next"><?php previous_posts_link(__('Newer posts <span class="meta-nav">»</span>', 'thematic')) ?></div>
<?php } ?>
</div>
<?php
}
} // end nav_below
add_action('thematic_navigation_below', 'childtheme_override_nav_below', 2);
For some reason, on both single pages and all blog pages, it now doubles-up nav-below. All of the nav-below content appears twice. I'm not sure why this would be. Any ideas?
Thanks.