• I’m not sure if it’s possible, and not sure how to go about installing it on it. Any help would great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter decoymer

    (@decoymer)

    A bit difficult of a question to answer, I know!

    I tried to replace the “thematic_next_post_link”s with “next_post_smart()” in the “content-extensions.php”, same thing with previous. When I tried that out it made the page not work and go white, not sure if I did it right or what else I should do. :/

    Thread Starter decoymer

    (@decoymer)

    Anyone by any chance know anything about this?

    Hey Decoymer, all you need to do is add this to functions.php:

    function remove_post_navigation() {
    	remove_action('thematic_navigation_below', 'thematic_nav_below', 2);
            remove_action('thematic_navigation_above', 'thematic_nav_above', 2);
    }
    add_action('init', 'remove_post_navigation');
    
    // Action to create the new below navigation
    function childtheme_nav_below() { ?>
    			<div id="nav-below" class="navigation">
    				<div class="nav-previous"><?php previous_post_smart('&laquo; %link', '%title', true, true); ?></div>
    				<div class="nav-next"><?php next_post_smart('&laquo; %link', '%title', true, true); ?></div>
    			</div>
    <?php }
    add_action('thematic_navigation_below', 'childtheme_nav_below', 2);
    
    // Action to create the new above navigation
    function childtheme_nav_above() { ?>
    			<div id="nav-above" class="navigation">
    				<div class="nav-previous"><?php previous_post_smart('&laquo; %link', '%title', true, true); ?></div>
    				<div class="nav-next"><?php next_post_smart('&laquo; %link', '%title', true, true); ?></div>
    			</div>
    <?php }
    add_action('thematic_navigation_above', 'childtheme_nav_above', 2);

    I hope that helps!

    – Jonah

    Thread Starter decoymer

    (@decoymer)

    Where in the functions.php do I add that? Also which one, the functions in the child theme or in parent theme? I tried adding it to the child theme and it ended up disabling my site.

    I also need help with this, and the above code unfortunately did not work for me. Any help would be greatly appreciated as this appears to be an amazing plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Smarter Navigation] Smarater Navigation used with Thematic theme’ is closed to new replies.