Wow thank you so very much vtx.
that is way beyond what I ever would’ve come up with on my own hahaha.
Thank you so much for your help .
butttt… maybe i did something wrong. but it’s not quite working.
take a look if you’d be so kind: https://dev.bloginity.com/blog/2010/06/01/155/
here is my functions.php (i added in the code you supplied me):
<?php
# This theme supports gettext
function theme_init(){
load_theme_textdomain('Transcript', get_template_directory() . '/languages');
}
add_action ('init', 'theme_init');
# Define Theme Content Wrapper Width
$GLOBALS['content_width'] = 500;
# Define Includes Path */
$gab_includes = TEMPLATEPATH . '/includes/';
#this theme support post thumbnails
add_theme_support('post-thumbnails');
#This theme supports custom navigation
if ( function_exists('wp_nav_menu') ) {
add_theme_support( 'nav-menus' );
}
# Load theme Javascripts into the wp_head
require_once ($gab_includes . 'theme-js.php');
# Register widget zones
require_once ($gab_includes . 'register-widget-zones.php');
# Theme Functions
require_once ($gab_includes . 'theme-functions.php');
# Theme Plugins
require_once ($gab_includes . 'theme-plugins.php');
# Theme Control Panel
require_once ($gab_includes . 'theme-control-panel.php');
# Load customized comments template
require_once ($gab_includes . 'theme-comments.php');
# Load theme thumbnails
require_once ($gab_includes . 'theme-thumbnails.php');
# Load theme variables
require_once ($gab_includes . 'theme-variables.php');
# Author
function mam_post_link_nofollow ($link) {
global $mam_set_nofollow;
if ($mam_set_nofollow) $link = str_replace('dofollow','nofollow',$link);
return $link;
}
add_filter('previous_post_link','mam_post_link_nofollow');
add_filter('next_post_link','mam_post_link_nofollow');
function contributors() {
global $wpdb;
$authors = $wpdb->get_results("SELECT * from $wpdb->usermeta WHERE meta_key = 'wp_capabilities' AND meta_value = 'a:1:{s:6:\"author\";b:1;}'");
foreach ( (array) $authors as $author ) {
$author = get_userdata( $author->user_id );
$userlevel = $author->wp2_user_level;
echo "<li>";
echo "<a href=\"".get_bloginfo('url')."/?author=";
echo $author->ID;
echo "\">";
echo get_avatar($author->ID);
echo "</a>";
echo '<div>';
echo "<a href=\"".get_bloginfo('url')."/?author=";
echo $author->ID;
echo "\">";
the_author_meta('display_name', $author->ID);
echo "</a>";
echo "</div>";
echo "</li>";
}
}
and here the relevant code i have in single.php:
<?php get_header(); ?>
<?php include (TEMPLATEPATH . '/innerNarrowSidebar.php'); ?>
<div id="innerLeft">
<?php $mam_set_nofollow = true; ?>
<div class="singlepostnavwrap">
<div class="singlepostnav">
<?php previous_post_link('%link', '« PREV ARTICLE ', TRUE); ?>
</div>
<div class="singlepostnav2">
<?php next_post_link('%link', 'NEXT ARTICLE »', TRUE); ?>
</div>
</div><!--//SINGLEPOSTNAVWRAP-->
<?php $mam_set_nofollow = true; ?>
<div id="clear"></div>
<div class="post">
.
.
.
i believe i have followed your directions correctly?
but it is not working.
when i view source this is what i see:
<div class="singlepostnavwrap">
<div class="singlepostnav">
<a href="https://dev.bloginity.com/blog/2010/05/31/thumbnail-test/" rel="prev">« PREV ARTICLE </a></div>
<div class="singlepostnav2">
<a href="https://dev.bloginity.com/blog/2010/06/25/john-legend-musical-powerhouse-and-the-roots/" rel="next">NEXT ARTICLE »</a></div>
</div><!--//SINGLEPOSTNAVWRAP-->
perhaps it is because it is already calling ‘rel=prev’?
??
thanks so very much for your help again.