A few bits and bobs. (7 posts)

  1. NeilVodka
    Posted 11 years ago #

    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 -

  2. lbessant

    Posted 11 years ago #

    (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

  3. moshu
    Posted 11 years ago #

    (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...

  4. NeilVodka
    Posted 11 years ago #

    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?

  5. moshu
    Posted 11 years ago #

    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.

  6. NeilVodka
    Posted 11 years ago #

    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 :)

  7. moshu
    Posted 11 years ago #

    In theme editor it should be under Post Template name :)

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.