I have added in some fade in and out effect when you rate the post =D
WP-Sticky New Ideas
I was thinking of not using the wp_postmeta table to tell where a post is sticky or not. Instead, I will use a new table called wp_poststicky to denotes all posts sticky status. Whenever you create a new post, a new row will be created in the wp_poststicky table.
0 will denote normal posts
1 will denote sticky posts
2 will denote announcement post.
Now I need to explain what is the difference between sticky posts and announcements posts.
Currently sticky posts are posts which will appear at the top of the page, I will change that name to be called announcement posts instead.
Now sticky posts will be referred as posts that will only stay on top of all the posts which is posted on the same day as the sticky post. My command of English is not that good, hope you are understand what I mean with the following example:
Announcement
– Post 5 (Announcement Post)
29th March 2007
– Post 6
– Post 7
– Post 8
28th March 2007
– Post 4 (Sticky Post)
– Post 1
– Post 2
– Post 3
As you can see, Post 4 is a sticky post and it will stay on top of all posts that is posted on 28th March 2007 ONLY, posts that are posted after 28th March 2007 (eg. 29th March 2007) will still be on top of the sticky post that is posted on 28th March 2007.
But for Post 5, which is an announcement post, it will stay on top of all posts.
Think of it as a feature in forum softwares in which announcement will appear in all forums and sticky topics will only appear in a particular forum.
This feature will be in the final version of WP-Sticky 1.00. Other features planned for future versions include auto un-announce, auto un-sticky posts after a certain number of days of date.
*UPDATED* 3rd December 2007
Uncle Bubba wrote:
When you login and write/manage a post you’ll see “Post Sticky Status” down in the lower right hand corner. There are three options “Announcement”, “Sticky”, and “None”. Announcement makes a post always on top no matter what. Sticky keeps it at the top of that day’s posts. So, say you made 4 posts on Wednesday and made one sticky, the sticky one would stay on top of Wednesday’s posts. If you then make a post on Thursday it will appear on top of all of Wednesday’s posts but underneath the Announcement post.
New WP_Widget Class In WordPress 2.8
In WordPress 2.8, there is a new WP_Widget class, which personally I like it very much as now the multi-instances of widgets is handled by WordPress, all you need to do is just to extends the WP_Widget class and overwrite 3 of the functions namely widgets(), update() and form();
Below is a sample code taken from my WP-Polls that displays Polls Widget. It is tested and it works perfectly. Hope it is useful for plugin authors.
__('Put a poll that you have added in WP-Polls on your sidebar', 'wp-polls'));
$this->WP_Widget('polls', __('Polls'), $widget_ops);
}
// Display Widget
function widget($args, $instance) {
extract($args);
$title = esc_attr($instance['title']);
$poll_id = intval($instance['poll_id']);
$display_pollarchive = intval($instance['display_pollarchive']);
echo $before_widget.$before_title.$title.$after_title;
get_poll($poll_id);
if($display_pollarchive) {
display_polls_archive_link();
}
echo $after_widget;
}
// When Widget Control Form Is Posted
function update($new_instance, $old_instance) {
if (!isset($new_instance['submit'])) {
return false;
}
$instance = $old_instance;
$instance['title'] = strip_tags($new_instance['title']);
$instance['poll_id'] = intval($new_instance['poll_id']);
$instance['display_pollarchive'] = intval($new_instance['display_pollarchive']);
return $instance;
}
// DIsplay Widget Control Form
function form($instance) {
global $wpdb;
$instance = wp_parse_args((array) $instance, array('title' => __('Polls', 'wp-polls'), 'poll_id' => 0, 'display_pollarchive' => 1));
$title = esc_attr($instance['title']);
$poll_id = intval($instance['poll_id']);
$display_pollarchive = intval($instance['display_pollarchive']);
?>
WordPress 4.9 Released
WordPress 4.9 has been released.
What’s New
- Customizer Workflow Improved
- Coding Enhancements
- Even More Widget Updates
- Site Building Improvements
- Customizer JS API Improvements
- CodeMirror available for use in your themes and plugins
- MediaElement.js upgraded to 4.2.6
- Roles and Capabilities Improvements
Download: WordPress 4.9
WordPress 3.1 Beta 1
WordPress 3.1 Beta 1 has been released!
Snippet:
If all goes well, we hope to release WordPress 3.1 to the world at large by the end of the year, though that is (as always) subject to change/dependent on how the beta period goes. The more help we get with testing and fixing bugs, the sooner we will be able to release the final version.
Some of the new features to check out include:
- Post Formats (#14746)
- Theme Search (#14936)
- Internal Linking (#11420)
- Admin Bar (#14772)
- Ajaxified Admin (#14579)
- Updated Tiny MCE (#12574)
- Multi-taxonomy Queries (#12891)
- Custom Post Type Index Pages (#13818)
- Admin CSS Cleanup (#14770)
- User Admin (#14696)
- Network Admin (#14435)
- Password Reset Redux (#5919)
There are also some known issues: things that aren’t *quite* finished, but that weren’t worth holding up the beta release. They will be fixed before 3.1 is released for general use. Note that as things get fixed, the beta release will update nightly. What you should know:
- Fatal error: Call to a member function is_page() on a non-object in /wp-includes/query.php. is_page() may be any conditional tag. This issue occurs when a theme or plugin is doing something wrong. Some code is checking the value of a conditional tag before we actually set up the Query, which means they don’t work yet. In 3.0, they silently failed and always returned false. In 3.1 Beta 1, this is throwing a fatal error. This will be handled in the final release, so use this opportunity to fix your plugins. (#14729)
- All known issues slated for fixing before launch are listed in Trac. Please check this list to see if a bug is already on the list before reporting it.
Download: WordPress 3.1 Beta 1


(283 votes, average: 3.89 out of 5)