Noteworthy Plug-in Problems
-
HI all,
I activated the noteworthy plug-in and made some adjustments to my loop, yet the whole plug-in does not work. There is not even a new div, when I view the source of the output.
This is my loop:
(What do I have to change to make the noteworthy plug-in work?)
<?php rewind_posts(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if ( !(in_category('6')) ) { ?>
<div class="pagetitle">
<h1>
<?php if (is_category()) {
if (the_category_ID(false) != 6) { ?> <?php printf( __('Archive for the '%s' Category'), single_cat_title('', false)) ?> <?php } else echo single_cat_title(); ?>
<?php } elseif (is_day()) { ?>
<?php printf( __('Archive for %s'), get_the_time( __('F jS, Y')))?>
<?php } elseif (is_month()) { ?>
<?php printf( __('Archive for %s'), get_the_time( __('F, Y'))) ?>
<?php } elseif (is_year()) { ?>
<?php printf( __('Archive for %s'), get_the_time( __('Y'))) ?>
<?php } elseif (is_search()) { ?>
<?php printf( __('Search Results for '%s''), $s) ?>
<?php } elseif (is_author()) { ?>
<?php $post = $wp_query->post; $the_author = $wpdb->get_var("SELECT meta_value FROM $wpdb->usermeta WHERE user_id = '$post->post_author' AND meta_key = 'nickname'");
printf( __('Author Archive for %s'), $the_author ) ?>
<?php // } elseif (is_paged()) { ?>
<?php printf( __('Archive Page %s'), $paged ) ?>
<?php } ?>
</h1>
</div><h2 id="post-<?php the_ID(); ?>">
" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?>
THE NOTEWORTY STUFF STARTS HERE!!!:
<?php if(function_exists(’nw_noteworthyLink’)) { nw_noteworthyLink(); } ?>
</h2>
<small>
<?php if(function_exists(’nw_noteworthyIcon’)) { nw_noteworthyIcon(); } ?>
<?php
comments_popup_link('No Comments » ', '1 Comment » ', '% Comments » ');
if (function_exists('time_since')) {
echo "Posted " . time_since(abs(strtotime($post->post_date_gmt . " GMT")), time()) . " ago";
} else {
echo "Posted on ";
the_time('F jS, Y');
}
echo " in ";
if (function_exists('the_nice_category')) {
the_nice_category(', "', '" and "');
} else {
the_category(', ');
}
echo" by ";
the_author();
edit_post_link(__('Edit'), ' | <span class="editlink">','</span>');
?>
</small>
<div class="item">
<?php the_content('More ?'); ?>
</div>
<?php } ?>
<?php endwhile; else: ?>
<?php _e('Sorry, no posts matched your criteria.'); ?>
<?php endif; ?>
- The topic ‘Noteworthy Plug-in Problems’ is closed to new replies.