My portfolio plugin is coming soon. It’s almost done and in hope that it could help other people to publish their own works in personal blogs and websites, I decided to publish it a bit later to WordPress Plugins Directory. This plugin provides an ability to categorize your works into the tree structure and it gives an ability to include your works into multiple categories simultaneously. Continue reading…
Archive for the ‘WordPress’ Category
JAN 10
Cat2Calendar idea
Finally, I’ve been reworked wp-cat2calendar to something new, hope so you like it. (first picture)
Now it looks like something you’ve seen before on a different websites, it’s funny but not so much. This version is more compact and beautiful than before, now your posts (events) goes over calendar in a popup and this popup contains a post titles and excerpts. If you’re filled your post excerpt so it will be used in the popup otherwise excerpt will be generated automatically from the post content. Continue reading…
OCT 09
Show future posts in WP
Here is a code snippet I’ve made with the help of someone on the WP forums. I’ve also made a website which acts as a calender/overview for future posts by users.
A while later I will publish it as a plug-in which does the same trick. Continue reading…
OCT 09
Disable the WP autosave or revision feature.
These code snippets allows you to disable the autosave or revision function which are turned on by default in WP.
function disable_autosave() {
wp_deregister_script('autosave');
}
add_action( 'wp_print_scripts', 'disable_autosave' );
To disable the revision feature you should add this line somewhere in your wp-config.php:
define('WP_POST_REVISIONS', false);
