I am brand new to the world of blogs. I manage to set up my blog (www.valentinelegal.com/consumerblog) after several hours of working at it today but I can’t seem to figure out how to get my name and date/time to appear automatically when I post. Any suggestions would be greatly appreciated. Just a note: Compared to most of the posters on the this site, I am in preschool, so please give your advice in the simplest form possible. Thanks – Sonya
Just place the appropriate template tags inside the Loop.
<?php the_author(); ?>/*for author */
<?php the_time(); ?>/* for datetime */
I am in preschool,
Are you teaching or go to school there??
sonie3, to add to what alphaoide said, you’ll find “the Loop” in your index.php file of your theme, and, I believe, also in single.php. Open index.php in a text editor, such as notepad, and add the appropriate code (above) to those php files within “the Loop.” Save, then upload either via ftp or via your webhost’s filemanager into the proper directory on your site in ascii format.
Information on what “the Loop” is here:
I hope we got “preschool” enough for ya! Yell if we didn’t.
In preschool terms…icky. Why open in a text editor and ftp when you can just use the theme editor and avoid the possibility that a file gets corrupted in the process?
“Why open in a text editor and ftp when you can just use the theme editor and avoid the possibility that a file gets corrupted in the process?”
Uh, because there are times when you can’t? But it’s always a good suggestion, since most should be (technically) able to edit their files through it.
I’ve never used the theme editor. I’ve never used any editing capability in the program. I explained the way I do it that I know to work well.
Also, certain files need permissions reset to be written to anyway.
I looked in the index.php Both of the codes suggested are already there. Any other suggestions? And by preschool, I mean that this is all very, very new to me and I do not have a computer background.
What oriecat means is that in the root folder of your WP installation, there is an “index.php” file, but that’s not the one you need to look at.
In the folder where WP is installed you should see another folder named “wp-content” and inside that folder you should see another folder named “themes”, and inside that one, at least two theme folders: classic and default. The index.php file you need to look at is inside one of those folders (probably default, considering your previous posts). Find that index.php, and check for the code in it.
If you look at her site, she is definitely not using default (unless whoever made her theme just didn’t give it a new name…)
Edit – if you don’t know what theme you are using, log into your admin panel and go to Presentation, and it will show you the active theme.
- The topic ‘Help with signature needed’ is closed to new replies.