How to create auto login in windows 7
Prior to 3.1, whenever we did a database query, and we wanted to limit the results to only posts tagged with “garden”, we were fine. But what if we wanted to display only posts tagged with “garden” AND categorized under “nature”. Well, we were out of luck.
But no more.
Setting it up is pretty simple. There is a new query_posts() parameter called “tax_query”.
tax_query is a new query function, which is really and array of arrays that specifies what to pull out of the database. Since that is a bit hard to understand by itself an example is probably helpful
Off course we all known that there’s lot tutorial and discussion about taxonomies and meta box, and from that i learned. And now i’m trying to create an album video of youtube for my client. Thats why i use taxonomies for author and album then meta box for Youtube ID. And this code is just for reminder of me because i have kind of sortem memory loss, hehe.
add_action('init', 'Narasumber');
function Narasumber() {
register_taxonomy(
'Narasumber',
'post',
array(
'hierarchical' => false,
'labels' => array(
'name' => __( 'Narasumber' ),
'singular_name' => __( 'Narasumber' ),
'search_items' => __( 'Search Narasumber' ),
'popular_items' => __( 'Popular Narasumber' ),
'all_items' => __( 'All Narasumber' ),
'edit_item' => __( 'Edit Narasumber' ),
'update_item' => __( 'Update Narasumber' ),
'add_new_item' => __( 'Add Narasumber' ),
'new_item_name' => __( 'New Narasumber' ),
'menu_name' => __( 'Narasumber' ),
'parent_item' => __('Parent Narasumber'),
'parent_item_colon' => __('Parent Narasumber:')
),
'query_var' => true,
'rewrite' => array('slug' => 'narasumber')
)
);
}
add_action('init', 'Album');
function Album() {
register_taxonomy(
'Album',
'post',
array(
'hierarchical' => false,
'labels' => array(
'name' => __( 'Album' ),
'singular_name' => __( 'Album' ),
'search_items' => __( 'Search Album' ),
'popular_items' => __( 'Popular Album' ),
'all_items' => __( 'All Album' ),
'edit_item' => __( 'Edit Album' ),
'update_item' => __( 'Update Album' ),
'add_new_item' => __( 'Add Album' ),
'new_item_name' => __( 'New Album' ),
'menu_name' => __( 'Album' ),
'parent_item' => __('Parent Album'),
'parent_item_colon' => __('Parent Album:')
),
'query_var' => true,
'rewrite' => array('slug' => 'album')
)
);
}
add_action("admin_init", "YoutubeID_init");
add_action('save_post', 'save_YoutubeID_info');
function YoutubeID_init(){
add_meta_box("YoutubeID-meta", "Youtube ID", "YoutubeID_meta_options", "post", "normal", "high");
}
function YoutubeID_meta_options(){
global $post;
$meta_info = get_post_custom($post->ID);
$YoutubeID = $meta_info["YoutubeID"][0];
echo '
Youtube ID here, example http://www.youtube.com/watch?v=i-MD3beQPwM :
';
}
function save_YoutubeID_info(){
global $post;
update_post_meta($post->ID, "YoutubeID", $_POST["YoutubeID"]);
}
And this is the preview.

The idea here is to give readers the ability to navigate around your site. You want organized content. You want content that’s linked together in meaningful ways. Custom taxonomies allow us to group our content in ways that simple categories and tags can’t
When we design our blogs, we tend to forget our visitors/users who’re following us with their feed readers. In this tutorial, we’re going to learn to “hack” our blog’s feed for a better feed reading experience for our users.
You need to get to ~/Library/Preferences/, you can get there with the Go to Folder (Command+Shift+G) option, or by the instructions below:
- Open your Home directory
- Open the “Library” folder
- Find and open the “Preferences” folder
Once you are in the proper folder:
- Locate “com.apple.LaunchServices.plist”
- Rename “com.apple.LaunchServices.plist” to “com.apple.LaunchServices-backup.plist” or just relocate it elsewhere (you can delete it completely if you aren’t worried about backups)
Now the next time you use the “Open With” menu it will only include current applications in the list. You may need to log in and out of your user account for changes to take effect.
We’ll focus on user specific data, so what we’ll see is:
- How to add extra registration fields
- How to add and remove profile fields
- Export the user data
- Bulk export users data
- Create a web history of the user
custom fields provide an excellent way to add flexible content to your posts and pages. By assigning various types of content to different custom fields, you gain complete control over when, where, and how to display the associated information. For example, sub-headings may be displayed in the sidebar, footnotes may be consolidated into a single region, post images may be displayed before the post title, and so on. In this follow-up article, we will review the basics of custom fields and then jump into a few custom-field tips and tricks.

