Thursday, June 14, 2007
Tuesday, February 27, 2007
Calling out for Flickr API fans
If you think you enjoy playing around with API of different online
services, have you tried out Flickr's API?
I'm looking for a particular Flickr hack, to display slideshow on a website.
Wednesday, January 03, 2007
WP List Pages - Seigey
This is a wordpress plugin, it's purpose is to create pages navigation using the wp_list_pages() function that includes dynamic menu highlighting of all parent pages. By simply adding "current_parent" into the css of all parent pages, it is hence possible to highlight the parent of the current page. While on current pages, a css tag of "current_page_item" will be added.
Click here for a simple example.
To install this plugin:
- Download this plugin.
- Upload this plugin to "wp-content/plugins" folder.
- Go to "Plugin Management" and activate it.
To uninstall this plugin:
- Go to "Plugin Management" and deactivate it.
Compatible with Wordpress 2.0 and above.
To run the plugin, insert the following code into "sidebar.php" or "header.php":
<ul>
<?php if ( function_exists(wp_list_pages_seigey) ) wp_list_pages_seigey('sort_column=menu_order' ); ?>
</ul>
Please note that all queries are the same as those in wp_list_pages(). For example: sort_column, exclude, depth, title_li,
Technorati: CMS, header.php, ID, menu_order, pages, PHP, Plugin Management, plugins, posts, scripts, sidebar.php, sort_column, static, title_li, wordpress, wp_list_pages, wp-admin, wp-content
Monday, November 13, 2006
Listing Page Management by menu order (Wordpress)
What does it do?
Changing the ID column into Page Order (menu_order) column in Page Management. Note: this is not a wordpress plugin although there are plans to make it so.
Why is this made?
The Wordpress Page Management list each page along with its ID, Title, Owner, Updated details and editing buttons. However more often that not I find there's a need to see the Page Order when sorting pages out and I feel that instead of listing the Page ID, the Page Order will be more useful.
How to change it?
There are three parts to change in two different pages:
- wp-admin/edit-pages.php
Find this on line 34:<th scope="col"><?php _e('ID') ?></th>
Replace with this:<th scope="col"><!-- 061114 Seige --><?php _e('Order') ?></th>
Find this on line 47:<th scope="col"><?php echo $post->ID; ?></th>
Replace with this:<th scope="col"><!-- 061114 Seige --><?php echo $post->menu_order; ?></th>
- wp-admin/admin-functions.php
Find this on line 638:<th scope="col"><?php echo $post->ID; ></th>
Replace with this:<th scope="col"><!-- 061114 Seige --><?php
if ($post->post_status == 'static') {
echo $post->menu_order;
} else {
echo $post->ID;
}
?><!-- 061114 Seige --></th>
And now you can easily make changes to page order whenever you want to add new pages.
Sunday, November 12, 2006
Don't hide the truth, Blogdrive
I don't think that moving forum topics to the Romper Room is doing the members any justice. Although they are a little hot on fire but they are still serious topics talking about real issues that concerns the welfare of Blogdrive members. They don't deserve to be in the Romper Room because they are not ill-mannered or arguing for the sake of arguing.
- Still no updates ....
- Count to ten and remain calm... I SAID REMAIN CALM.
- Pages aren't showing.
[ Goto page: 1, 2, 3 ] - My recent entries are not updating itself
[ Goto page: 1 ... 4 , 5 , 6 ] - New blog entry won't update??? Frequent Blogdrive error mess
- OMG WHERE'S MY POST I'M MOVING TO BLOGGER LOLZ!!11
[ Goto page: 1 , 2 , 3 , 4 ]
Please reconsider this and move them back to where they really belong.
Technorati: angry, blogdrive, blogger, complaints, Customer Services, downtime, Forum, truth, update