Adding the calendar in WordPress
This is the info…
http://codex.wordpress.org/Template_Tags/get_calendar
but to save you all from having to go to a different page, I shall explain it here.
You simply need to add a line of PHP code to the template. The code is:
< ?php get_calendar() ? >
The steps:
1. Go to the admin section of WordPress.
2. Presentation
3. Theme Editor
4. Sidebar
5. Find where this part of the code is:
< ?php wp _list_pages('title_li=< h2>Pages< /h2>' ); ? >
< li>< h2>Archives< /h2>
< ul>
< ?php wp _get_archives('type=monthly'); ? >
< /ul>
< /li>
6. and add the calendar code before the wp_list_pages junk.
7. update the page and BANG! You’ve got a calendar.
*Be aware, I had to add some spaces in the above code so that it would show up properly.
Popularity: 7% [?]
5 Comments to Adding the calendar in WordPress
Hey Ammon–
Can you give me that code for uploading/downloading in Terminal? I got a taste of the power and I want to exploit it! Thanks!
Meagan
Surely!
But here is a link to a good reference for a bunch more commands (they’re called commands on a terminal, instead of code
).
The command to securely copy files from one computer to the other is ’scp’, and it takes the format
So an example would be:
That would copy recursively (-r) all files and directories located in the directory named stuff which is in the home directory ( ~ ) on somecomp.com (this can be a domain name or IP number), to the local computer in the directory Documents.
To copy a file from the local puter to the server, just switch the last to options.
February 1, 2006
Thanks, you rule all.
thanks! running to try it now… will let you know if/how it works.
worked perfectly…. thanks again
February 1, 2006