Tag: Links

  • Adding Meta Information to a Blogroll

    I found a useful blog post on how to add text fields to the “link management” admin menu in WordPress:  http://planetozh.com/blog/2008/02/wordpress-snippet-add_meta_box/ But how do you save this information into your database?  This is a three step approach. 1.  Add the fields to you database: add_action(‘activate_geo_blogroll.php’,’geo_blogroll_update_db’); function geo_blogroll_update_db(){ global $wpdb; $wpdb->query(“ALTER TABLE $wpdb->links ADD COLUMN link_city…