Thread Starter
Claude
(@claudelostmyths)
For example, tried copying the full code found at:
http://plugins.trac.wordpress.org/browser/smarter-navigation/trunk/template-tags.php
and I got this error message:
Fatal error: Cannot redeclare previous_post_smart() (previously declared in /home/*******/public_html/******/wp-content/plugins/smarter-navigation/template-tags.php:5) in /home/*******/public_html/******/wp-content/themes/calotropis/includes/template.php
I did not get this error message when I put the simpler code:
<div class=”nav-previous”><?php previous_post_smart(‘« %link’, ‘%title’, true, true); ?></div>
<div class=”nav-next”><?php next_post_smart(‘%link »’, ‘%title’, true, true); ?></div> — but I really need the get_referrer_category() function. That’s why I’m getting this plugin. I really hope I can make it work!
Thank you.