• Hi,
    All of my posts dooesn’t hava neither time neither author of post showing? How can I put that on?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • You add things like that to your theme’s files via the wonders of template_tags.

    Thread Starter rollback

    (@rollback)

    thanks, but which file should I open and change tag? Is that files single.php in
    \blog\wp-content\themes\default
    ?

    Thank you

    To learn which template file is used for what…
    http://codex.wordpress.org/Template_Hierarchy

    In general, “the loop” is where these things reside. Changing “the loop” is going to require some modest technical skill in editing html and php files, and I can’t tell from your post whether you’re at that level; as far as I know, there’s no control panel to just check a box to turn these things on and off. If you’re not a coder and not capable of becoming one, you may be out of luck on this question.

    Okay, all that being said, moshu’s reference links are the best place for more in-depth information, but here’s a quick tip to get you started:

    Inside “the loop” in your single post template, add the following two lines of code:


    <?php the_time('F jS, Y'); ?>
    <?php the_author(); ?>

    For starters, just go ahead and add those two lines right after the “the_title” php code, and then save and view your site — you should see the author and time. Now, you can go back to your single post template and move them to another spot where you like them better.

    Once you’re feeling like you’ve got that under your belt, look up more information on these and other template tags in the “template tags” link that moshu shared, to see how you can modify their display, and also to see examples at work.

    Best of luck!

    Thread Starter rollback

    (@rollback)

    Thank you scormeny, your advice worked. When I browse through single posts, everyting is OK.
    But my first problem is still there: I need author and time on index page on every post…

    but now I will manage…

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Posts withouts time (only date) and without creator’ is closed to new replies.