Make a to-do list in your Wordpress dashboard
Related Post:
Tags:
customization, list, php, todo, wordpressProductivity method:
ProductivityApplication:
If you are a blogger and need to keep track of some of your post ideas, but don’t really like writing drafts, let me show you a great way to store some notes. If you follow this tutorial, all you will really need is to be comfortable with writing notes in a text editor. In addition, if you are familiar with CSS you can do anything you like to your list, but this is not needed.
We will be modifying your index.php file, the one governing your admin, not the website itself. This file can be found in the wp-admin folder, simply named index.php. Download it and make sure to make a backup copy. Open up the file with a text editor, I prefer Notepad++, and search for the following line:
<p><?php _e(’Use these links to get started:’); ?></p>
You may notice, that this is the first line of your admin dashboard, so let’s put a to-do list above this. Now there are two ways you can go about this. You can either put the list right here, or you can write it in another file, and tell the page to call that file. Writing it here is fine, but you don’t want to go through all this code whenever you want to edit the list right? So let’s place it in a different file, to make it easily editable. Above the line we just searched for, type the following.
?php include(”todo.php”); ?>
This will tell your browser to load the contents of the file “todo.php” right here. All we have to do is create a new file, name it “todo.php”, edit it in whatever way we want, and upload it to the same folder that “index.php” is found in. First of all, create a new simple text document and save it, naming it todo.php naturally. Now we need to write the list, in the following form.
<ul>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
</ul>
Save the file and upload it, you should have a nice little list of things to do on your dashboard. It could be useful to jot down some long term things if you don’t feel comfortable editing this list all the time. If you think that rearranging and touching the list takes a long time try some of the advanced features of Notepad++, it can upload files directly to where you want it to, but more on this soon, in another article.
This article is part of the Wordpress customization series, with more to come, like skinning the admin interface, so be on the lookout for new parts. If you would like me to cover anything specific don’t be afraid to suggest.











PHP Coding School » Blog Archive » php tutorial [2008-03-16 20:03:16]'s Thoughts
at 8:12 pm
[...] Customize your Wordpress admin Part I - Make a to-do list in your … By Daniel If you follow this tutorial, all you will really need is to be comfortable with writing notes in a text editor. In addition, if you are familiar with CSS you can do anything you like to your list, but this is not needed. … Hack Your Day - http://hackyourday.com [...]
Sumesh's Thoughts
at 8:24 pm
OK, here are two customization requests. Don’t tell me I didn’t warn ya, you asked for it
1) A setup of custom fields (url, linktext and whether or not to use nofollow) that can be used to make link-out posts as seen on daringfireball.net and shawnblanc.net
This, together with a php if check for a particular category, can be used to style the linkposts differently, and make the title link to the original story rather than our blog post.
2)I made a bit of php code myself for url, linktext and nofollow for link posts, and the php bit goes after the_content tag. I put the php code in a ‘linked.php’ file in the theme folder, and used php include to call the file. I have styled it too. All I need is to place this bit of code in RSS feed. I’ve not yet explored rss files, but something tells me it won’t be easy for me. Any help from you will be appreciated.
PS: Fellow MUO author here….
Daniel's Thoughts
at 8:38 pm
Hi Sumesh!
I think you actually accomplished number 1 the only way I would know how. I am learning a lot though as I write these articles, so I may be able to help you further, and I may explore this topic in an upcoming post.
I haven’t looked into rss files yet either, but if I do I’ll let you know.
The problem with number 1 is that the links pointing out of the site aren’t easily identifiable, like in site posts, where you can use wordpress template tags. If you have a set number of blogs you link to, you could code it all in php, if there is one unique category for each blog.
If you have blogs randomly, it becomes a different question. I’m sure that you could create a custom field in your posts, paste the link there and with php point the link title to the url in that field. I don’t know exactly how to do this, but I’m sure its possible.
Customize your Wordpress admin Part I Make a to-do list in your Wordpress dashboard | Words Within's Thoughts
at 10:24 am
[...] looks to be a series coming from Daniel at Hack Your Day - stay tuned for more Wordpress tweaks! Share and Enjoy: These icons link to social bookmarking [...]
botchagalupe's Thoughts
at 2:47 am
Why not create a private page that is your todo list?
brarseted's Thoughts
at 7:19 am
Hello my friends

dashboard anywhere's Thoughts
at 10:06 pm
[...] [...]