Support » Themes and Templates » A few bits and bobs.

  • Hey guys,

    Im using a modified Kubric layout. Can anyone help me with the following?

    (a) How do i get the time to show next to the posted date?

    (b) Is it possible to edit the comments page so that it appears on the white (like a regular post) and have the sidebar appear?

    (c) Is it possible to add a Home button to the pages menu?

    Any help you guys give me would be great. The site is –

Viewing 6 replies - 1 through 6 (of 6 total)
  • (a) I use <?php the_time('l, jS F Y g:i a') ?> in place of the default theme’s <?php the_time('F jS, Y') ?>. This gives dates like this:

    Saturday, 2nd April 2005 11:23 pm

    See The Codex for more on formatting dates.

    Or if you just want the parameters, see the PHP documentation

    (b) Note: “page” or Page has a special meaning in WP, so let’s not use it when it comes to posts.
    The way your single posts appear (i.e. when clicking on the title or the comments link of a post!) depends on what is in your single.php template. Kubrick has single.php template so you can take a peek how it was done. Same for the sidebar: it has to be called in order to appear.

    (c) On your Pages (About, contact) there IS a Home link.

    P.S. Here is a visual aid to demonstrate how templates work…

    Thanks folks, got the time format up and running. for some reason the home button isnt inline with the rest of the links down the sidebar.

    In order to format the comments like the rest of the layout it will involve editing the css right?

    When you say “button” you mean text-link, don’t you? 🙂
    I guess you should add an additional ul li to it.

    About the comments (single post) read again my previous post.

    for some reason the single.php file doesnt show up in the theme editor window, however it is on the server.

    I guess im going to have to watch my wording around here as yes, i do mean text link 🙂

    In theme editor it should be under Post Template name 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A few bits and bobs.’ is closed to new replies.