Chances are, you have added personal touches and tweaked your current WordPress blog’s theme and only to realise that there’s no author page included in your theme design. Ouch~!
With few easy steps, you should be able to create the author page on your current WordPress theme.
Step 1: Preparing the author.php file.
- A quick way to build up your author.php file is to duplicate it from other themes, most notably, the Twenty Eleven default theme. You are halfway there already!
- Navigate to your author page to see whether it works or not. In most cases, your author page is default at www.YOUR_DOMAIN.com/author/ADMIN. You can change your nickname from ADMIN to something else. See Step 2.
- Up to this point, you should be able to see all the details pumped out already except that the look and feel may be distorted, as the author.php file that you have is from other theme. Open up single.php of your own theme, replicate the html structure in there into your author.php. Replace everything in author.php except for the content between “<div id=”content” role=”main”>” and “</div><!– #content –>”.
Step 2: Picking your name (Optional)
Simply go to your WordPress database, and update the user_nicename field of your account. It should not affect any other functionality of the system.
Step 3 : To add visual editor/TinyMCE to your biography (Optional)
If you requires more than what the dull biography textarea has to offer, download this plugin – Visual Biography Editor and you will get the editor as good as what you get in the post editor.
HugoLim.com is now kicking using thememagic 1.4 by Manish Gori. Clean and simple is the way to go.
Love love love the clean, sleek, simple design!
- Change the fxxking ugly theme that you are seeing now. It’s so out of the trend now.
- Blog. Blog. Blog.
- Microblog is good but blogging is still much alive. Wait, this is not a thing to do!
- Remove photo album hosted in this site as Facebook is so damn powerful tool to share photos among family and friends. (read: privacy)
- Work on pet project (not telling you what the name is but it’s here somewhere) that would replace my dedicated photo blog residing at photo.hugolim.com
- Server migration . I got a darn stingy crappy hosting service right now.
Alright, one item down of the things to do. And oh my, finally I figured out that I can make use of my idle ToDoAlive account that I got since the beginning of time!
Just in case you decided to try other location tagging plug-in for your WordPress today.
I have developed a fairly simple data migration script so that you won’t need to go through the pain of re-adding latitude and longitude for the new plug-in in all your posts.
Essentially, you will need a bit knowledge on how to access your database administration. Typically, you will be using phpmyadmin to manage your WordPress database.
Here is how we do it.
- Go to your phpmyadmin
- Select your WordPress’s database, by default, it has a suffix/prefix of ‘WP’
- Click on the SQL tab
- Then, execute the following queries below.
Run this for its latitude…
insert into wp_postmeta (post_id,meta_key,meta_value) (select p.post_id, ‘_geotag_lat’, format(left(g.coord,instr(g.coord,’ ‘)-1), 5) lat from wp_postmeta p join wp_geopress g on p.meta_value = g.geopress_id where p.meta_key = ‘_geopress_id’);
And, run this query to retrieve the longitude…
insert into wp_postmeta (post_id,meta_key,meta_value) (select p.post_id, ‘_geotag_lon’ , format(right(g.coord,length(g.coord) – instr(g.coord,’ ‘)),5) lon from wp_postmeta p join wp_geopress g on p.meta_value = g.geopress_id where p.meta_key = ‘_geopress_id’);
I have migrated mine successfully. Hope it helps for you too!
You may have noticed the absence of updates over the past few days. I have been busy juggling with work (and repairing myself from sudden mood swing on the personal note), taking care of mylensdb.com, and designing a new brand new site!
I would like to call it, HugoLim Photography. It resides at photo.hugolim.com.
It has been years having my photography works blogged at this site and I’m feeling the need to have a dedicated one instead of mixing them with the rest of unrelated stuff like computers and geek-like programming junks.
How things started
I’m captivated by CNN’s Daily Snapshot website. It updates daily and show the most interesting event happened on the day. I like this idea. Thus, I’m thinking of its concept used to present its pictures.
photo.hugolim.com runs on WordPress as it’s backbone and not on dedicated photo gallery application.
However, there’s something real cool about this site (yes, pardon me for praising my own website). As you can see from the screen shot of photo.hugolim.com below, the placeholder of the biggest picture will change itself showing the latest pictures posted.
And for every one day or two, a new photo will be posted on this site.
And at the bottom of the page, we can see the latest posts with thumbnails of featured categories (eg, landscape, nature, travel and people).
With this, I proudly announce, photo.hugolim.com is open for business! I like it very much, it’s design is so much better than this blog (shame on me). I really hope that you like it too.