[New Plugin] Noteworthy
-
I’ve just relased the Noteworthy plugin – it basically uses a category to allow you to mark posts as noteworthy. An icon appears under a noteworthy post, as well as a set/unset link (when logged in). You can grab a copy here:
https://webdeveloper.uk.com/noteworthy
Feel free to send me any constructive feedback.
-
I really want to use this, but does it work with 2.0?
Does this work with K2? Is it much better than K2?
Ok when editing the index page I don’t have a </small> in it so where do I post the second part? Here is my index:
<?php get_header(); ?>
<!– Begin Bush Ribbon Code –>
<script type=”text/javascript” src=”https://news.blogtemps.com/whiteband_small_right.js” >
</script>
<noscript>
IMPEACH GEORGE BUSH!!
</noscript>
<!– End Bush Ribbon Code –><div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2 class=”posttitle”> ” rel=”bookmark” title=”<?php _e(‘Permanent link to’); ?> <?php the_title(); ?>”><?php the_title(); ?></h2><?php if(function_exists(’nw_noteworthyLink’)) { nw_noteworthyLink(); } ?><!– StatisticsCounter v:2.4.0 –>
<script type=”text/javascript”><!–
bd = “https://counter.blogexplosion.com/counter.php?id=154”;
ur = bd+”&w=”+screen.width+”&r=”+escape(document.referrer)+”&u=”;
ur += escape(document.location)+”&t=”+escape(document.title);
ur += “&java=1″+”&sc_random=”+Math.random();
document.write(‘<img src=”‘+ur+'” height=1 width=1 border=”0″>’);
//–></script>
<noscript><img src=”https://counter.blogexplosion.com/counter.php?id=154″ alt=”Get your own 100% FREE blog counter at LIVEBlogStats.com!” height=1 width=1 border=0></noscript>
<!– StatisticsCounter –><p class=”postdate”>
<?php the_time(‘F jS, Y’) ?> <?php _e(‘at’); ?> <?php the_time() ?>
(<?php the_category(‘, ‘) ?>)
<?php edit_post_link(__(‘Edit’),’ · ‘,”); ?><div class=”postentry”>
<?php the_content(__(‘Read the rest of this entry »’)); ?>
</div><?php if(function_exists(’nw_noteworthyIcon’)) { nw_noteworthyIcon(); } ?>
<p class=”postmeta”>
<?php comments_popup_link(‘Comments’, ‘1 Comments’, ‘% Comments’); ?></div>
<?php endwhile; ?>
<?php posts_nav_link(”, __(”), __(‘« Previous entries’)); ?>
<?php posts_nav_link(‘ · ‘, __(”), __(”)); ?>
<?php posts_nav_link(”, __(‘Next entries »’), __(”)); ?><?php else : ?>
<h2 class=”posttitle”><?php _e(‘Not Found’); ?></h2>
<?php _e(‘Sorry, but no posts matched your criteria.’); ?>
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?><?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
@ch0de
Yes, I developed it under 2.0. I havented tested it with 2.1 yet.@himuse
I’d put it (if I’m reading your code correctly) after the line:
<?php if(function_exists(’nw_noteworthyIcon’)) { nw_noteworthyIcon(); } ?>I can’t see your blog (I get a 403 Error) so I can’t tell for sure.
=C=
My site his https://fragilemusings.net and it should be accessible.
Here is the code again without any of the noteworthy parts in it:
<div id=”content”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2 class=”posttitle”> ” rel=”bookmark” title=”<?php _e(‘Permanent link to’); ?> <?php the_title(); ?>”><?php the_title(); ?></h2>
<!– StatisticsCounter v:2.4.0 –>
<script type=”text/javascript”><!–
bd = “https://counter.blogexplosion.com/counter.php?id=154”;
ur = bd+”&w=”+screen.width+”&r=”+escape(document.referrer)+”&u=”;
ur += escape(document.location)+”&t=”+escape(document.title);
ur += “&java=1″+”&sc_random=”+Math.random();
document.write(‘<img src=”‘+ur+'” height=1 width=1 border=”0″>’);
//–></script>
<noscript><img src=”https://counter.blogexplosion.com/counter.php?id=154″ alt=”Get your own 100% FREE blog counter at LIVEBlogStats.com!” height=1 width=1 border=0></noscript>
<!– StatisticsCounter –><p class=”postdate”>
<?php the_time(‘F jS, Y’) ?> <?php _e(‘at’); ?> <?php the_time() ?>
(<?php the_category(‘, ‘) ?>)
<?php edit_post_link(__(‘Edit’),’ · ‘,”); ?><div class=”postentry”>
<?php the_content(__(‘Read the rest of this entry »’)); ?>
</div><?php if(function_exists(’nw_noteworthyIcon’)) { nw_noteworthyIcon(); } ?>
<p class=”postmeta”>
<?php comments_popup_link(‘Comments’, ‘1 Comments’, ‘% Comments’); ?></div>
<?php endwhile; ?>
<?php posts_nav_link(”, __(”), __(‘« Previous entries’)); ?>
<?php posts_nav_link(‘ · ‘, __(”), __(”)); ?>
<?php posts_nav_link(”, __(‘Next entries »’), __(”)); ?><?php else : ?>
<h2 class=”posttitle”><?php _e(‘Not Found’); ?></h2>
<?php _e(‘Sorry, but no posts matched your criteria.’); ?>
<?php include (TEMPLATEPATH . ‘/searchform.php’); ?><?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Nevermind it appears I finally got it.
Sorry I did not respond. I try to check the forums regularly but I was a slacker today. If you run into any other problems, feel free to contact me via email.
Glad you got it working.
=C=
Hi all. Not that it really bothers me, but for accuracy’s sake I feel I should inform you that @calevans did NOT in fact create the Noteworthy plugin this thread refers to. I know this because I created it – hence my initial post.
I have had several requests for a release of the plugin that works with WordPress 2.0 and am currently investigating this. I should be releasing a new version in the near future and you’ll be able to grab a copy from https://webdeveloper.uk.com/noteworthy – so watch that space.
- The topic ‘[New Plugin] Noteworthy’ is closed to new replies.